diff --git a/Makefile b/Makefile index f9c20c98..e721b444 100644 --- a/Makefile +++ b/Makefile @@ -156,8 +156,15 @@ dev_check: ## Starts the development dnscheck service. docker exec -it dnscheck make gow gen_python_client: ## Generates the python client from swagger spec (renamed to moddns_client, package moddns). - rm -rf tests/moddns_client/ || true - docker run -v ${CWD}:/app -w /app/api/docs --user $$(id -u):$$(id -g) --rm openapitools/openapi-generator-cli generate --package-name moddns -i swagger.yaml -g python -o /app/tests/moddns_client --skip-validate-spec + rm -r tests/moddns_client/ || true + docker run -v ${CWD}:/app -w /app/api/docs --user $$(id -u):$$(id -g) --rm -it openapitools/openapi-generator-cli generate \ + --package-name moddns \ + -i swagger.yaml \ + -g python \ + -o /app/tests/moddns_client \ + --skip-validate-spec \ + -p generateSourceCodeOnly=true \ + --global-property models,apis,supportingFiles,apiTests=false,modelTests=false,apiDocs=false,modelDocs=false gen_ts_client: ## Generates the typescript client from swagger spec. rm -rf app/src/api/client/ || true diff --git a/tests/moddns_client/.github/workflows/python.yml b/tests/moddns_client/.github/workflows/python.yml deleted file mode 100644 index 315594f2..00000000 --- a/tests/moddns_client/.github/workflows/python.yml +++ /dev/null @@ -1,31 +0,0 @@ -# NOTE: This file is auto generated by OpenAPI Generator. -# URL: https://openapi-generator.tech -# -# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - -name: moddns Python package - -on: [push, pull_request] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - - steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r test-requirements.txt - - name: Test with pytest - run: | - pytest --cov={{packageName}} diff --git a/tests/moddns_client/.gitignore b/tests/moddns_client/.gitignore deleted file mode 100644 index 43995bd4..00000000 --- a/tests/moddns_client/.gitignore +++ /dev/null @@ -1,66 +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/ -.venv/ -.python-version -.pytest_cache - -# Translations -*.mo -*.pot - -# Django stuff: -*.log - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -#Ipython Notebook -.ipynb_checkpoints diff --git a/tests/moddns_client/.gitlab-ci.yml b/tests/moddns_client/.gitlab-ci.yml deleted file mode 100644 index 6f2b4199..00000000 --- a/tests/moddns_client/.gitlab-ci.yml +++ /dev/null @@ -1,31 +0,0 @@ -# NOTE: This file is auto generated by OpenAPI Generator. -# URL: https://openapi-generator.tech -# -# ref: https://docs.gitlab.com/ee/ci/README.html -# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml - -stages: - - test - -.pytest: - stage: test - script: - - pip install -r requirements.txt - - pip install -r test-requirements.txt - - pytest --cov=moddns - -pytest-3.8: - extends: .pytest - image: python:3.8-alpine -pytest-3.9: - extends: .pytest - image: python:3.9-alpine -pytest-3.10: - extends: .pytest - image: python:3.10-alpine -pytest-3.11: - extends: .pytest - image: python:3.11-alpine -pytest-3.12: - extends: .pytest - image: python:3.12-alpine diff --git a/tests/moddns_client/.openapi-generator/FILES b/tests/moddns_client/.openapi-generator/FILES index 5d1e39d8..815be53f 100644 --- a/tests/moddns_client/.openapi-generator/FILES +++ b/tests/moddns_client/.openapi-generator/FILES @@ -1,96 +1,4 @@ -.github/workflows/python.yml -.gitignore -.gitlab-ci.yml .openapi-generator-ignore -.travis.yml -README.md -docs/AccountApi.md -docs/ApiBlocklistsUpdates.md -docs/ApiCreateProfileBody.md -docs/ApiErrResponse.md -docs/ApiRegisterAccountBody.md -docs/ApiServicesUpdates.md -docs/ApiVerifyEmailOTPBody.md -docs/ApiWebAuthnLoginBeginRequest.md -docs/ApiWebAuthnRegisterBeginRequest.md -docs/AppleMobileconfigApi.md -docs/AuthenticationApi.md -docs/BlocklistsApi.md -docs/ModelAccount.md -docs/ModelAccountUpdate.md -docs/ModelAdvanced.md -docs/ModelBlocklist.md -docs/ModelCredential.md -docs/ModelCustomRule.md -docs/ModelDNSRequest.md -docs/ModelDNSSECSettings.md -docs/ModelLogsSettings.md -docs/ModelMFASettings.md -docs/ModelPrivacy.md -docs/ModelProfile.md -docs/ModelProfileSettings.md -docs/ModelProfileUpdate.md -docs/ModelQueryLog.md -docs/ModelRetention.md -docs/ModelSecurity.md -docs/ModelStatisticsAggregated.md -docs/ModelStatisticsSettings.md -docs/ModelSubscription.md -docs/ModelSubscriptionStatus.md -docs/ModelTOTPBackup.md -docs/ModelTOTPNew.md -docs/ModelTotpSettings.md -docs/PASessionApi.md -docs/ProfileApi.md -docs/ProtocolAttestationFormat.md -docs/ProtocolAuthenticatorAttachment.md -docs/ProtocolAuthenticatorSelection.md -docs/ProtocolAuthenticatorTransport.md -docs/ProtocolConveyancePreference.md -docs/ProtocolCredentialAssertion.md -docs/ProtocolCredentialCreation.md -docs/ProtocolCredentialDescriptor.md -docs/ProtocolCredentialMediationRequirement.md -docs/ProtocolCredentialParameter.md -docs/ProtocolCredentialType.md -docs/ProtocolPublicKeyCredentialCreationOptions.md -docs/ProtocolPublicKeyCredentialHints.md -docs/ProtocolPublicKeyCredentialRequestOptions.md -docs/ProtocolRelyingPartyEntity.md -docs/ProtocolResidentKeyRequirement.md -docs/ProtocolUserEntity.md -docs/ProtocolUserVerificationRequirement.md -docs/QueryLogsApi.md -docs/RequestsAccountDeletionRequest.md -docs/RequestsAccountUpdates.md -docs/RequestsAdvancedOptionsReq.md -docs/RequestsConfirmResetPasswordBody.md -docs/RequestsCreateProfileCustomRuleBody.md -docs/RequestsCreateProfileCustomRulesBatchBody.md -docs/RequestsLoginBody.md -docs/RequestsMobileConfigReq.md -docs/RequestsPASessionReq.md -docs/RequestsProfileUpdates.md -docs/RequestsResetPasswordBody.md -docs/RequestsRotatePASessionReq.md -docs/RequestsTotpReq.md -docs/RequestsWebAuthnReauthBeginRequest.md -docs/ResponsesCreateProfileCustomRulesBatchResponse.md -docs/ResponsesCustomRuleBatchCreated.md -docs/ResponsesCustomRuleBatchSkipped.md -docs/ResponsesDeletionCodeResponse.md -docs/ResponsesRegistrationSuccessResponse.md -docs/ResponsesShortLinkResponse.md -docs/ResponsesWebAuthnReauthFinishResponse.md -docs/ServicesApi.md -docs/ServicescatalogCatalog.md -docs/ServicescatalogService.md -docs/SessionsApi.md -docs/StatisticsApi.md -docs/SubscriptionApi.md -docs/VerificationApi.md -docs/WebauthncoseCOSEAlgorithmIdentifier.md -git_push.sh moddns/__init__.py moddns/api/__init__.py moddns/api/account_api.py @@ -184,98 +92,5 @@ moddns/models/responses_web_authn_reauth_finish_response.py moddns/models/servicescatalog_catalog.py moddns/models/servicescatalog_service.py moddns/models/webauthncose_cose_algorithm_identifier.py -moddns/py.typed moddns/rest.py -pyproject.toml -requirements.txt -setup.cfg -setup.py -test-requirements.txt -test/__init__.py -test/test_account_api.py -test/test_api_blocklists_updates.py -test/test_api_create_profile_body.py -test/test_api_err_response.py -test/test_api_register_account_body.py -test/test_api_services_updates.py -test/test_api_verify_email_otp_body.py -test/test_api_web_authn_login_begin_request.py -test/test_api_web_authn_register_begin_request.py -test/test_apple_mobileconfig_api.py -test/test_authentication_api.py -test/test_blocklists_api.py -test/test_model_account.py -test/test_model_account_update.py -test/test_model_advanced.py -test/test_model_blocklist.py -test/test_model_credential.py -test/test_model_custom_rule.py -test/test_model_dns_request.py -test/test_model_dnssec_settings.py -test/test_model_logs_settings.py -test/test_model_mfa_settings.py -test/test_model_privacy.py -test/test_model_profile.py -test/test_model_profile_settings.py -test/test_model_profile_update.py -test/test_model_query_log.py -test/test_model_retention.py -test/test_model_security.py -test/test_model_statistics_aggregated.py -test/test_model_statistics_settings.py -test/test_model_subscription.py -test/test_model_subscription_status.py -test/test_model_totp_backup.py -test/test_model_totp_new.py -test/test_model_totp_settings.py -test/test_pa_session_api.py -test/test_profile_api.py -test/test_protocol_attestation_format.py -test/test_protocol_authenticator_attachment.py -test/test_protocol_authenticator_selection.py -test/test_protocol_authenticator_transport.py -test/test_protocol_conveyance_preference.py -test/test_protocol_credential_assertion.py -test/test_protocol_credential_creation.py -test/test_protocol_credential_descriptor.py -test/test_protocol_credential_mediation_requirement.py -test/test_protocol_credential_parameter.py -test/test_protocol_credential_type.py -test/test_protocol_public_key_credential_creation_options.py -test/test_protocol_public_key_credential_hints.py -test/test_protocol_public_key_credential_request_options.py -test/test_protocol_relying_party_entity.py -test/test_protocol_resident_key_requirement.py -test/test_protocol_user_entity.py -test/test_protocol_user_verification_requirement.py -test/test_query_logs_api.py -test/test_requests_account_deletion_request.py -test/test_requests_account_updates.py -test/test_requests_advanced_options_req.py -test/test_requests_confirm_reset_password_body.py -test/test_requests_create_profile_custom_rule_body.py -test/test_requests_create_profile_custom_rules_batch_body.py -test/test_requests_login_body.py -test/test_requests_mobile_config_req.py -test/test_requests_pa_session_req.py -test/test_requests_profile_updates.py -test/test_requests_reset_password_body.py -test/test_requests_rotate_pa_session_req.py -test/test_requests_totp_req.py -test/test_requests_web_authn_reauth_begin_request.py -test/test_responses_create_profile_custom_rules_batch_response.py -test/test_responses_custom_rule_batch_created.py -test/test_responses_custom_rule_batch_skipped.py -test/test_responses_deletion_code_response.py -test/test_responses_registration_success_response.py -test/test_responses_short_link_response.py -test/test_responses_web_authn_reauth_finish_response.py -test/test_services_api.py -test/test_servicescatalog_catalog.py -test/test_servicescatalog_service.py -test/test_sessions_api.py -test/test_statistics_api.py -test/test_subscription_api.py -test/test_verification_api.py -test/test_webauthncose_cose_algorithm_identifier.py -tox.ini +moddns_README.md diff --git a/tests/moddns_client/.travis.yml b/tests/moddns_client/.travis.yml deleted file mode 100644 index 5ca9c13f..00000000 --- a/tests/moddns_client/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -# ref: https://docs.travis-ci.com/user/languages/python -language: python -python: - - "3.8" - - "3.9" - - "3.10" - - "3.11" - - "3.12" - # uncomment the following if needed - #- "3.12-dev" # 3.12 development branch - #- "nightly" # nightly build -# command to install dependencies -install: - - "pip install -r requirements.txt" - - "pip install -r test-requirements.txt" -# command to run tests -script: pytest --cov=moddns diff --git a/tests/moddns_client/README.md b/tests/moddns_client/README.md deleted file mode 100644 index e37ded62..00000000 --- a/tests/moddns_client/README.md +++ /dev/null @@ -1,226 +0,0 @@ -# moddns -modDNS REST API - -This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 1.0 -- Package version: 1.0.0 -- Generator version: 7.11.0-SNAPSHOT -- Build package: org.openapitools.codegen.languages.PythonClientCodegen - -## Requirements. - -Python 3.8+ - -## Installation & Usage -### pip install - -If the python package is hosted on a repository, you can install directly using: - -```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 moddns -``` - -### 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 moddns -``` - -### Tests - -Execute `pytest` to run the tests. - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```python - -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - body = moddns.RequestsAccountDeletionRequest() # RequestsAccountDeletionRequest | Account deletion request - - try: - # Delete account - api_instance.api_v1_accounts_current_delete(body) - except ApiException as e: - print("Exception when calling AccountApi->api_v1_accounts_current_delete: %s\n" % e) - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AccountApi* | [**api_v1_accounts_current_delete**](docs/AccountApi.md#api_v1_accounts_current_delete) | **DELETE** /api/v1/accounts/current | Delete account -*AccountApi* | [**api_v1_accounts_current_deletion_code_post**](docs/AccountApi.md#api_v1_accounts_current_deletion_code_post) | **POST** /api/v1/accounts/current/deletion-code | Generate deletion code -*AccountApi* | [**api_v1_accounts_current_get**](docs/AccountApi.md#api_v1_accounts_current_get) | **GET** /api/v1/accounts/current | Get account data -*AccountApi* | [**api_v1_accounts_mfa_totp_disable_post**](docs/AccountApi.md#api_v1_accounts_mfa_totp_disable_post) | **POST** /api/v1/accounts/mfa/totp/disable | Disable TOTP -*AccountApi* | [**api_v1_accounts_mfa_totp_enable_confirm_post**](docs/AccountApi.md#api_v1_accounts_mfa_totp_enable_confirm_post) | **POST** /api/v1/accounts/mfa/totp/enable/confirm | Confirm TOTP -*AccountApi* | [**api_v1_accounts_mfa_totp_enable_post**](docs/AccountApi.md#api_v1_accounts_mfa_totp_enable_post) | **POST** /api/v1/accounts/mfa/totp/enable | Enable TOTP -*AccountApi* | [**api_v1_accounts_patch**](docs/AccountApi.md#api_v1_accounts_patch) | **PATCH** /api/v1/accounts | Update account -*AccountApi* | [**api_v1_accounts_post**](docs/AccountApi.md#api_v1_accounts_post) | **POST** /api/v1/accounts | Register account -*AccountApi* | [**api_v1_accounts_reset_password_post**](docs/AccountApi.md#api_v1_accounts_reset_password_post) | **POST** /api/v1/accounts/reset-password | Send reset password email -*AppleMobileconfigApi* | [**api_v1_mobileconfig_post**](docs/AppleMobileconfigApi.md#api_v1_mobileconfig_post) | **POST** /api/v1/mobileconfig | Generate configuration profile for Apple devices -*AppleMobileconfigApi* | [**api_v1_mobileconfig_short_post**](docs/AppleMobileconfigApi.md#api_v1_mobileconfig_short_post) | **POST** /api/v1/mobileconfig/short | Generate short link for configuration profile (Apple devices) -*AppleMobileconfigApi* | [**api_v1_short_code_get**](docs/AppleMobileconfigApi.md#api_v1_short_code_get) | **GET** /api/v1/short/{code} | Download configuration profile for Apple devices from short link -*AuthenticationApi* | [**api_v1_accounts_logout_post**](docs/AuthenticationApi.md#api_v1_accounts_logout_post) | **POST** /api/v1/accounts/logout | Logout -*AuthenticationApi* | [**api_v1_login_post**](docs/AuthenticationApi.md#api_v1_login_post) | **POST** /api/v1/login | Login -*AuthenticationApi* | [**api_v1_webauthn_login_begin_post**](docs/AuthenticationApi.md#api_v1_webauthn_login_begin_post) | **POST** /api/v1/webauthn/login/begin | Begin passkey login -*AuthenticationApi* | [**api_v1_webauthn_login_finish_post**](docs/AuthenticationApi.md#api_v1_webauthn_login_finish_post) | **POST** /api/v1/webauthn/login/finish | Finish passkey login -*AuthenticationApi* | [**api_v1_webauthn_passkey_add_begin_post**](docs/AuthenticationApi.md#api_v1_webauthn_passkey_add_begin_post) | **POST** /api/v1/webauthn/passkey/add/begin | Add new passkey -*AuthenticationApi* | [**api_v1_webauthn_passkey_add_finish_post**](docs/AuthenticationApi.md#api_v1_webauthn_passkey_add_finish_post) | **POST** /api/v1/webauthn/passkey/add/finish | Complete adding new passkey -*AuthenticationApi* | [**api_v1_webauthn_passkey_id_delete**](docs/AuthenticationApi.md#api_v1_webauthn_passkey_id_delete) | **DELETE** /api/v1/webauthn/passkey/{id} | Delete passkey -*AuthenticationApi* | [**api_v1_webauthn_passkey_reauth_begin_post**](docs/AuthenticationApi.md#api_v1_webauthn_passkey_reauth_begin_post) | **POST** /api/v1/webauthn/passkey/reauth/begin | Begin reauthentication via passkey -*AuthenticationApi* | [**api_v1_webauthn_passkey_reauth_finish_post**](docs/AuthenticationApi.md#api_v1_webauthn_passkey_reauth_finish_post) | **POST** /api/v1/webauthn/passkey/reauth/finish | Finish reauthentication via passkey -*AuthenticationApi* | [**api_v1_webauthn_passkeys_get**](docs/AuthenticationApi.md#api_v1_webauthn_passkeys_get) | **GET** /api/v1/webauthn/passkeys | Get user passkeys -*AuthenticationApi* | [**api_v1_webauthn_register_begin_post**](docs/AuthenticationApi.md#api_v1_webauthn_register_begin_post) | **POST** /api/v1/webauthn/register/begin | Begin passkey registration -*AuthenticationApi* | [**api_v1_webauthn_register_finish_post**](docs/AuthenticationApi.md#api_v1_webauthn_register_finish_post) | **POST** /api/v1/webauthn/register/finish | Finish passkey registration -*BlocklistsApi* | [**api_v1_blocklists_get**](docs/BlocklistsApi.md#api_v1_blocklists_get) | **GET** /api/v1/blocklists | Get blocklists data -*PASessionApi* | [**api_v1_pasession_add_post**](docs/PASessionApi.md#api_v1_pasession_add_post) | **POST** /api/v1/pasession/add | Add pre-auth session -*PASessionApi* | [**api_v1_pasession_rotate_put**](docs/PASessionApi.md#api_v1_pasession_rotate_put) | **PUT** /api/v1/pasession/rotate | Rotate pre-auth session ID -*ProfileApi* | [**api_v1_profiles_get**](docs/ProfileApi.md#api_v1_profiles_get) | **GET** /api/v1/profiles | Get profiles data -*ProfileApi* | [**api_v1_profiles_id_blocklists_delete**](docs/ProfileApi.md#api_v1_profiles_id_blocklists_delete) | **DELETE** /api/v1/profiles/{id}/blocklists | Disable blocklists -*ProfileApi* | [**api_v1_profiles_id_blocklists_post**](docs/ProfileApi.md#api_v1_profiles_id_blocklists_post) | **POST** /api/v1/profiles/{id}/blocklists | Enable blocklists -*ProfileApi* | [**api_v1_profiles_id_custom_rules_batch_post**](docs/ProfileApi.md#api_v1_profiles_id_custom_rules_batch_post) | **POST** /api/v1/profiles/{id}/custom_rules/batch | Create profile custom rules (batch) -*ProfileApi* | [**api_v1_profiles_id_custom_rules_custom_rule_id_delete**](docs/ProfileApi.md#api_v1_profiles_id_custom_rules_custom_rule_id_delete) | **DELETE** /api/v1/profiles/{id}/custom_rules/{custom_rule_id} | Delete profile custom rule -*ProfileApi* | [**api_v1_profiles_id_custom_rules_post**](docs/ProfileApi.md#api_v1_profiles_id_custom_rules_post) | **POST** /api/v1/profiles/{id}/custom_rules | Create profile custom rule -*ProfileApi* | [**api_v1_profiles_id_delete**](docs/ProfileApi.md#api_v1_profiles_id_delete) | **DELETE** /api/v1/profiles/{id} | Delete profile -*ProfileApi* | [**api_v1_profiles_id_get**](docs/ProfileApi.md#api_v1_profiles_id_get) | **GET** /api/v1/profiles/{id} | Get profile data -*ProfileApi* | [**api_v1_profiles_id_patch**](docs/ProfileApi.md#api_v1_profiles_id_patch) | **PATCH** /api/v1/profiles/{id} | Update profile -*ProfileApi* | [**api_v1_profiles_id_services_delete**](docs/ProfileApi.md#api_v1_profiles_id_services_delete) | **DELETE** /api/v1/profiles/{id}/services | Disable services -*ProfileApi* | [**api_v1_profiles_id_services_post**](docs/ProfileApi.md#api_v1_profiles_id_services_post) | **POST** /api/v1/profiles/{id}/services | Enable services -*ProfileApi* | [**api_v1_profiles_post**](docs/ProfileApi.md#api_v1_profiles_post) | **POST** /api/v1/profiles | Create profile -*QueryLogsApi* | [**api_v1_profiles_id_logs_delete**](docs/QueryLogsApi.md#api_v1_profiles_id_logs_delete) | **DELETE** /api/v1/profiles/{id}/logs | Delete profile query logs -*QueryLogsApi* | [**api_v1_profiles_id_logs_download_get**](docs/QueryLogsApi.md#api_v1_profiles_id_logs_download_get) | **GET** /api/v1/profiles/{id}/logs/download | Download profile query logs -*QueryLogsApi* | [**api_v1_profiles_id_logs_get**](docs/QueryLogsApi.md#api_v1_profiles_id_logs_get) | **GET** /api/v1/profiles/{id}/logs | Get profile query logs -*ServicesApi* | [**api_v1_services_get**](docs/ServicesApi.md#api_v1_services_get) | **GET** /api/v1/services | Get services catalog -*SessionsApi* | [**api_v1_sessions_delete**](docs/SessionsApi.md#api_v1_sessions_delete) | **DELETE** /api/v1/sessions | Delete all other sessions -*StatisticsApi* | [**api_v1_profiles_id_statistics_get**](docs/StatisticsApi.md#api_v1_profiles_id_statistics_get) | **GET** /api/v1/profiles/{id}/statistics | Get statistics data for a profile -*SubscriptionApi* | [**api_v1_sub_get**](docs/SubscriptionApi.md#api_v1_sub_get) | **GET** /api/v1/sub | Get subscription data -*SubscriptionApi* | [**api_v1_sub_update_put**](docs/SubscriptionApi.md#api_v1_sub_update_put) | **PUT** /api/v1/sub/update | Update subscription via PASession -*VerificationApi* | [**api_v1_verify_email_otp_confirm_post**](docs/VerificationApi.md#api_v1_verify_email_otp_confirm_post) | **POST** /api/v1/verify/email/otp/confirm | Confirm email verification OTP -*VerificationApi* | [**api_v1_verify_email_otp_request_post**](docs/VerificationApi.md#api_v1_verify_email_otp_request_post) | **POST** /api/v1/verify/email/otp/request | Request email verification OTP -*VerificationApi* | [**api_v1_verify_reset_password_post**](docs/VerificationApi.md#api_v1_verify_reset_password_post) | **POST** /api/v1/verify/reset-password | Confirm password reset - - -## Documentation For Models - - - [ApiBlocklistsUpdates](docs/ApiBlocklistsUpdates.md) - - [ApiCreateProfileBody](docs/ApiCreateProfileBody.md) - - [ApiErrResponse](docs/ApiErrResponse.md) - - [ApiRegisterAccountBody](docs/ApiRegisterAccountBody.md) - - [ApiServicesUpdates](docs/ApiServicesUpdates.md) - - [ApiVerifyEmailOTPBody](docs/ApiVerifyEmailOTPBody.md) - - [ApiWebAuthnLoginBeginRequest](docs/ApiWebAuthnLoginBeginRequest.md) - - [ApiWebAuthnRegisterBeginRequest](docs/ApiWebAuthnRegisterBeginRequest.md) - - [ModelAccount](docs/ModelAccount.md) - - [ModelAccountUpdate](docs/ModelAccountUpdate.md) - - [ModelAdvanced](docs/ModelAdvanced.md) - - [ModelBlocklist](docs/ModelBlocklist.md) - - [ModelCredential](docs/ModelCredential.md) - - [ModelCustomRule](docs/ModelCustomRule.md) - - [ModelDNSRequest](docs/ModelDNSRequest.md) - - [ModelDNSSECSettings](docs/ModelDNSSECSettings.md) - - [ModelLogsSettings](docs/ModelLogsSettings.md) - - [ModelMFASettings](docs/ModelMFASettings.md) - - [ModelPrivacy](docs/ModelPrivacy.md) - - [ModelProfile](docs/ModelProfile.md) - - [ModelProfileSettings](docs/ModelProfileSettings.md) - - [ModelProfileUpdate](docs/ModelProfileUpdate.md) - - [ModelQueryLog](docs/ModelQueryLog.md) - - [ModelRetention](docs/ModelRetention.md) - - [ModelSecurity](docs/ModelSecurity.md) - - [ModelStatisticsAggregated](docs/ModelStatisticsAggregated.md) - - [ModelStatisticsSettings](docs/ModelStatisticsSettings.md) - - [ModelSubscription](docs/ModelSubscription.md) - - [ModelSubscriptionStatus](docs/ModelSubscriptionStatus.md) - - [ModelTOTPBackup](docs/ModelTOTPBackup.md) - - [ModelTOTPNew](docs/ModelTOTPNew.md) - - [ModelTotpSettings](docs/ModelTotpSettings.md) - - [ProtocolAttestationFormat](docs/ProtocolAttestationFormat.md) - - [ProtocolAuthenticatorAttachment](docs/ProtocolAuthenticatorAttachment.md) - - [ProtocolAuthenticatorSelection](docs/ProtocolAuthenticatorSelection.md) - - [ProtocolAuthenticatorTransport](docs/ProtocolAuthenticatorTransport.md) - - [ProtocolConveyancePreference](docs/ProtocolConveyancePreference.md) - - [ProtocolCredentialAssertion](docs/ProtocolCredentialAssertion.md) - - [ProtocolCredentialCreation](docs/ProtocolCredentialCreation.md) - - [ProtocolCredentialDescriptor](docs/ProtocolCredentialDescriptor.md) - - [ProtocolCredentialMediationRequirement](docs/ProtocolCredentialMediationRequirement.md) - - [ProtocolCredentialParameter](docs/ProtocolCredentialParameter.md) - - [ProtocolCredentialType](docs/ProtocolCredentialType.md) - - [ProtocolPublicKeyCredentialCreationOptions](docs/ProtocolPublicKeyCredentialCreationOptions.md) - - [ProtocolPublicKeyCredentialHints](docs/ProtocolPublicKeyCredentialHints.md) - - [ProtocolPublicKeyCredentialRequestOptions](docs/ProtocolPublicKeyCredentialRequestOptions.md) - - [ProtocolRelyingPartyEntity](docs/ProtocolRelyingPartyEntity.md) - - [ProtocolResidentKeyRequirement](docs/ProtocolResidentKeyRequirement.md) - - [ProtocolUserEntity](docs/ProtocolUserEntity.md) - - [ProtocolUserVerificationRequirement](docs/ProtocolUserVerificationRequirement.md) - - [RequestsAccountDeletionRequest](docs/RequestsAccountDeletionRequest.md) - - [RequestsAccountUpdates](docs/RequestsAccountUpdates.md) - - [RequestsAdvancedOptionsReq](docs/RequestsAdvancedOptionsReq.md) - - [RequestsConfirmResetPasswordBody](docs/RequestsConfirmResetPasswordBody.md) - - [RequestsCreateProfileCustomRuleBody](docs/RequestsCreateProfileCustomRuleBody.md) - - [RequestsCreateProfileCustomRulesBatchBody](docs/RequestsCreateProfileCustomRulesBatchBody.md) - - [RequestsLoginBody](docs/RequestsLoginBody.md) - - [RequestsMobileConfigReq](docs/RequestsMobileConfigReq.md) - - [RequestsPASessionReq](docs/RequestsPASessionReq.md) - - [RequestsProfileUpdates](docs/RequestsProfileUpdates.md) - - [RequestsResetPasswordBody](docs/RequestsResetPasswordBody.md) - - [RequestsRotatePASessionReq](docs/RequestsRotatePASessionReq.md) - - [RequestsTotpReq](docs/RequestsTotpReq.md) - - [RequestsWebAuthnReauthBeginRequest](docs/RequestsWebAuthnReauthBeginRequest.md) - - [ResponsesCreateProfileCustomRulesBatchResponse](docs/ResponsesCreateProfileCustomRulesBatchResponse.md) - - [ResponsesCustomRuleBatchCreated](docs/ResponsesCustomRuleBatchCreated.md) - - [ResponsesCustomRuleBatchSkipped](docs/ResponsesCustomRuleBatchSkipped.md) - - [ResponsesDeletionCodeResponse](docs/ResponsesDeletionCodeResponse.md) - - [ResponsesRegistrationSuccessResponse](docs/ResponsesRegistrationSuccessResponse.md) - - [ResponsesShortLinkResponse](docs/ResponsesShortLinkResponse.md) - - [ResponsesWebAuthnReauthFinishResponse](docs/ResponsesWebAuthnReauthFinishResponse.md) - - [ServicescatalogCatalog](docs/ServicescatalogCatalog.md) - - [ServicescatalogService](docs/ServicescatalogService.md) - - [WebauthncoseCOSEAlgorithmIdentifier](docs/WebauthncoseCOSEAlgorithmIdentifier.md) - - - -## Documentation For Authorization - -Endpoints do not require authorization. - - -## Author - - - - diff --git a/tests/moddns_client/docs/AccountApi.md b/tests/moddns_client/docs/AccountApi.md deleted file mode 100644 index 2bafc943..00000000 --- a/tests/moddns_client/docs/AccountApi.md +++ /dev/null @@ -1,641 +0,0 @@ -# moddns.AccountApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_accounts_current_delete**](AccountApi.md#api_v1_accounts_current_delete) | **DELETE** /api/v1/accounts/current | Delete account -[**api_v1_accounts_current_deletion_code_post**](AccountApi.md#api_v1_accounts_current_deletion_code_post) | **POST** /api/v1/accounts/current/deletion-code | Generate deletion code -[**api_v1_accounts_current_get**](AccountApi.md#api_v1_accounts_current_get) | **GET** /api/v1/accounts/current | Get account data -[**api_v1_accounts_mfa_totp_disable_post**](AccountApi.md#api_v1_accounts_mfa_totp_disable_post) | **POST** /api/v1/accounts/mfa/totp/disable | Disable TOTP -[**api_v1_accounts_mfa_totp_enable_confirm_post**](AccountApi.md#api_v1_accounts_mfa_totp_enable_confirm_post) | **POST** /api/v1/accounts/mfa/totp/enable/confirm | Confirm TOTP -[**api_v1_accounts_mfa_totp_enable_post**](AccountApi.md#api_v1_accounts_mfa_totp_enable_post) | **POST** /api/v1/accounts/mfa/totp/enable | Enable TOTP -[**api_v1_accounts_patch**](AccountApi.md#api_v1_accounts_patch) | **PATCH** /api/v1/accounts | Update account -[**api_v1_accounts_post**](AccountApi.md#api_v1_accounts_post) | **POST** /api/v1/accounts | Register account -[**api_v1_accounts_reset_password_post**](AccountApi.md#api_v1_accounts_reset_password_post) | **POST** /api/v1/accounts/reset-password | Send reset password email - - -# **api_v1_accounts_current_delete** -> api_v1_accounts_current_delete(body) - -Delete account - -Delete account with deletion code - -### Example - - -```python -import moddns -from moddns.models.requests_account_deletion_request import RequestsAccountDeletionRequest -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - body = moddns.RequestsAccountDeletionRequest() # RequestsAccountDeletionRequest | Account deletion request - - try: - # Delete account - api_instance.api_v1_accounts_current_delete(body) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_current_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsAccountDeletionRequest**](RequestsAccountDeletionRequest.md)| Account deletion request | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_current_deletion_code_post** -> ResponsesDeletionCodeResponse api_v1_accounts_current_deletion_code_post() - -Generate deletion code - -Generate a deletion code for account deletion - -### Example - - -```python -import moddns -from moddns.models.responses_deletion_code_response import ResponsesDeletionCodeResponse -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - - try: - # Generate deletion code - api_response = api_instance.api_v1_accounts_current_deletion_code_post() - print("The response of AccountApi->api_v1_accounts_current_deletion_code_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_current_deletion_code_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**ResponsesDeletionCodeResponse**](ResponsesDeletionCodeResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_current_get** -> ModelAccount api_v1_accounts_current_get() - -Get account data - -Get account data - -### Example - - -```python -import moddns -from moddns.models.model_account import ModelAccount -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - - try: - # Get account data - api_response = api_instance.api_v1_accounts_current_get() - print("The response of AccountApi->api_v1_accounts_current_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_current_get: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**ModelAccount**](ModelAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_mfa_totp_disable_post** -> ModelAccount api_v1_accounts_mfa_totp_disable_post(body) - -Disable TOTP - -Disable TOTP - -### Example - - -```python -import moddns -from moddns.models.model_account import ModelAccount -from moddns.models.requests_totp_req import RequestsTotpReq -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - body = moddns.RequestsTotpReq() # RequestsTotpReq | Disable TOTP request - - try: - # Disable TOTP - api_response = api_instance.api_v1_accounts_mfa_totp_disable_post(body) - print("The response of AccountApi->api_v1_accounts_mfa_totp_disable_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_mfa_totp_disable_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsTotpReq**](RequestsTotpReq.md)| Disable TOTP request | - -### Return type - -[**ModelAccount**](ModelAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_mfa_totp_enable_confirm_post** -> ModelTOTPBackup api_v1_accounts_mfa_totp_enable_confirm_post(body) - -Confirm TOTP - -Confirm TOTP - -### Example - - -```python -import moddns -from moddns.models.model_totp_backup import ModelTOTPBackup -from moddns.models.requests_totp_req import RequestsTotpReq -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - body = moddns.RequestsTotpReq() # RequestsTotpReq | Confirm TOTP request - - try: - # Confirm TOTP - api_response = api_instance.api_v1_accounts_mfa_totp_enable_confirm_post(body) - print("The response of AccountApi->api_v1_accounts_mfa_totp_enable_confirm_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_mfa_totp_enable_confirm_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsTotpReq**](RequestsTotpReq.md)| Confirm TOTP request | - -### Return type - -[**ModelTOTPBackup**](ModelTOTPBackup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_mfa_totp_enable_post** -> ModelTOTPNew api_v1_accounts_mfa_totp_enable_post() - -Enable TOTP - -Enable TOTP - -### Example - - -```python -import moddns -from moddns.models.model_totp_new import ModelTOTPNew -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - - try: - # Enable TOTP - api_response = api_instance.api_v1_accounts_mfa_totp_enable_post() - print("The response of AccountApi->api_v1_accounts_mfa_totp_enable_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_mfa_totp_enable_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**ModelTOTPNew**](ModelTOTPNew.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_patch** -> api_v1_accounts_patch(body, x_mfa_code=x_mfa_code, x_mfa_methods=x_mfa_methods) - -Update account - -Update account - -### Example - - -```python -import moddns -from moddns.models.requests_account_updates import RequestsAccountUpdates -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - body = moddns.RequestsAccountUpdates() # RequestsAccountUpdates | Update account request - x_mfa_code = 'x_mfa_code_example' # str | MFA OTP code (optional) - x_mfa_methods = ['x_mfa_methods_example'] # List[str] | MFA methods (optional) - - try: - # Update account - api_instance.api_v1_accounts_patch(body, x_mfa_code=x_mfa_code, x_mfa_methods=x_mfa_methods) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_patch: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsAccountUpdates**](RequestsAccountUpdates.md)| Update account request | - **x_mfa_code** | **str**| MFA OTP code | [optional] - **x_mfa_methods** | [**List[str]**](str.md)| MFA methods | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_post** -> ResponsesRegistrationSuccessResponse api_v1_accounts_post(body) - -Register account - -Register account - -### Example - - -```python -import moddns -from moddns.models.api_register_account_body import ApiRegisterAccountBody -from moddns.models.responses_registration_success_response import ResponsesRegistrationSuccessResponse -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - body = moddns.ApiRegisterAccountBody() # ApiRegisterAccountBody | Account request - - try: - # Register account - api_response = api_instance.api_v1_accounts_post(body) - print("The response of AccountApi->api_v1_accounts_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ApiRegisterAccountBody**](ApiRegisterAccountBody.md)| Account request | - -### Return type - -[**ResponsesRegistrationSuccessResponse**](ResponsesRegistrationSuccessResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_accounts_reset_password_post** -> api_v1_accounts_reset_password_post(body) - -Send reset password email - -Send reset password email - -### Example - - -```python -import moddns -from moddns.models.requests_reset_password_body import RequestsResetPasswordBody -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AccountApi(api_client) - body = moddns.RequestsResetPasswordBody() # RequestsResetPasswordBody | Send reset password email request - - try: - # Send reset password email - api_instance.api_v1_accounts_reset_password_post(body) - except Exception as e: - print("Exception when calling AccountApi->api_v1_accounts_reset_password_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsResetPasswordBody**](RequestsResetPasswordBody.md)| Send reset password email request | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/ApiBlocklistsUpdates.md b/tests/moddns_client/docs/ApiBlocklistsUpdates.md deleted file mode 100644 index 1d6e5eee..00000000 --- a/tests/moddns_client/docs/ApiBlocklistsUpdates.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiBlocklistsUpdates - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**blocklist_ids** | **List[str]** | | - -## Example - -```python -from moddns.models.api_blocklists_updates import ApiBlocklistsUpdates - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiBlocklistsUpdates from a JSON string -api_blocklists_updates_instance = ApiBlocklistsUpdates.from_json(json) -# print the JSON string representation of the object -print(ApiBlocklistsUpdates.to_json()) - -# convert the object into a dict -api_blocklists_updates_dict = api_blocklists_updates_instance.to_dict() -# create an instance of ApiBlocklistsUpdates from a dict -api_blocklists_updates_from_dict = ApiBlocklistsUpdates.from_dict(api_blocklists_updates_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ApiCreateProfileBody.md b/tests/moddns_client/docs/ApiCreateProfileBody.md deleted file mode 100644 index cb242ff2..00000000 --- a/tests/moddns_client/docs/ApiCreateProfileBody.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiCreateProfileBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | - -## Example - -```python -from moddns.models.api_create_profile_body import ApiCreateProfileBody - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiCreateProfileBody from a JSON string -api_create_profile_body_instance = ApiCreateProfileBody.from_json(json) -# print the JSON string representation of the object -print(ApiCreateProfileBody.to_json()) - -# convert the object into a dict -api_create_profile_body_dict = api_create_profile_body_instance.to_dict() -# create an instance of ApiCreateProfileBody from a dict -api_create_profile_body_from_dict = ApiCreateProfileBody.from_dict(api_create_profile_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ApiErrResponse.md b/tests/moddns_client/docs/ApiErrResponse.md deleted file mode 100644 index 411f0bb3..00000000 --- a/tests/moddns_client/docs/ApiErrResponse.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiErrResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**details** | **List[str]** | | [optional] -**error** | **str** | | [optional] - -## Example - -```python -from moddns.models.api_err_response import ApiErrResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiErrResponse from a JSON string -api_err_response_instance = ApiErrResponse.from_json(json) -# print the JSON string representation of the object -print(ApiErrResponse.to_json()) - -# convert the object into a dict -api_err_response_dict = api_err_response_instance.to_dict() -# create an instance of ApiErrResponse from a dict -api_err_response_from_dict = ApiErrResponse.from_dict(api_err_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ApiRegisterAccountBody.md b/tests/moddns_client/docs/ApiRegisterAccountBody.md deleted file mode 100644 index d60b4d58..00000000 --- a/tests/moddns_client/docs/ApiRegisterAccountBody.md +++ /dev/null @@ -1,31 +0,0 @@ -# ApiRegisterAccountBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**password** | **str** | | -**subid** | **str** | | - -## Example - -```python -from moddns.models.api_register_account_body import ApiRegisterAccountBody - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiRegisterAccountBody from a JSON string -api_register_account_body_instance = ApiRegisterAccountBody.from_json(json) -# print the JSON string representation of the object -print(ApiRegisterAccountBody.to_json()) - -# convert the object into a dict -api_register_account_body_dict = api_register_account_body_instance.to_dict() -# create an instance of ApiRegisterAccountBody from a dict -api_register_account_body_from_dict = ApiRegisterAccountBody.from_dict(api_register_account_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ApiServicesUpdates.md b/tests/moddns_client/docs/ApiServicesUpdates.md deleted file mode 100644 index 477ffe34..00000000 --- a/tests/moddns_client/docs/ApiServicesUpdates.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiServicesUpdates - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**service_ids** | **List[str]** | | - -## Example - -```python -from moddns.models.api_services_updates import ApiServicesUpdates - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiServicesUpdates from a JSON string -api_services_updates_instance = ApiServicesUpdates.from_json(json) -# print the JSON string representation of the object -print(ApiServicesUpdates.to_json()) - -# convert the object into a dict -api_services_updates_dict = api_services_updates_instance.to_dict() -# create an instance of ApiServicesUpdates from a dict -api_services_updates_from_dict = ApiServicesUpdates.from_dict(api_services_updates_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ApiVerifyEmailOTPBody.md b/tests/moddns_client/docs/ApiVerifyEmailOTPBody.md deleted file mode 100644 index f2e0b931..00000000 --- a/tests/moddns_client/docs/ApiVerifyEmailOTPBody.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiVerifyEmailOTPBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**otp** | **str** | | - -## Example - -```python -from moddns.models.api_verify_email_otp_body import ApiVerifyEmailOTPBody - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiVerifyEmailOTPBody from a JSON string -api_verify_email_otp_body_instance = ApiVerifyEmailOTPBody.from_json(json) -# print the JSON string representation of the object -print(ApiVerifyEmailOTPBody.to_json()) - -# convert the object into a dict -api_verify_email_otp_body_dict = api_verify_email_otp_body_instance.to_dict() -# create an instance of ApiVerifyEmailOTPBody from a dict -api_verify_email_otp_body_from_dict = ApiVerifyEmailOTPBody.from_dict(api_verify_email_otp_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ApiWebAuthnLoginBeginRequest.md b/tests/moddns_client/docs/ApiWebAuthnLoginBeginRequest.md deleted file mode 100644 index 0d353814..00000000 --- a/tests/moddns_client/docs/ApiWebAuthnLoginBeginRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# ApiWebAuthnLoginBeginRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | - -## Example - -```python -from moddns.models.api_web_authn_login_begin_request import ApiWebAuthnLoginBeginRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiWebAuthnLoginBeginRequest from a JSON string -api_web_authn_login_begin_request_instance = ApiWebAuthnLoginBeginRequest.from_json(json) -# print the JSON string representation of the object -print(ApiWebAuthnLoginBeginRequest.to_json()) - -# convert the object into a dict -api_web_authn_login_begin_request_dict = api_web_authn_login_begin_request_instance.to_dict() -# create an instance of ApiWebAuthnLoginBeginRequest from a dict -api_web_authn_login_begin_request_from_dict = ApiWebAuthnLoginBeginRequest.from_dict(api_web_authn_login_begin_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ApiWebAuthnRegisterBeginRequest.md b/tests/moddns_client/docs/ApiWebAuthnRegisterBeginRequest.md deleted file mode 100644 index 8da54ed7..00000000 --- a/tests/moddns_client/docs/ApiWebAuthnRegisterBeginRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# ApiWebAuthnRegisterBeginRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**subid** | **str** | | - -## Example - -```python -from moddns.models.api_web_authn_register_begin_request import ApiWebAuthnRegisterBeginRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ApiWebAuthnRegisterBeginRequest from a JSON string -api_web_authn_register_begin_request_instance = ApiWebAuthnRegisterBeginRequest.from_json(json) -# print the JSON string representation of the object -print(ApiWebAuthnRegisterBeginRequest.to_json()) - -# convert the object into a dict -api_web_authn_register_begin_request_dict = api_web_authn_register_begin_request_instance.to_dict() -# create an instance of ApiWebAuthnRegisterBeginRequest from a dict -api_web_authn_register_begin_request_from_dict = ApiWebAuthnRegisterBeginRequest.from_dict(api_web_authn_register_begin_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/AppleMobileconfigApi.md b/tests/moddns_client/docs/AppleMobileconfigApi.md deleted file mode 100644 index c1864cd5..00000000 --- a/tests/moddns_client/docs/AppleMobileconfigApi.md +++ /dev/null @@ -1,221 +0,0 @@ -# moddns.AppleMobileconfigApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_mobileconfig_post**](AppleMobileconfigApi.md#api_v1_mobileconfig_post) | **POST** /api/v1/mobileconfig | Generate configuration profile for Apple devices -[**api_v1_mobileconfig_short_post**](AppleMobileconfigApi.md#api_v1_mobileconfig_short_post) | **POST** /api/v1/mobileconfig/short | Generate short link for configuration profile (Apple devices) -[**api_v1_short_code_get**](AppleMobileconfigApi.md#api_v1_short_code_get) | **GET** /api/v1/short/{code} | Download configuration profile for Apple devices from short link - - -# **api_v1_mobileconfig_post** -> str api_v1_mobileconfig_post(body) - -Generate configuration profile for Apple devices - -Generate configuration profile for Apple devices - -### Example - - -```python -import moddns -from moddns.models.requests_mobile_config_req import RequestsMobileConfigReq -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AppleMobileconfigApi(api_client) - body = moddns.RequestsMobileConfigReq() # RequestsMobileConfigReq | Generate .mobileconfig request - - try: - # Generate configuration profile for Apple devices - api_response = api_instance.api_v1_mobileconfig_post(body) - print("The response of AppleMobileconfigApi->api_v1_mobileconfig_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AppleMobileconfigApi->api_v1_mobileconfig_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsMobileConfigReq**](RequestsMobileConfigReq.md)| Generate .mobileconfig request | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_mobileconfig_short_post** -> ResponsesShortLinkResponse api_v1_mobileconfig_short_post(body) - -Generate short link for configuration profile (Apple devices) - -Generate short link for configuration profile (Apple devices) - -### Example - - -```python -import moddns -from moddns.models.requests_mobile_config_req import RequestsMobileConfigReq -from moddns.models.responses_short_link_response import ResponsesShortLinkResponse -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AppleMobileconfigApi(api_client) - body = moddns.RequestsMobileConfigReq() # RequestsMobileConfigReq | Generate .mobileconfig request - - try: - # Generate short link for configuration profile (Apple devices) - api_response = api_instance.api_v1_mobileconfig_short_post(body) - print("The response of AppleMobileconfigApi->api_v1_mobileconfig_short_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AppleMobileconfigApi->api_v1_mobileconfig_short_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsMobileConfigReq**](RequestsMobileConfigReq.md)| Generate .mobileconfig request | - -### Return type - -[**ResponsesShortLinkResponse**](ResponsesShortLinkResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_short_code_get** -> str api_v1_short_code_get(code) - -Download configuration profile for Apple devices from short link - -Download configuration profile for Apple devices from short link - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AppleMobileconfigApi(api_client) - code = 'code_example' # str | short code - - try: - # Download configuration profile for Apple devices from short link - api_response = api_instance.api_v1_short_code_get(code) - print("The response of AppleMobileconfigApi->api_v1_short_code_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AppleMobileconfigApi->api_v1_short_code_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **code** | **str**| short code | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/AuthenticationApi.md b/tests/moddns_client/docs/AuthenticationApi.md deleted file mode 100644 index 80b81c8a..00000000 --- a/tests/moddns_client/docs/AuthenticationApi.md +++ /dev/null @@ -1,820 +0,0 @@ -# moddns.AuthenticationApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_accounts_logout_post**](AuthenticationApi.md#api_v1_accounts_logout_post) | **POST** /api/v1/accounts/logout | Logout -[**api_v1_login_post**](AuthenticationApi.md#api_v1_login_post) | **POST** /api/v1/login | Login -[**api_v1_webauthn_login_begin_post**](AuthenticationApi.md#api_v1_webauthn_login_begin_post) | **POST** /api/v1/webauthn/login/begin | Begin passkey login -[**api_v1_webauthn_login_finish_post**](AuthenticationApi.md#api_v1_webauthn_login_finish_post) | **POST** /api/v1/webauthn/login/finish | Finish passkey login -[**api_v1_webauthn_passkey_add_begin_post**](AuthenticationApi.md#api_v1_webauthn_passkey_add_begin_post) | **POST** /api/v1/webauthn/passkey/add/begin | Add new passkey -[**api_v1_webauthn_passkey_add_finish_post**](AuthenticationApi.md#api_v1_webauthn_passkey_add_finish_post) | **POST** /api/v1/webauthn/passkey/add/finish | Complete adding new passkey -[**api_v1_webauthn_passkey_id_delete**](AuthenticationApi.md#api_v1_webauthn_passkey_id_delete) | **DELETE** /api/v1/webauthn/passkey/{id} | Delete passkey -[**api_v1_webauthn_passkey_reauth_begin_post**](AuthenticationApi.md#api_v1_webauthn_passkey_reauth_begin_post) | **POST** /api/v1/webauthn/passkey/reauth/begin | Begin reauthentication via passkey -[**api_v1_webauthn_passkey_reauth_finish_post**](AuthenticationApi.md#api_v1_webauthn_passkey_reauth_finish_post) | **POST** /api/v1/webauthn/passkey/reauth/finish | Finish reauthentication via passkey -[**api_v1_webauthn_passkeys_get**](AuthenticationApi.md#api_v1_webauthn_passkeys_get) | **GET** /api/v1/webauthn/passkeys | Get user passkeys -[**api_v1_webauthn_register_begin_post**](AuthenticationApi.md#api_v1_webauthn_register_begin_post) | **POST** /api/v1/webauthn/register/begin | Begin passkey registration -[**api_v1_webauthn_register_finish_post**](AuthenticationApi.md#api_v1_webauthn_register_finish_post) | **POST** /api/v1/webauthn/register/finish | Finish passkey registration - - -# **api_v1_accounts_logout_post** -> api_v1_accounts_logout_post() - -Logout - -Logout endpoint - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - - try: - # Logout - api_instance.api_v1_accounts_logout_post() - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_accounts_logout_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_login_post** -> api_v1_login_post(body, x_mfa_code=x_mfa_code, x_mfa_methods=x_mfa_methods, x_sessions_remove=x_sessions_remove) - -Login - -Login endpoint - -### Example - - -```python -import moddns -from moddns.models.requests_login_body import RequestsLoginBody -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - body = moddns.RequestsLoginBody() # RequestsLoginBody | Login request - x_mfa_code = 'x_mfa_code_example' # str | MFA OTP code (optional) - x_mfa_methods = ['x_mfa_methods_example'] # List[str] | MFA methods (optional) - x_sessions_remove = 'x_sessions_remove_example' # str | Remove all active sessions before logging in (optional) - - try: - # Login - api_instance.api_v1_login_post(body, x_mfa_code=x_mfa_code, x_mfa_methods=x_mfa_methods, x_sessions_remove=x_sessions_remove) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_login_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsLoginBody**](RequestsLoginBody.md)| Login request | - **x_mfa_code** | **str**| MFA OTP code | [optional] - **x_mfa_methods** | [**List[str]**](str.md)| MFA methods | [optional] - **x_sessions_remove** | **str**| Remove all active sessions before logging in | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_webauthn_login_begin_post** -> ProtocolCredentialCreation api_v1_webauthn_login_begin_post(body) - -Begin passkey login - -Start WebAuthn login process - -### Example - - -```python -import moddns -from moddns.models.api_web_authn_login_begin_request import ApiWebAuthnLoginBeginRequest -from moddns.models.protocol_credential_creation import ProtocolCredentialCreation -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - body = moddns.ApiWebAuthnLoginBeginRequest() # ApiWebAuthnLoginBeginRequest | Login request - - try: - # Begin passkey login - api_response = api_instance.api_v1_webauthn_login_begin_post(body) - print("The response of AuthenticationApi->api_v1_webauthn_login_begin_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_login_begin_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ApiWebAuthnLoginBeginRequest**](ApiWebAuthnLoginBeginRequest.md)| Login request | - -### Return type - -[**ProtocolCredentialCreation**](ProtocolCredentialCreation.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | - -[[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) - -# **api_v1_webauthn_login_finish_post** -> api_v1_webauthn_login_finish_post(x_sessions_remove=x_sessions_remove) - -Finish passkey login - -Complete WebAuthn login process - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - x_sessions_remove = 'x_sessions_remove_example' # str | Remove all other active sessions during login (optional) - - try: - # Finish passkey login - api_instance.api_v1_webauthn_login_finish_post(x_sessions_remove=x_sessions_remove) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_login_finish_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **x_sessions_remove** | **str**| Remove all other active sessions during login | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Login completed successfully | - | -**400** | Bad Request | - | -**429** | Session limit reached | - | - -[[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) - -# **api_v1_webauthn_passkey_add_begin_post** -> object api_v1_webauthn_passkey_add_begin_post() - -Add new passkey - -Add a new passkey to authenticated account - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - - try: - # Add new passkey - api_response = api_instance.api_v1_webauthn_passkey_add_begin_post() - print("The response of AuthenticationApi->api_v1_webauthn_passkey_add_begin_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_passkey_add_begin_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -**object** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | - -[[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) - -# **api_v1_webauthn_passkey_add_finish_post** -> api_v1_webauthn_passkey_add_finish_post() - -Complete adding new passkey - -Complete adding a new passkey to authenticated account - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - - try: - # Complete adding new passkey - api_instance.api_v1_webauthn_passkey_add_finish_post() - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_passkey_add_finish_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Passkey addition completed successfully | - | -**400** | Bad Request | - | - -[[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) - -# **api_v1_webauthn_passkey_id_delete** -> api_v1_webauthn_passkey_id_delete(id) - -Delete passkey - -Delete a specific passkey - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - id = 'id_example' # str | Credential ID - - try: - # Delete passkey - api_instance.api_v1_webauthn_passkey_id_delete(id) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_passkey_id_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Credential ID | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: */* - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | - -[[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) - -# **api_v1_webauthn_passkey_reauth_begin_post** -> ProtocolCredentialAssertion api_v1_webauthn_passkey_reauth_begin_post(body) - -Begin reauthentication via passkey - -Initiate a WebAuthn assertion to elevate privileges (e.g., email change) - -### Example - - -```python -import moddns -from moddns.models.protocol_credential_assertion import ProtocolCredentialAssertion -from moddns.models.requests_web_authn_reauth_begin_request import RequestsWebAuthnReauthBeginRequest -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - body = moddns.RequestsWebAuthnReauthBeginRequest() # RequestsWebAuthnReauthBeginRequest | Reauth begin request - - try: - # Begin reauthentication via passkey - api_response = api_instance.api_v1_webauthn_passkey_reauth_begin_post(body) - print("The response of AuthenticationApi->api_v1_webauthn_passkey_reauth_begin_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_passkey_reauth_begin_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsWebAuthnReauthBeginRequest**](RequestsWebAuthnReauthBeginRequest.md)| Reauth begin request | - -### Return type - -[**ProtocolCredentialAssertion**](ProtocolCredentialAssertion.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**429** | Rate limited | - | - -[[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) - -# **api_v1_webauthn_passkey_reauth_finish_post** -> ResponsesWebAuthnReauthFinishResponse api_v1_webauthn_passkey_reauth_finish_post() - -Finish reauthentication via passkey - -Complete WebAuthn assertion and issue a short-lived reauth token - -### Example - - -```python -import moddns -from moddns.models.responses_web_authn_reauth_finish_response import ResponsesWebAuthnReauthFinishResponse -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - - try: - # Finish reauthentication via passkey - api_response = api_instance.api_v1_webauthn_passkey_reauth_finish_post() - print("The response of AuthenticationApi->api_v1_webauthn_passkey_reauth_finish_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_passkey_reauth_finish_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**ResponsesWebAuthnReauthFinishResponse**](ResponsesWebAuthnReauthFinishResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | - -[[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) - -# **api_v1_webauthn_passkeys_get** -> List[ModelCredential] api_v1_webauthn_passkeys_get() - -Get user passkeys - -Get list of passkeys for authenticated user - -### Example - - -```python -import moddns -from moddns.models.model_credential import ModelCredential -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - - try: - # Get user passkeys - api_response = api_instance.api_v1_webauthn_passkeys_get() - print("The response of AuthenticationApi->api_v1_webauthn_passkeys_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_passkeys_get: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**List[ModelCredential]**](ModelCredential.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | - -[[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) - -# **api_v1_webauthn_register_begin_post** -> ProtocolCredentialCreation api_v1_webauthn_register_begin_post(body) - -Begin passkey registration - -Start WebAuthn registration process for new passkey - -### Example - - -```python -import moddns -from moddns.models.api_web_authn_register_begin_request import ApiWebAuthnRegisterBeginRequest -from moddns.models.protocol_credential_creation import ProtocolCredentialCreation -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - body = moddns.ApiWebAuthnRegisterBeginRequest() # ApiWebAuthnRegisterBeginRequest | Registration request - - try: - # Begin passkey registration - api_response = api_instance.api_v1_webauthn_register_begin_post(body) - print("The response of AuthenticationApi->api_v1_webauthn_register_begin_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_register_begin_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ApiWebAuthnRegisterBeginRequest**](ApiWebAuthnRegisterBeginRequest.md)| Registration request | - -### Return type - -[**ProtocolCredentialCreation**](ProtocolCredentialCreation.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | - -[[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) - -# **api_v1_webauthn_register_finish_post** -> api_v1_webauthn_register_finish_post() - -Finish passkey registration - -Complete WebAuthn registration process - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.AuthenticationApi(api_client) - - try: - # Finish passkey registration - api_instance.api_v1_webauthn_register_finish_post() - except Exception as e: - print("Exception when calling AuthenticationApi->api_v1_webauthn_register_finish_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Registration completed successfully | - | -**400** | Bad Request | - | - -[[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/tests/moddns_client/docs/BlocklistsApi.md b/tests/moddns_client/docs/BlocklistsApi.md deleted file mode 100644 index b2edceb7..00000000 --- a/tests/moddns_client/docs/BlocklistsApi.md +++ /dev/null @@ -1,80 +0,0 @@ -# moddns.BlocklistsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_blocklists_get**](BlocklistsApi.md#api_v1_blocklists_get) | **GET** /api/v1/blocklists | Get blocklists data - - -# **api_v1_blocklists_get** -> List[ModelBlocklist] api_v1_blocklists_get(sort_by=sort_by) - -Get blocklists data - -Get available blocklists data - -### Example - - -```python -import moddns -from moddns.models.model_blocklist import ModelBlocklist -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.BlocklistsApi(api_client) - sort_by = updated # str | field to sort by (optional) (default to updated) - - try: - # Get blocklists data - api_response = api_instance.api_v1_blocklists_get(sort_by=sort_by) - print("The response of BlocklistsApi->api_v1_blocklists_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling BlocklistsApi->api_v1_blocklists_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **sort_by** | **str**| field to sort by | [optional] [default to updated] - -### Return type - -[**List[ModelBlocklist]**](ModelBlocklist.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/ModelAccount.md b/tests/moddns_client/docs/ModelAccount.md deleted file mode 100644 index f25c28b2..00000000 --- a/tests/moddns_client/docs/ModelAccount.md +++ /dev/null @@ -1,36 +0,0 @@ -# ModelAccount - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auth_methods** | **List[str]** | | [optional] -**email** | **str** | | [optional] -**email_verified** | **bool** | | [optional] -**error_reports_consent** | **bool** | | [optional] -**id** | **str** | | [optional] -**mfa** | [**ModelMFASettings**](ModelMFASettings.md) | | [optional] -**profiles** | **List[str]** | | [optional] -**queries** | **int** | | [optional] - -## Example - -```python -from moddns.models.model_account import ModelAccount - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelAccount from a JSON string -model_account_instance = ModelAccount.from_json(json) -# print the JSON string representation of the object -print(ModelAccount.to_json()) - -# convert the object into a dict -model_account_dict = model_account_instance.to_dict() -# create an instance of ModelAccount from a dict -model_account_from_dict = ModelAccount.from_dict(model_account_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelAccountUpdate.md b/tests/moddns_client/docs/ModelAccountUpdate.md deleted file mode 100644 index 3ddcbb2e..00000000 --- a/tests/moddns_client/docs/ModelAccountUpdate.md +++ /dev/null @@ -1,31 +0,0 @@ -# ModelAccountUpdate - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**operation** | **str** | | -**path** | **str** | | -**value** | **object** | | - -## Example - -```python -from moddns.models.model_account_update import ModelAccountUpdate - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelAccountUpdate from a JSON string -model_account_update_instance = ModelAccountUpdate.from_json(json) -# print the JSON string representation of the object -print(ModelAccountUpdate.to_json()) - -# convert the object into a dict -model_account_update_dict = model_account_update_instance.to_dict() -# create an instance of ModelAccountUpdate from a dict -model_account_update_from_dict = ModelAccountUpdate.from_dict(model_account_update_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelAdvanced.md b/tests/moddns_client/docs/ModelAdvanced.md deleted file mode 100644 index cd318c3d..00000000 --- a/tests/moddns_client/docs/ModelAdvanced.md +++ /dev/null @@ -1,29 +0,0 @@ -# ModelAdvanced - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**recursor** | **str** | | - -## Example - -```python -from moddns.models.model_advanced import ModelAdvanced - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelAdvanced from a JSON string -model_advanced_instance = ModelAdvanced.from_json(json) -# print the JSON string representation of the object -print(ModelAdvanced.to_json()) - -# convert the object into a dict -model_advanced_dict = model_advanced_instance.to_dict() -# create an instance of ModelAdvanced from a dict -model_advanced_from_dict = ModelAdvanced.from_dict(model_advanced_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelBlocklist.md b/tests/moddns_client/docs/ModelBlocklist.md deleted file mode 100644 index 3f9f9b22..00000000 --- a/tests/moddns_client/docs/ModelBlocklist.md +++ /dev/null @@ -1,42 +0,0 @@ -# ModelBlocklist - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**blocklist_id** | **str** | | -**category** | **str** | category key (only when kind=category) | [optional] -**default** | **bool** | default blocklist is enabled when profile is created | [optional] -**description** | **str** | displayed to the user | -**entries** | **int** | | [optional] -**homepage** | **str** | | [optional] -**id** | **str** | | [optional] -**intensity** | **List[str]** | basic, comprehensive, restrictive | [optional] -**kind** | **str** | general, category, security | [optional] -**last_modified** | **str** | | [optional] -**name** | **str** | conventional blocklist name, displayed to the user | -**source_url** | **str** | | [optional] -**tags** | **List[str]** | | [optional] -**type** | **str** | ownership: public (platform-provided) or private (user-uploaded) | [optional] - -## Example - -```python -from moddns.models.model_blocklist import ModelBlocklist - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelBlocklist from a JSON string -model_blocklist_instance = ModelBlocklist.from_json(json) -# print the JSON string representation of the object -print(ModelBlocklist.to_json()) - -# convert the object into a dict -model_blocklist_dict = model_blocklist_instance.to_dict() -# create an instance of ModelBlocklist from a dict -model_blocklist_from_dict = ModelBlocklist.from_dict(model_blocklist_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelCredential.md b/tests/moddns_client/docs/ModelCredential.md deleted file mode 100644 index cc14d99b..00000000 --- a/tests/moddns_client/docs/ModelCredential.md +++ /dev/null @@ -1,30 +0,0 @@ -# ModelCredential - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**created_at** | **str** | | [optional] -**id** | **str** | | [optional] - -## Example - -```python -from moddns.models.model_credential import ModelCredential - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelCredential from a JSON string -model_credential_instance = ModelCredential.from_json(json) -# print the JSON string representation of the object -print(ModelCredential.to_json()) - -# convert the object into a dict -model_credential_dict = model_credential_instance.to_dict() -# create an instance of ModelCredential from a dict -model_credential_from_dict = ModelCredential.from_dict(model_credential_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelCustomRule.md b/tests/moddns_client/docs/ModelCustomRule.md deleted file mode 100644 index 153b0afe..00000000 --- a/tests/moddns_client/docs/ModelCustomRule.md +++ /dev/null @@ -1,31 +0,0 @@ -# ModelCustomRule - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **str** | | -**id** | **str** | | -**value** | **str** | | - -## Example - -```python -from moddns.models.model_custom_rule import ModelCustomRule - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelCustomRule from a JSON string -model_custom_rule_instance = ModelCustomRule.from_json(json) -# print the JSON string representation of the object -print(ModelCustomRule.to_json()) - -# convert the object into a dict -model_custom_rule_dict = model_custom_rule_instance.to_dict() -# create an instance of ModelCustomRule from a dict -model_custom_rule_from_dict = ModelCustomRule.from_dict(model_custom_rule_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelDNSRequest.md b/tests/moddns_client/docs/ModelDNSRequest.md deleted file mode 100644 index b448492a..00000000 --- a/tests/moddns_client/docs/ModelDNSRequest.md +++ /dev/null @@ -1,32 +0,0 @@ -# ModelDNSRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dnssec** | **bool** | | [optional] -**domain** | **str** | | [optional] -**query_type** | **str** | | [optional] -**response_code** | **str** | | [optional] - -## Example - -```python -from moddns.models.model_dns_request import ModelDNSRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelDNSRequest from a JSON string -model_dns_request_instance = ModelDNSRequest.from_json(json) -# print the JSON string representation of the object -print(ModelDNSRequest.to_json()) - -# convert the object into a dict -model_dns_request_dict = model_dns_request_instance.to_dict() -# create an instance of ModelDNSRequest from a dict -model_dns_request_from_dict = ModelDNSRequest.from_dict(model_dns_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelDNSSECSettings.md b/tests/moddns_client/docs/ModelDNSSECSettings.md deleted file mode 100644 index 2346dc3f..00000000 --- a/tests/moddns_client/docs/ModelDNSSECSettings.md +++ /dev/null @@ -1,30 +0,0 @@ -# ModelDNSSECSettings - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**send_do_bit** | **bool** | | - -## Example - -```python -from moddns.models.model_dnssec_settings import ModelDNSSECSettings - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelDNSSECSettings from a JSON string -model_dnssec_settings_instance = ModelDNSSECSettings.from_json(json) -# print the JSON string representation of the object -print(ModelDNSSECSettings.to_json()) - -# convert the object into a dict -model_dnssec_settings_dict = model_dnssec_settings_instance.to_dict() -# create an instance of ModelDNSSECSettings from a dict -model_dnssec_settings_from_dict = ModelDNSSECSettings.from_dict(model_dnssec_settings_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelLogsSettings.md b/tests/moddns_client/docs/ModelLogsSettings.md deleted file mode 100644 index 2971ee80..00000000 --- a/tests/moddns_client/docs/ModelLogsSettings.md +++ /dev/null @@ -1,32 +0,0 @@ -# ModelLogsSettings - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | -**log_clients_ips** | **bool** | | -**log_domains** | **bool** | | -**retention** | [**ModelRetention**](ModelRetention.md) | | - -## Example - -```python -from moddns.models.model_logs_settings import ModelLogsSettings - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelLogsSettings from a JSON string -model_logs_settings_instance = ModelLogsSettings.from_json(json) -# print the JSON string representation of the object -print(ModelLogsSettings.to_json()) - -# convert the object into a dict -model_logs_settings_dict = model_logs_settings_instance.to_dict() -# create an instance of ModelLogsSettings from a dict -model_logs_settings_from_dict = ModelLogsSettings.from_dict(model_logs_settings_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelMFASettings.md b/tests/moddns_client/docs/ModelMFASettings.md deleted file mode 100644 index 0e17934e..00000000 --- a/tests/moddns_client/docs/ModelMFASettings.md +++ /dev/null @@ -1,29 +0,0 @@ -# ModelMFASettings - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**totp** | [**ModelTotpSettings**](ModelTotpSettings.md) | | [optional] - -## Example - -```python -from moddns.models.model_mfa_settings import ModelMFASettings - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelMFASettings from a JSON string -model_mfa_settings_instance = ModelMFASettings.from_json(json) -# print the JSON string representation of the object -print(ModelMFASettings.to_json()) - -# convert the object into a dict -model_mfa_settings_dict = model_mfa_settings_instance.to_dict() -# create an instance of ModelMFASettings from a dict -model_mfa_settings_from_dict = ModelMFASettings.from_dict(model_mfa_settings_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelPrivacy.md b/tests/moddns_client/docs/ModelPrivacy.md deleted file mode 100644 index 34891c35..00000000 --- a/tests/moddns_client/docs/ModelPrivacy.md +++ /dev/null @@ -1,33 +0,0 @@ -# ModelPrivacy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**blocklists** | **List[str]** | | [optional] -**blocklists_subdomains_rule** | **str** | | -**custom_rules_subdomains_rule** | **str** | | [optional] -**default_rule** | **str** | | -**services** | **List[str]** | | [optional] - -## Example - -```python -from moddns.models.model_privacy import ModelPrivacy - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelPrivacy from a JSON string -model_privacy_instance = ModelPrivacy.from_json(json) -# print the JSON string representation of the object -print(ModelPrivacy.to_json()) - -# convert the object into a dict -model_privacy_dict = model_privacy_instance.to_dict() -# create an instance of ModelPrivacy from a dict -model_privacy_from_dict = ModelPrivacy.from_dict(model_privacy_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelProfile.md b/tests/moddns_client/docs/ModelProfile.md deleted file mode 100644 index c4f493c2..00000000 --- a/tests/moddns_client/docs/ModelProfile.md +++ /dev/null @@ -1,33 +0,0 @@ -# ModelProfile - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**account_id** | **str** | | -**id** | **str** | | -**name** | **str** | | -**profile_id** | **str** | | -**settings** | [**ModelProfileSettings**](ModelProfileSettings.md) | | - -## Example - -```python -from moddns.models.model_profile import ModelProfile - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelProfile from a JSON string -model_profile_instance = ModelProfile.from_json(json) -# print the JSON string representation of the object -print(ModelProfile.to_json()) - -# convert the object into a dict -model_profile_dict = model_profile_instance.to_dict() -# create an instance of ModelProfile from a dict -model_profile_from_dict = ModelProfile.from_dict(model_profile_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelProfileSettings.md b/tests/moddns_client/docs/ModelProfileSettings.md deleted file mode 100644 index d0b76c73..00000000 --- a/tests/moddns_client/docs/ModelProfileSettings.md +++ /dev/null @@ -1,35 +0,0 @@ -# ModelProfileSettings - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**advanced** | [**ModelAdvanced**](ModelAdvanced.md) | | -**custom_rules** | [**List[ModelCustomRule]**](ModelCustomRule.md) | | [optional] -**logs** | [**ModelLogsSettings**](ModelLogsSettings.md) | | -**privacy** | [**ModelPrivacy**](ModelPrivacy.md) | | -**profile_id** | **str** | | -**security** | [**ModelSecurity**](ModelSecurity.md) | | -**statistics** | [**ModelStatisticsSettings**](ModelStatisticsSettings.md) | | - -## Example - -```python -from moddns.models.model_profile_settings import ModelProfileSettings - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelProfileSettings from a JSON string -model_profile_settings_instance = ModelProfileSettings.from_json(json) -# print the JSON string representation of the object -print(ModelProfileSettings.to_json()) - -# convert the object into a dict -model_profile_settings_dict = model_profile_settings_instance.to_dict() -# create an instance of ModelProfileSettings from a dict -model_profile_settings_from_dict = ModelProfileSettings.from_dict(model_profile_settings_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelProfileUpdate.md b/tests/moddns_client/docs/ModelProfileUpdate.md deleted file mode 100644 index f275d10e..00000000 --- a/tests/moddns_client/docs/ModelProfileUpdate.md +++ /dev/null @@ -1,31 +0,0 @@ -# ModelProfileUpdate - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**operation** | **str** | | -**path** | **str** | | -**value** | **object** | | - -## Example - -```python -from moddns.models.model_profile_update import ModelProfileUpdate - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelProfileUpdate from a JSON string -model_profile_update_instance = ModelProfileUpdate.from_json(json) -# print the JSON string representation of the object -print(ModelProfileUpdate.to_json()) - -# convert the object into a dict -model_profile_update_dict = model_profile_update_instance.to_dict() -# create an instance of ModelProfileUpdate from a dict -model_profile_update_from_dict = ModelProfileUpdate.from_dict(model_profile_update_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelQueryLog.md b/tests/moddns_client/docs/ModelQueryLog.md deleted file mode 100644 index 5b8fb15c..00000000 --- a/tests/moddns_client/docs/ModelQueryLog.md +++ /dev/null @@ -1,37 +0,0 @@ -# ModelQueryLog - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_ip** | **str** | | [optional] -**device_id** | **str** | | [optional] -**dns_request** | [**ModelDNSRequest**](ModelDNSRequest.md) | | [optional] -**id** | **str** | | [optional] -**profile_id** | **str** | | [optional] -**protocol** | **str** | | [optional] -**reasons** | **List[str]** | | [optional] -**status** | **str** | | [optional] -**timestamp** | **str** | | [optional] - -## Example - -```python -from moddns.models.model_query_log import ModelQueryLog - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelQueryLog from a JSON string -model_query_log_instance = ModelQueryLog.from_json(json) -# print the JSON string representation of the object -print(ModelQueryLog.to_json()) - -# convert the object into a dict -model_query_log_dict = model_query_log_instance.to_dict() -# create an instance of ModelQueryLog from a dict -model_query_log_from_dict = ModelQueryLog.from_dict(model_query_log_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelRetention.md b/tests/moddns_client/docs/ModelRetention.md deleted file mode 100644 index 50922ec4..00000000 --- a/tests/moddns_client/docs/ModelRetention.md +++ /dev/null @@ -1,18 +0,0 @@ -# ModelRetention - - -## Enum - -* `ENUM_1H` (value: `'1h'`) - -* `ENUM_6H` (value: `'6h'`) - -* `ENUM_1D` (value: `'1d'`) - -* `ENUM_1W` (value: `'1w'`) - -* `ENUM_1M` (value: `'1m'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelSecurity.md b/tests/moddns_client/docs/ModelSecurity.md deleted file mode 100644 index 13ed0bc9..00000000 --- a/tests/moddns_client/docs/ModelSecurity.md +++ /dev/null @@ -1,29 +0,0 @@ -# ModelSecurity - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dnssec** | [**ModelDNSSECSettings**](ModelDNSSECSettings.md) | | - -## Example - -```python -from moddns.models.model_security import ModelSecurity - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelSecurity from a JSON string -model_security_instance = ModelSecurity.from_json(json) -# print the JSON string representation of the object -print(ModelSecurity.to_json()) - -# convert the object into a dict -model_security_dict = model_security_instance.to_dict() -# create an instance of ModelSecurity from a dict -model_security_from_dict = ModelSecurity.from_dict(model_security_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelStatisticsAggregated.md b/tests/moddns_client/docs/ModelStatisticsAggregated.md deleted file mode 100644 index 9c1f8f22..00000000 --- a/tests/moddns_client/docs/ModelStatisticsAggregated.md +++ /dev/null @@ -1,29 +0,0 @@ -# ModelStatisticsAggregated - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**total** | **int** | Note: \"total\" needs to be the same as in the repository mongo query | [optional] - -## Example - -```python -from moddns.models.model_statistics_aggregated import ModelStatisticsAggregated - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelStatisticsAggregated from a JSON string -model_statistics_aggregated_instance = ModelStatisticsAggregated.from_json(json) -# print the JSON string representation of the object -print(ModelStatisticsAggregated.to_json()) - -# convert the object into a dict -model_statistics_aggregated_dict = model_statistics_aggregated_instance.to_dict() -# create an instance of ModelStatisticsAggregated from a dict -model_statistics_aggregated_from_dict = ModelStatisticsAggregated.from_dict(model_statistics_aggregated_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelStatisticsSettings.md b/tests/moddns_client/docs/ModelStatisticsSettings.md deleted file mode 100644 index b8f3258d..00000000 --- a/tests/moddns_client/docs/ModelStatisticsSettings.md +++ /dev/null @@ -1,29 +0,0 @@ -# ModelStatisticsSettings - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | | - -## Example - -```python -from moddns.models.model_statistics_settings import ModelStatisticsSettings - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelStatisticsSettings from a JSON string -model_statistics_settings_instance = ModelStatisticsSettings.from_json(json) -# print the JSON string representation of the object -print(ModelStatisticsSettings.to_json()) - -# convert the object into a dict -model_statistics_settings_dict = model_statistics_settings_instance.to_dict() -# create an instance of ModelStatisticsSettings from a dict -model_statistics_settings_from_dict = ModelStatisticsSettings.from_dict(model_statistics_settings_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelSubscription.md b/tests/moddns_client/docs/ModelSubscription.md deleted file mode 100644 index 68ae3631..00000000 --- a/tests/moddns_client/docs/ModelSubscription.md +++ /dev/null @@ -1,33 +0,0 @@ -# ModelSubscription - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active_until** | **str** | | [optional] -**outage** | **bool** | | [optional] -**status** | [**ModelSubscriptionStatus**](ModelSubscriptionStatus.md) | Computed fields (not persisted) | [optional] -**tier** | **str** | | [optional] -**updated_at** | **str** | | [optional] - -## Example - -```python -from moddns.models.model_subscription import ModelSubscription - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelSubscription from a JSON string -model_subscription_instance = ModelSubscription.from_json(json) -# print the JSON string representation of the object -print(ModelSubscription.to_json()) - -# convert the object into a dict -model_subscription_dict = model_subscription_instance.to_dict() -# create an instance of ModelSubscription from a dict -model_subscription_from_dict = ModelSubscription.from_dict(model_subscription_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelSubscriptionStatus.md b/tests/moddns_client/docs/ModelSubscriptionStatus.md deleted file mode 100644 index db501a0e..00000000 --- a/tests/moddns_client/docs/ModelSubscriptionStatus.md +++ /dev/null @@ -1,16 +0,0 @@ -# ModelSubscriptionStatus - - -## Enum - -* `ACTIVE` (value: `'active'`) - -* `GRACE_PERIOD` (value: `'grace_period'`) - -* `LIMITED_ACCESS` (value: `'limited_access'`) - -* `PENDING_DELETE` (value: `'pending_delete'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelTOTPBackup.md b/tests/moddns_client/docs/ModelTOTPBackup.md deleted file mode 100644 index 7dbcdba4..00000000 --- a/tests/moddns_client/docs/ModelTOTPBackup.md +++ /dev/null @@ -1,29 +0,0 @@ -# ModelTOTPBackup - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**backup_codes** | **List[str]** | | [optional] - -## Example - -```python -from moddns.models.model_totp_backup import ModelTOTPBackup - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelTOTPBackup from a JSON string -model_totp_backup_instance = ModelTOTPBackup.from_json(json) -# print the JSON string representation of the object -print(ModelTOTPBackup.to_json()) - -# convert the object into a dict -model_totp_backup_dict = model_totp_backup_instance.to_dict() -# create an instance of ModelTOTPBackup from a dict -model_totp_backup_from_dict = ModelTOTPBackup.from_dict(model_totp_backup_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelTOTPNew.md b/tests/moddns_client/docs/ModelTOTPNew.md deleted file mode 100644 index fb091ebf..00000000 --- a/tests/moddns_client/docs/ModelTOTPNew.md +++ /dev/null @@ -1,31 +0,0 @@ -# ModelTOTPNew - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**account** | **str** | | [optional] -**secret** | **str** | | [optional] -**uri** | **str** | | [optional] - -## Example - -```python -from moddns.models.model_totp_new import ModelTOTPNew - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelTOTPNew from a JSON string -model_totp_new_instance = ModelTOTPNew.from_json(json) -# print the JSON string representation of the object -print(ModelTOTPNew.to_json()) - -# convert the object into a dict -model_totp_new_dict = model_totp_new_instance.to_dict() -# create an instance of ModelTOTPNew from a dict -model_totp_new_from_dict = ModelTOTPNew.from_dict(model_totp_new_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ModelTotpSettings.md b/tests/moddns_client/docs/ModelTotpSettings.md deleted file mode 100644 index 568e783e..00000000 --- a/tests/moddns_client/docs/ModelTotpSettings.md +++ /dev/null @@ -1,29 +0,0 @@ -# ModelTotpSettings - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**enabled** | **bool** | Indicates if TOTP is enabled. | [optional] - -## Example - -```python -from moddns.models.model_totp_settings import ModelTotpSettings - -# TODO update the JSON string below -json = "{}" -# create an instance of ModelTotpSettings from a JSON string -model_totp_settings_instance = ModelTotpSettings.from_json(json) -# print the JSON string representation of the object -print(ModelTotpSettings.to_json()) - -# convert the object into a dict -model_totp_settings_dict = model_totp_settings_instance.to_dict() -# create an instance of ModelTotpSettings from a dict -model_totp_settings_from_dict = ModelTotpSettings.from_dict(model_totp_settings_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/PASessionApi.md b/tests/moddns_client/docs/PASessionApi.md deleted file mode 100644 index 9683c1b9..00000000 --- a/tests/moddns_client/docs/PASessionApi.md +++ /dev/null @@ -1,147 +0,0 @@ -# moddns.PASessionApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_pasession_add_post**](PASessionApi.md#api_v1_pasession_add_post) | **POST** /api/v1/pasession/add | Add pre-auth session -[**api_v1_pasession_rotate_put**](PASessionApi.md#api_v1_pasession_rotate_put) | **PUT** /api/v1/pasession/rotate | Rotate pre-auth session ID - - -# **api_v1_pasession_add_post** -> Dict[str, object] api_v1_pasession_add_post(body) - -Add pre-auth session - -Add a pre-auth session to cache (called by preauth service) - -### Example - - -```python -import moddns -from moddns.models.requests_pa_session_req import RequestsPASessionReq -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.PASessionApi(api_client) - body = moddns.RequestsPASessionReq() # RequestsPASessionReq | Pre-auth session request - - try: - # Add pre-auth session - api_response = api_instance.api_v1_pasession_add_post(body) - print("The response of PASessionApi->api_v1_pasession_add_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling PASessionApi->api_v1_pasession_add_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsPASessionReq**](RequestsPASessionReq.md)| Pre-auth session request | - -### Return type - -**Dict[str, object]** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | - -[[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) - -# **api_v1_pasession_rotate_put** -> api_v1_pasession_rotate_put(body) - -Rotate pre-auth session ID - -Rotate pre-auth session ID and set new ID as cookie - -### Example - - -```python -import moddns -from moddns.models.requests_rotate_pa_session_req import RequestsRotatePASessionReq -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.PASessionApi(api_client) - body = moddns.RequestsRotatePASessionReq() # RequestsRotatePASessionReq | Rotate pre-auth session request - - try: - # Rotate pre-auth session ID - api_instance.api_v1_pasession_rotate_put(body) - except Exception as e: - print("Exception when calling PASessionApi->api_v1_pasession_rotate_put: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsRotatePASessionReq**](RequestsRotatePASessionReq.md)| Rotate pre-auth session request | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | - -[[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/tests/moddns_client/docs/ProfileApi.md b/tests/moddns_client/docs/ProfileApi.md deleted file mode 100644 index 78e08466..00000000 --- a/tests/moddns_client/docs/ProfileApi.md +++ /dev/null @@ -1,867 +0,0 @@ -# moddns.ProfileApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_profiles_get**](ProfileApi.md#api_v1_profiles_get) | **GET** /api/v1/profiles | Get profiles data -[**api_v1_profiles_id_blocklists_delete**](ProfileApi.md#api_v1_profiles_id_blocklists_delete) | **DELETE** /api/v1/profiles/{id}/blocklists | Disable blocklists -[**api_v1_profiles_id_blocklists_post**](ProfileApi.md#api_v1_profiles_id_blocklists_post) | **POST** /api/v1/profiles/{id}/blocklists | Enable blocklists -[**api_v1_profiles_id_custom_rules_batch_post**](ProfileApi.md#api_v1_profiles_id_custom_rules_batch_post) | **POST** /api/v1/profiles/{id}/custom_rules/batch | Create profile custom rules (batch) -[**api_v1_profiles_id_custom_rules_custom_rule_id_delete**](ProfileApi.md#api_v1_profiles_id_custom_rules_custom_rule_id_delete) | **DELETE** /api/v1/profiles/{id}/custom_rules/{custom_rule_id} | Delete profile custom rule -[**api_v1_profiles_id_custom_rules_post**](ProfileApi.md#api_v1_profiles_id_custom_rules_post) | **POST** /api/v1/profiles/{id}/custom_rules | Create profile custom rule -[**api_v1_profiles_id_delete**](ProfileApi.md#api_v1_profiles_id_delete) | **DELETE** /api/v1/profiles/{id} | Delete profile -[**api_v1_profiles_id_get**](ProfileApi.md#api_v1_profiles_id_get) | **GET** /api/v1/profiles/{id} | Get profile data -[**api_v1_profiles_id_patch**](ProfileApi.md#api_v1_profiles_id_patch) | **PATCH** /api/v1/profiles/{id} | Update profile -[**api_v1_profiles_id_services_delete**](ProfileApi.md#api_v1_profiles_id_services_delete) | **DELETE** /api/v1/profiles/{id}/services | Disable services -[**api_v1_profiles_id_services_post**](ProfileApi.md#api_v1_profiles_id_services_post) | **POST** /api/v1/profiles/{id}/services | Enable services -[**api_v1_profiles_post**](ProfileApi.md#api_v1_profiles_post) | **POST** /api/v1/profiles | Create profile - - -# **api_v1_profiles_get** -> List[ModelProfile] api_v1_profiles_get() - -Get profiles data - -Get profiles data - -### Example - - -```python -import moddns -from moddns.models.model_profile import ModelProfile -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - - try: - # Get profiles data - api_response = api_instance.api_v1_profiles_get() - print("The response of ProfileApi->api_v1_profiles_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_get: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**List[ModelProfile]**](ModelProfile.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_blocklists_delete** -> api_v1_profiles_id_blocklists_delete(id, blocklist_ids) - -Disable blocklists - -Disable blocklists for a profile - -### Example - - -```python -import moddns -from moddns.models.api_blocklists_updates import ApiBlocklistsUpdates -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - blocklist_ids = moddns.ApiBlocklistsUpdates() # ApiBlocklistsUpdates | Blocklists to disable - - try: - # Disable blocklists - api_instance.api_v1_profiles_id_blocklists_delete(id, blocklist_ids) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_blocklists_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **blocklist_ids** | [**ApiBlocklistsUpdates**](ApiBlocklistsUpdates.md)| Blocklists to disable | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_blocklists_post** -> api_v1_profiles_id_blocklists_post(id, blocklist_ids) - -Enable blocklists - -Enable blocklists for a profile - -### Example - - -```python -import moddns -from moddns.models.api_blocklists_updates import ApiBlocklistsUpdates -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - blocklist_ids = moddns.ApiBlocklistsUpdates() # ApiBlocklistsUpdates | Blocklists to disable - - try: - # Enable blocklists - api_instance.api_v1_profiles_id_blocklists_post(id, blocklist_ids) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_blocklists_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **blocklist_ids** | [**ApiBlocklistsUpdates**](ApiBlocklistsUpdates.md)| Blocklists to disable | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_custom_rules_batch_post** -> ResponsesCreateProfileCustomRulesBatchResponse api_v1_profiles_id_custom_rules_batch_post(id, body) - -Create profile custom rules (batch) - -Create up to 20 custom rules for a profile in a single request - -### Example - - -```python -import moddns -from moddns.models.requests_create_profile_custom_rules_batch_body import RequestsCreateProfileCustomRulesBatchBody -from moddns.models.responses_create_profile_custom_rules_batch_response import ResponsesCreateProfileCustomRulesBatchResponse -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - body = moddns.RequestsCreateProfileCustomRulesBatchBody() # RequestsCreateProfileCustomRulesBatchBody | Create custom rules batch request - - try: - # Create profile custom rules (batch) - api_response = api_instance.api_v1_profiles_id_custom_rules_batch_post(id, body) - print("The response of ProfileApi->api_v1_profiles_id_custom_rules_batch_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_custom_rules_batch_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **body** | [**RequestsCreateProfileCustomRulesBatchBody**](RequestsCreateProfileCustomRulesBatchBody.md)| Create custom rules batch request | - -### Return type - -[**ResponsesCreateProfileCustomRulesBatchResponse**](ResponsesCreateProfileCustomRulesBatchResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_custom_rules_custom_rule_id_delete** -> api_v1_profiles_id_custom_rules_custom_rule_id_delete(id, custom_rule_id) - -Delete profile custom rule - -Delete profile custom rule - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - custom_rule_id = 'custom_rule_id_example' # str | Custom rule ID - - try: - # Delete profile custom rule - api_instance.api_v1_profiles_id_custom_rules_custom_rule_id_delete(id, custom_rule_id) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_custom_rules_custom_rule_id_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **custom_rule_id** | **str**| Custom rule ID | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_custom_rules_post** -> api_v1_profiles_id_custom_rules_post(id, body) - -Create profile custom rule - -Create profile custom rule - -### Example - - -```python -import moddns -from moddns.models.requests_create_profile_custom_rule_body import RequestsCreateProfileCustomRuleBody -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - body = moddns.RequestsCreateProfileCustomRuleBody() # RequestsCreateProfileCustomRuleBody | Create custom rule request - - try: - # Create profile custom rule - api_instance.api_v1_profiles_id_custom_rules_post(id, body) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_custom_rules_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **body** | [**RequestsCreateProfileCustomRuleBody**](RequestsCreateProfileCustomRuleBody.md)| Create custom rule request | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_delete** -> api_v1_profiles_id_delete(id) - -Delete profile - -Delete profile - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - - try: - # Delete profile - api_instance.api_v1_profiles_id_delete(id) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_get** -> ModelProfile api_v1_profiles_id_get(id) - -Get profile data - -Get profile data - -### Example - - -```python -import moddns -from moddns.models.model_profile import ModelProfile -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - - try: - # Get profile data - api_response = api_instance.api_v1_profiles_id_get(id) - print("The response of ProfileApi->api_v1_profiles_id_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - -### Return type - -[**ModelProfile**](ModelProfile.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_patch** -> ModelProfile api_v1_profiles_id_patch(id, body) - -Update profile - -Update profile - -### Example - - -```python -import moddns -from moddns.models.model_profile import ModelProfile -from moddns.models.requests_profile_updates import RequestsProfileUpdates -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - body = moddns.RequestsProfileUpdates() # RequestsProfileUpdates | Update profile - - try: - # Update profile - api_response = api_instance.api_v1_profiles_id_patch(id, body) - print("The response of ProfileApi->api_v1_profiles_id_patch:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_patch: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **body** | [**RequestsProfileUpdates**](RequestsProfileUpdates.md)| Update profile | - -### Return type - -[**ModelProfile**](ModelProfile.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_services_delete** -> api_v1_profiles_id_services_delete(id, service_ids) - -Disable services - -Disable services for a profile (removes from privacy.services) - -### Example - - -```python -import moddns -from moddns.models.api_services_updates import ApiServicesUpdates -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - service_ids = moddns.ApiServicesUpdates() # ApiServicesUpdates | Services to disable - - try: - # Disable services - api_instance.api_v1_profiles_id_services_delete(id, service_ids) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_services_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **service_ids** | [**ApiServicesUpdates**](ApiServicesUpdates.md)| Services to disable | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_services_post** -> api_v1_profiles_id_services_post(id, service_ids) - -Enable services - -Enable services for a profile (adds to privacy.services) - -### Example - - -```python -import moddns -from moddns.models.api_services_updates import ApiServicesUpdates -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - id = 'id_example' # str | Profile ID - service_ids = moddns.ApiServicesUpdates() # ApiServicesUpdates | Services to enable - - try: - # Enable services - api_instance.api_v1_profiles_id_services_post(id, service_ids) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_id_services_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **service_ids** | [**ApiServicesUpdates**](ApiServicesUpdates.md)| Services to enable | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_post** -> ModelProfile api_v1_profiles_post(body) - -Create profile - -Create profile - -### Example - - -```python -import moddns -from moddns.models.api_create_profile_body import ApiCreateProfileBody -from moddns.models.model_profile import ModelProfile -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ProfileApi(api_client) - body = moddns.ApiCreateProfileBody() # ApiCreateProfileBody | Create profile request - - try: - # Create profile - api_response = api_instance.api_v1_profiles_post(body) - print("The response of ProfileApi->api_v1_profiles_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ProfileApi->api_v1_profiles_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ApiCreateProfileBody**](ApiCreateProfileBody.md)| Create profile request | - -### Return type - -[**ModelProfile**](ModelProfile.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/ProtocolAttestationFormat.md b/tests/moddns_client/docs/ProtocolAttestationFormat.md deleted file mode 100644 index b2badc8b..00000000 --- a/tests/moddns_client/docs/ProtocolAttestationFormat.md +++ /dev/null @@ -1,22 +0,0 @@ -# ProtocolAttestationFormat - - -## Enum - -* `PACKED` (value: `'packed'`) - -* `TPM` (value: `'tpm'`) - -* `ANDROID_MINUS_KEY` (value: `'android-key'`) - -* `ANDROID_MINUS_SAFETYNET` (value: `'android-safetynet'`) - -* `FIDO_MINUS_U2F` (value: `'fido-u2f'`) - -* `APPLE` (value: `'apple'`) - -* `NONE` (value: `'none'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolAuthenticatorAttachment.md b/tests/moddns_client/docs/ProtocolAuthenticatorAttachment.md deleted file mode 100644 index 589e2a00..00000000 --- a/tests/moddns_client/docs/ProtocolAuthenticatorAttachment.md +++ /dev/null @@ -1,12 +0,0 @@ -# ProtocolAuthenticatorAttachment - - -## Enum - -* `PLATFORM` (value: `'platform'`) - -* `CROSS_MINUS_PLATFORM` (value: `'cross-platform'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolAuthenticatorSelection.md b/tests/moddns_client/docs/ProtocolAuthenticatorSelection.md deleted file mode 100644 index 6f09c604..00000000 --- a/tests/moddns_client/docs/ProtocolAuthenticatorSelection.md +++ /dev/null @@ -1,32 +0,0 @@ -# ProtocolAuthenticatorSelection - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**authenticator_attachment** | [**ProtocolAuthenticatorAttachment**](ProtocolAuthenticatorAttachment.md) | AuthenticatorAttachment If this member is present, eligible authenticators are filtered to only authenticators attached with the specified AuthenticatorAttachment enum. | [optional] -**require_resident_key** | **bool** | RequireResidentKey this member describes the Relying Party's requirements regarding resident credentials. If the parameter is set to true, the authenticator MUST create a client-side-resident public key credential source when creating a public key credential. | [optional] -**resident_key** | [**ProtocolResidentKeyRequirement**](ProtocolResidentKeyRequirement.md) | ResidentKey this member describes the Relying Party's requirements regarding resident credentials per Webauthn Level 2. | [optional] -**user_verification** | [**ProtocolUserVerificationRequirement**](ProtocolUserVerificationRequirement.md) | UserVerification This member describes the Relying Party's requirements regarding user verification for the create() operation. Eligible authenticators are filtered to only those capable of satisfying this requirement. | [optional] - -## Example - -```python -from moddns.models.protocol_authenticator_selection import ProtocolAuthenticatorSelection - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolAuthenticatorSelection from a JSON string -protocol_authenticator_selection_instance = ProtocolAuthenticatorSelection.from_json(json) -# print the JSON string representation of the object -print(ProtocolAuthenticatorSelection.to_json()) - -# convert the object into a dict -protocol_authenticator_selection_dict = protocol_authenticator_selection_instance.to_dict() -# create an instance of ProtocolAuthenticatorSelection from a dict -protocol_authenticator_selection_from_dict = ProtocolAuthenticatorSelection.from_dict(protocol_authenticator_selection_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolAuthenticatorTransport.md b/tests/moddns_client/docs/ProtocolAuthenticatorTransport.md deleted file mode 100644 index 05d044d7..00000000 --- a/tests/moddns_client/docs/ProtocolAuthenticatorTransport.md +++ /dev/null @@ -1,20 +0,0 @@ -# ProtocolAuthenticatorTransport - - -## Enum - -* `USB` (value: `'usb'`) - -* `NFC` (value: `'nfc'`) - -* `BLE` (value: `'ble'`) - -* `SMART_MINUS_CARD` (value: `'smart-card'`) - -* `HYBRID` (value: `'hybrid'`) - -* `INTERNAL` (value: `'internal'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolConveyancePreference.md b/tests/moddns_client/docs/ProtocolConveyancePreference.md deleted file mode 100644 index ef22c86b..00000000 --- a/tests/moddns_client/docs/ProtocolConveyancePreference.md +++ /dev/null @@ -1,16 +0,0 @@ -# ProtocolConveyancePreference - - -## Enum - -* `NONE` (value: `'none'`) - -* `INDIRECT` (value: `'indirect'`) - -* `DIRECT` (value: `'direct'`) - -* `ENTERPRISE` (value: `'enterprise'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolCredentialAssertion.md b/tests/moddns_client/docs/ProtocolCredentialAssertion.md deleted file mode 100644 index d6deaea7..00000000 --- a/tests/moddns_client/docs/ProtocolCredentialAssertion.md +++ /dev/null @@ -1,30 +0,0 @@ -# ProtocolCredentialAssertion - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mediation** | [**ProtocolCredentialMediationRequirement**](ProtocolCredentialMediationRequirement.md) | | [optional] -**public_key** | [**ProtocolPublicKeyCredentialRequestOptions**](ProtocolPublicKeyCredentialRequestOptions.md) | | [optional] - -## Example - -```python -from moddns.models.protocol_credential_assertion import ProtocolCredentialAssertion - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolCredentialAssertion from a JSON string -protocol_credential_assertion_instance = ProtocolCredentialAssertion.from_json(json) -# print the JSON string representation of the object -print(ProtocolCredentialAssertion.to_json()) - -# convert the object into a dict -protocol_credential_assertion_dict = protocol_credential_assertion_instance.to_dict() -# create an instance of ProtocolCredentialAssertion from a dict -protocol_credential_assertion_from_dict = ProtocolCredentialAssertion.from_dict(protocol_credential_assertion_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolCredentialCreation.md b/tests/moddns_client/docs/ProtocolCredentialCreation.md deleted file mode 100644 index ff5e8dcd..00000000 --- a/tests/moddns_client/docs/ProtocolCredentialCreation.md +++ /dev/null @@ -1,30 +0,0 @@ -# ProtocolCredentialCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mediation** | [**ProtocolCredentialMediationRequirement**](ProtocolCredentialMediationRequirement.md) | | [optional] -**public_key** | [**ProtocolPublicKeyCredentialCreationOptions**](ProtocolPublicKeyCredentialCreationOptions.md) | | [optional] - -## Example - -```python -from moddns.models.protocol_credential_creation import ProtocolCredentialCreation - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolCredentialCreation from a JSON string -protocol_credential_creation_instance = ProtocolCredentialCreation.from_json(json) -# print the JSON string representation of the object -print(ProtocolCredentialCreation.to_json()) - -# convert the object into a dict -protocol_credential_creation_dict = protocol_credential_creation_instance.to_dict() -# create an instance of ProtocolCredentialCreation from a dict -protocol_credential_creation_from_dict = ProtocolCredentialCreation.from_dict(protocol_credential_creation_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolCredentialDescriptor.md b/tests/moddns_client/docs/ProtocolCredentialDescriptor.md deleted file mode 100644 index 4c9eff94..00000000 --- a/tests/moddns_client/docs/ProtocolCredentialDescriptor.md +++ /dev/null @@ -1,31 +0,0 @@ -# ProtocolCredentialDescriptor - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **List[int]** | CredentialID The ID of a credential to allow/disallow. | [optional] -**transports** | [**List[ProtocolAuthenticatorTransport]**](ProtocolAuthenticatorTransport.md) | The authenticator transports that can be used. | [optional] -**type** | [**ProtocolCredentialType**](ProtocolCredentialType.md) | The valid credential types. | [optional] - -## Example - -```python -from moddns.models.protocol_credential_descriptor import ProtocolCredentialDescriptor - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolCredentialDescriptor from a JSON string -protocol_credential_descriptor_instance = ProtocolCredentialDescriptor.from_json(json) -# print the JSON string representation of the object -print(ProtocolCredentialDescriptor.to_json()) - -# convert the object into a dict -protocol_credential_descriptor_dict = protocol_credential_descriptor_instance.to_dict() -# create an instance of ProtocolCredentialDescriptor from a dict -protocol_credential_descriptor_from_dict = ProtocolCredentialDescriptor.from_dict(protocol_credential_descriptor_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolCredentialMediationRequirement.md b/tests/moddns_client/docs/ProtocolCredentialMediationRequirement.md deleted file mode 100644 index 0123eda0..00000000 --- a/tests/moddns_client/docs/ProtocolCredentialMediationRequirement.md +++ /dev/null @@ -1,16 +0,0 @@ -# ProtocolCredentialMediationRequirement - - -## Enum - -* `SILENT` (value: `'silent'`) - -* `OPTIONAL` (value: `'optional'`) - -* `CONDITIONAL` (value: `'conditional'`) - -* `REQUIRED` (value: `'required'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolCredentialParameter.md b/tests/moddns_client/docs/ProtocolCredentialParameter.md deleted file mode 100644 index e3be13d5..00000000 --- a/tests/moddns_client/docs/ProtocolCredentialParameter.md +++ /dev/null @@ -1,30 +0,0 @@ -# ProtocolCredentialParameter - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**alg** | [**WebauthncoseCOSEAlgorithmIdentifier**](WebauthncoseCOSEAlgorithmIdentifier.md) | | [optional] -**type** | [**ProtocolCredentialType**](ProtocolCredentialType.md) | | [optional] - -## Example - -```python -from moddns.models.protocol_credential_parameter import ProtocolCredentialParameter - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolCredentialParameter from a JSON string -protocol_credential_parameter_instance = ProtocolCredentialParameter.from_json(json) -# print the JSON string representation of the object -print(ProtocolCredentialParameter.to_json()) - -# convert the object into a dict -protocol_credential_parameter_dict = protocol_credential_parameter_instance.to_dict() -# create an instance of ProtocolCredentialParameter from a dict -protocol_credential_parameter_from_dict = ProtocolCredentialParameter.from_dict(protocol_credential_parameter_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolCredentialType.md b/tests/moddns_client/docs/ProtocolCredentialType.md deleted file mode 100644 index bd19d3b1..00000000 --- a/tests/moddns_client/docs/ProtocolCredentialType.md +++ /dev/null @@ -1,10 +0,0 @@ -# ProtocolCredentialType - - -## Enum - -* `PUBLIC_MINUS_KEY` (value: `'public-key'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolPublicKeyCredentialCreationOptions.md b/tests/moddns_client/docs/ProtocolPublicKeyCredentialCreationOptions.md deleted file mode 100644 index ce9429a7..00000000 --- a/tests/moddns_client/docs/ProtocolPublicKeyCredentialCreationOptions.md +++ /dev/null @@ -1,39 +0,0 @@ -# ProtocolPublicKeyCredentialCreationOptions - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attestation** | [**ProtocolConveyancePreference**](ProtocolConveyancePreference.md) | | [optional] -**attestation_formats** | [**List[ProtocolAttestationFormat]**](ProtocolAttestationFormat.md) | | [optional] -**authenticator_selection** | [**ProtocolAuthenticatorSelection**](ProtocolAuthenticatorSelection.md) | | [optional] -**challenge** | **List[int]** | | [optional] -**exclude_credentials** | [**List[ProtocolCredentialDescriptor]**](ProtocolCredentialDescriptor.md) | | [optional] -**extensions** | **Dict[str, object]** | | [optional] -**hints** | [**List[ProtocolPublicKeyCredentialHints]**](ProtocolPublicKeyCredentialHints.md) | | [optional] -**pub_key_cred_params** | [**List[ProtocolCredentialParameter]**](ProtocolCredentialParameter.md) | | [optional] -**rp** | [**ProtocolRelyingPartyEntity**](ProtocolRelyingPartyEntity.md) | | [optional] -**timeout** | **int** | | [optional] -**user** | [**ProtocolUserEntity**](ProtocolUserEntity.md) | | [optional] - -## Example - -```python -from moddns.models.protocol_public_key_credential_creation_options import ProtocolPublicKeyCredentialCreationOptions - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolPublicKeyCredentialCreationOptions from a JSON string -protocol_public_key_credential_creation_options_instance = ProtocolPublicKeyCredentialCreationOptions.from_json(json) -# print the JSON string representation of the object -print(ProtocolPublicKeyCredentialCreationOptions.to_json()) - -# convert the object into a dict -protocol_public_key_credential_creation_options_dict = protocol_public_key_credential_creation_options_instance.to_dict() -# create an instance of ProtocolPublicKeyCredentialCreationOptions from a dict -protocol_public_key_credential_creation_options_from_dict = ProtocolPublicKeyCredentialCreationOptions.from_dict(protocol_public_key_credential_creation_options_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolPublicKeyCredentialHints.md b/tests/moddns_client/docs/ProtocolPublicKeyCredentialHints.md deleted file mode 100644 index ae951655..00000000 --- a/tests/moddns_client/docs/ProtocolPublicKeyCredentialHints.md +++ /dev/null @@ -1,14 +0,0 @@ -# ProtocolPublicKeyCredentialHints - - -## Enum - -* `SECURITY_MINUS_KEY` (value: `'security-key'`) - -* `CLIENT_MINUS_DEVICE` (value: `'client-device'`) - -* `HYBRID` (value: `'hybrid'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolPublicKeyCredentialRequestOptions.md b/tests/moddns_client/docs/ProtocolPublicKeyCredentialRequestOptions.md deleted file mode 100644 index e8e651c6..00000000 --- a/tests/moddns_client/docs/ProtocolPublicKeyCredentialRequestOptions.md +++ /dev/null @@ -1,35 +0,0 @@ -# ProtocolPublicKeyCredentialRequestOptions - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allow_credentials** | [**List[ProtocolCredentialDescriptor]**](ProtocolCredentialDescriptor.md) | | [optional] -**challenge** | **List[int]** | | [optional] -**extensions** | **Dict[str, object]** | | [optional] -**hints** | [**List[ProtocolPublicKeyCredentialHints]**](ProtocolPublicKeyCredentialHints.md) | | [optional] -**rp_id** | **str** | | [optional] -**timeout** | **int** | | [optional] -**user_verification** | [**ProtocolUserVerificationRequirement**](ProtocolUserVerificationRequirement.md) | | [optional] - -## Example - -```python -from moddns.models.protocol_public_key_credential_request_options import ProtocolPublicKeyCredentialRequestOptions - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolPublicKeyCredentialRequestOptions from a JSON string -protocol_public_key_credential_request_options_instance = ProtocolPublicKeyCredentialRequestOptions.from_json(json) -# print the JSON string representation of the object -print(ProtocolPublicKeyCredentialRequestOptions.to_json()) - -# convert the object into a dict -protocol_public_key_credential_request_options_dict = protocol_public_key_credential_request_options_instance.to_dict() -# create an instance of ProtocolPublicKeyCredentialRequestOptions from a dict -protocol_public_key_credential_request_options_from_dict = ProtocolPublicKeyCredentialRequestOptions.from_dict(protocol_public_key_credential_request_options_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolRelyingPartyEntity.md b/tests/moddns_client/docs/ProtocolRelyingPartyEntity.md deleted file mode 100644 index 0c73c0b0..00000000 --- a/tests/moddns_client/docs/ProtocolRelyingPartyEntity.md +++ /dev/null @@ -1,30 +0,0 @@ -# ProtocolRelyingPartyEntity - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | A unique identifier for the Relying Party entity, which sets the RP ID. | [optional] -**name** | **str** | A human-palatable name for the entity. Its function depends on what the PublicKeyCredentialEntity represents: When inherited by PublicKeyCredentialRpEntity it is a human-palatable identifier for the Relying Party, intended only for display. For example, \"ACME Corporation\", \"Wonderful Widgets, Inc.\" or \"ОАО Примертех\". When inherited by PublicKeyCredentialUserEntity, it is a human-palatable identifier for a user account. It is intended only for display, i.e., aiding the user in determining the difference between user accounts with similar displayNames. For example, \"alexm\", \"alex.p.mueller@example.com\" or \"+14255551234\". | [optional] - -## Example - -```python -from moddns.models.protocol_relying_party_entity import ProtocolRelyingPartyEntity - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolRelyingPartyEntity from a JSON string -protocol_relying_party_entity_instance = ProtocolRelyingPartyEntity.from_json(json) -# print the JSON string representation of the object -print(ProtocolRelyingPartyEntity.to_json()) - -# convert the object into a dict -protocol_relying_party_entity_dict = protocol_relying_party_entity_instance.to_dict() -# create an instance of ProtocolRelyingPartyEntity from a dict -protocol_relying_party_entity_from_dict = ProtocolRelyingPartyEntity.from_dict(protocol_relying_party_entity_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolResidentKeyRequirement.md b/tests/moddns_client/docs/ProtocolResidentKeyRequirement.md deleted file mode 100644 index c38d309f..00000000 --- a/tests/moddns_client/docs/ProtocolResidentKeyRequirement.md +++ /dev/null @@ -1,14 +0,0 @@ -# ProtocolResidentKeyRequirement - - -## Enum - -* `DISCOURAGED` (value: `'discouraged'`) - -* `PREFERRED` (value: `'preferred'`) - -* `REQUIRED` (value: `'required'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolUserEntity.md b/tests/moddns_client/docs/ProtocolUserEntity.md deleted file mode 100644 index 883e4e60..00000000 --- a/tests/moddns_client/docs/ProtocolUserEntity.md +++ /dev/null @@ -1,31 +0,0 @@ -# ProtocolUserEntity - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**display_name** | **str** | A human-palatable name for the user account, intended only for display. For example, \"Alex P. Müller\" or \"田中 倫\". The Relying Party SHOULD let the user choose this, and SHOULD NOT restrict the choice more than necessary. | [optional] -**id** | **object** | ID is the user handle of the user account entity. To ensure secure operation, authentication and authorization decisions MUST be made on the basis of this id member, not the displayName nor name members. See Section 6.1 of [RFC8266](https://www.w3.org/TR/webauthn/#biblio-rfc8266). | [optional] -**name** | **str** | A human-palatable name for the entity. Its function depends on what the PublicKeyCredentialEntity represents: When inherited by PublicKeyCredentialRpEntity it is a human-palatable identifier for the Relying Party, intended only for display. For example, \"ACME Corporation\", \"Wonderful Widgets, Inc.\" or \"ОАО Примертех\". When inherited by PublicKeyCredentialUserEntity, it is a human-palatable identifier for a user account. It is intended only for display, i.e., aiding the user in determining the difference between user accounts with similar displayNames. For example, \"alexm\", \"alex.p.mueller@example.com\" or \"+14255551234\". | [optional] - -## Example - -```python -from moddns.models.protocol_user_entity import ProtocolUserEntity - -# TODO update the JSON string below -json = "{}" -# create an instance of ProtocolUserEntity from a JSON string -protocol_user_entity_instance = ProtocolUserEntity.from_json(json) -# print the JSON string representation of the object -print(ProtocolUserEntity.to_json()) - -# convert the object into a dict -protocol_user_entity_dict = protocol_user_entity_instance.to_dict() -# create an instance of ProtocolUserEntity from a dict -protocol_user_entity_from_dict = ProtocolUserEntity.from_dict(protocol_user_entity_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ProtocolUserVerificationRequirement.md b/tests/moddns_client/docs/ProtocolUserVerificationRequirement.md deleted file mode 100644 index 6444525b..00000000 --- a/tests/moddns_client/docs/ProtocolUserVerificationRequirement.md +++ /dev/null @@ -1,14 +0,0 @@ -# ProtocolUserVerificationRequirement - - -## Enum - -* `REQUIRED` (value: `'required'`) - -* `PREFERRED` (value: `'preferred'`) - -* `DISCOURAGED` (value: `'discouraged'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/QueryLogsApi.md b/tests/moddns_client/docs/QueryLogsApi.md deleted file mode 100644 index 26be623f..00000000 --- a/tests/moddns_client/docs/QueryLogsApi.md +++ /dev/null @@ -1,232 +0,0 @@ -# moddns.QueryLogsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_profiles_id_logs_delete**](QueryLogsApi.md#api_v1_profiles_id_logs_delete) | **DELETE** /api/v1/profiles/{id}/logs | Delete profile query logs -[**api_v1_profiles_id_logs_download_get**](QueryLogsApi.md#api_v1_profiles_id_logs_download_get) | **GET** /api/v1/profiles/{id}/logs/download | Download profile query logs -[**api_v1_profiles_id_logs_get**](QueryLogsApi.md#api_v1_profiles_id_logs_get) | **GET** /api/v1/profiles/{id}/logs | Get profile query logs - - -# **api_v1_profiles_id_logs_delete** -> api_v1_profiles_id_logs_delete(id) - -Delete profile query logs - -Delete profile query logs - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.QueryLogsApi(api_client) - id = 'id_example' # str | Profile ID - - try: - # Delete profile query logs - api_instance.api_v1_profiles_id_logs_delete(id) - except Exception as e: - print("Exception when calling QueryLogsApi->api_v1_profiles_id_logs_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: */* - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_logs_download_get** -> List[ModelQueryLog] api_v1_profiles_id_logs_download_get(id) - -Download profile query logs - -Download profile query logs - -### Example - - -```python -import moddns -from moddns.models.model_query_log import ModelQueryLog -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.QueryLogsApi(api_client) - id = 'id_example' # str | Profile ID - - try: - # Download profile query logs - api_response = api_instance.api_v1_profiles_id_logs_download_get(id) - print("The response of QueryLogsApi->api_v1_profiles_id_logs_download_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling QueryLogsApi->api_v1_profiles_id_logs_download_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - -### Return type - -[**List[ModelQueryLog]**](ModelQueryLog.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_profiles_id_logs_get** -> List[ModelQueryLog] api_v1_profiles_id_logs_get(id, page=page, limit=limit, status=status, timespan=timespan, device_id=device_id, search=search, sort_by=sort_by) - -Get profile query logs - -Get profile query logs - -### Example - - -```python -import moddns -from moddns.models.model_query_log import ModelQueryLog -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.QueryLogsApi(api_client) - id = 'id_example' # str | Profile ID - page = 1 # int | specify page number (optional) (default to 1) - limit = 100 # int | specify logs limit by page (optional) (default to 100) - status = '"all"' # str | specify status for query (optional) (default to '"all"') - timespan = '"LAST_1_HOUR"' # str | specify timespan for query (optional) (default to '"LAST_1_HOUR"') - device_id = 'device_id_example' # str | specify device ID for filtering (optional) - search = 'search_example' # str | substring (case-insensitive) match against stored domain; free-form (short inputs may scan more) (optional) - sort_by = created # str | field to sort by (optional) (default to created) - - try: - # Get profile query logs - api_response = api_instance.api_v1_profiles_id_logs_get(id, page=page, limit=limit, status=status, timespan=timespan, device_id=device_id, search=search, sort_by=sort_by) - print("The response of QueryLogsApi->api_v1_profiles_id_logs_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling QueryLogsApi->api_v1_profiles_id_logs_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **page** | **int**| specify page number | [optional] [default to 1] - **limit** | **int**| specify logs limit by page | [optional] [default to 100] - **status** | **str**| specify status for query | [optional] [default to '"all"'] - **timespan** | **str**| specify timespan for query | [optional] [default to '"LAST_1_HOUR"'] - **device_id** | **str**| specify device ID for filtering | [optional] - **search** | **str**| substring (case-insensitive) match against stored domain; free-form (short inputs may scan more) | [optional] - **sort_by** | **str**| field to sort by | [optional] [default to created] - -### Return type - -[**List[ModelQueryLog]**](ModelQueryLog.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/RequestsAccountDeletionRequest.md b/tests/moddns_client/docs/RequestsAccountDeletionRequest.md deleted file mode 100644 index 21390c0f..00000000 --- a/tests/moddns_client/docs/RequestsAccountDeletionRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# RequestsAccountDeletionRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**current_password** | **str** | | [optional] -**deletion_code** | **str** | | -**reauth_token** | **str** | | [optional] - -## Example - -```python -from moddns.models.requests_account_deletion_request import RequestsAccountDeletionRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsAccountDeletionRequest from a JSON string -requests_account_deletion_request_instance = RequestsAccountDeletionRequest.from_json(json) -# print the JSON string representation of the object -print(RequestsAccountDeletionRequest.to_json()) - -# convert the object into a dict -requests_account_deletion_request_dict = requests_account_deletion_request_instance.to_dict() -# create an instance of RequestsAccountDeletionRequest from a dict -requests_account_deletion_request_from_dict = RequestsAccountDeletionRequest.from_dict(requests_account_deletion_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsAccountUpdates.md b/tests/moddns_client/docs/RequestsAccountUpdates.md deleted file mode 100644 index 29876419..00000000 --- a/tests/moddns_client/docs/RequestsAccountUpdates.md +++ /dev/null @@ -1,29 +0,0 @@ -# RequestsAccountUpdates - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**updates** | [**List[ModelAccountUpdate]**](ModelAccountUpdate.md) | | - -## Example - -```python -from moddns.models.requests_account_updates import RequestsAccountUpdates - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsAccountUpdates from a JSON string -requests_account_updates_instance = RequestsAccountUpdates.from_json(json) -# print the JSON string representation of the object -print(RequestsAccountUpdates.to_json()) - -# convert the object into a dict -requests_account_updates_dict = requests_account_updates_instance.to_dict() -# create an instance of RequestsAccountUpdates from a dict -requests_account_updates_from_dict = RequestsAccountUpdates.from_dict(requests_account_updates_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsAdvancedOptionsReq.md b/tests/moddns_client/docs/RequestsAdvancedOptionsReq.md deleted file mode 100644 index 272be70f..00000000 --- a/tests/moddns_client/docs/RequestsAdvancedOptionsReq.md +++ /dev/null @@ -1,30 +0,0 @@ -# RequestsAdvancedOptionsReq - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**encryption_type** | **str** | | -**excluded_wifi_networks** | **str** | ExcludedDomains string `json:\"excluded_domains\"` | [optional] - -## Example - -```python -from moddns.models.requests_advanced_options_req import RequestsAdvancedOptionsReq - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsAdvancedOptionsReq from a JSON string -requests_advanced_options_req_instance = RequestsAdvancedOptionsReq.from_json(json) -# print the JSON string representation of the object -print(RequestsAdvancedOptionsReq.to_json()) - -# convert the object into a dict -requests_advanced_options_req_dict = requests_advanced_options_req_instance.to_dict() -# create an instance of RequestsAdvancedOptionsReq from a dict -requests_advanced_options_req_from_dict = RequestsAdvancedOptionsReq.from_dict(requests_advanced_options_req_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsConfirmResetPasswordBody.md b/tests/moddns_client/docs/RequestsConfirmResetPasswordBody.md deleted file mode 100644 index e2639238..00000000 --- a/tests/moddns_client/docs/RequestsConfirmResetPasswordBody.md +++ /dev/null @@ -1,31 +0,0 @@ -# RequestsConfirmResetPasswordBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**new_password** | **str** | | -**otp** | **str** | | [optional] -**token** | **str** | | - -## Example - -```python -from moddns.models.requests_confirm_reset_password_body import RequestsConfirmResetPasswordBody - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsConfirmResetPasswordBody from a JSON string -requests_confirm_reset_password_body_instance = RequestsConfirmResetPasswordBody.from_json(json) -# print the JSON string representation of the object -print(RequestsConfirmResetPasswordBody.to_json()) - -# convert the object into a dict -requests_confirm_reset_password_body_dict = requests_confirm_reset_password_body_instance.to_dict() -# create an instance of RequestsConfirmResetPasswordBody from a dict -requests_confirm_reset_password_body_from_dict = RequestsConfirmResetPasswordBody.from_dict(requests_confirm_reset_password_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsCreateProfileCustomRuleBody.md b/tests/moddns_client/docs/RequestsCreateProfileCustomRuleBody.md deleted file mode 100644 index ba242b98..00000000 --- a/tests/moddns_client/docs/RequestsCreateProfileCustomRuleBody.md +++ /dev/null @@ -1,30 +0,0 @@ -# RequestsCreateProfileCustomRuleBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **str** | | -**value** | **str** | | - -## Example - -```python -from moddns.models.requests_create_profile_custom_rule_body import RequestsCreateProfileCustomRuleBody - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsCreateProfileCustomRuleBody from a JSON string -requests_create_profile_custom_rule_body_instance = RequestsCreateProfileCustomRuleBody.from_json(json) -# print the JSON string representation of the object -print(RequestsCreateProfileCustomRuleBody.to_json()) - -# convert the object into a dict -requests_create_profile_custom_rule_body_dict = requests_create_profile_custom_rule_body_instance.to_dict() -# create an instance of RequestsCreateProfileCustomRuleBody from a dict -requests_create_profile_custom_rule_body_from_dict = RequestsCreateProfileCustomRuleBody.from_dict(requests_create_profile_custom_rule_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsCreateProfileCustomRulesBatchBody.md b/tests/moddns_client/docs/RequestsCreateProfileCustomRulesBatchBody.md deleted file mode 100644 index 4a1258d5..00000000 --- a/tests/moddns_client/docs/RequestsCreateProfileCustomRulesBatchBody.md +++ /dev/null @@ -1,30 +0,0 @@ -# RequestsCreateProfileCustomRulesBatchBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **str** | | -**values** | **List[str]** | | - -## Example - -```python -from moddns.models.requests_create_profile_custom_rules_batch_body import RequestsCreateProfileCustomRulesBatchBody - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsCreateProfileCustomRulesBatchBody from a JSON string -requests_create_profile_custom_rules_batch_body_instance = RequestsCreateProfileCustomRulesBatchBody.from_json(json) -# print the JSON string representation of the object -print(RequestsCreateProfileCustomRulesBatchBody.to_json()) - -# convert the object into a dict -requests_create_profile_custom_rules_batch_body_dict = requests_create_profile_custom_rules_batch_body_instance.to_dict() -# create an instance of RequestsCreateProfileCustomRulesBatchBody from a dict -requests_create_profile_custom_rules_batch_body_from_dict = RequestsCreateProfileCustomRulesBatchBody.from_dict(requests_create_profile_custom_rules_batch_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsLoginBody.md b/tests/moddns_client/docs/RequestsLoginBody.md deleted file mode 100644 index 19866e6c..00000000 --- a/tests/moddns_client/docs/RequestsLoginBody.md +++ /dev/null @@ -1,30 +0,0 @@ -# RequestsLoginBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | -**password** | **str** | | - -## Example - -```python -from moddns.models.requests_login_body import RequestsLoginBody - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsLoginBody from a JSON string -requests_login_body_instance = RequestsLoginBody.from_json(json) -# print the JSON string representation of the object -print(RequestsLoginBody.to_json()) - -# convert the object into a dict -requests_login_body_dict = requests_login_body_instance.to_dict() -# create an instance of RequestsLoginBody from a dict -requests_login_body_from_dict = RequestsLoginBody.from_dict(requests_login_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsMobileConfigReq.md b/tests/moddns_client/docs/RequestsMobileConfigReq.md deleted file mode 100644 index 7c03e14c..00000000 --- a/tests/moddns_client/docs/RequestsMobileConfigReq.md +++ /dev/null @@ -1,31 +0,0 @@ -# RequestsMobileConfigReq - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**advanced_options** | [**RequestsAdvancedOptionsReq**](RequestsAdvancedOptionsReq.md) | | [optional] -**device_id** | **str** | DeviceId is an optional human-friendly identifier for the device. It will be normalized (allowing only [A-Za-z0-9 -]) and truncated to a max length consistent with the DNS proxy rules (currently 16). When provided, generated mobileconfig profile endpoints (DoH / DoT / DoQ) will embed it so queries can be attributed per-device. | [optional] -**profile_id** | **str** | | - -## Example - -```python -from moddns.models.requests_mobile_config_req import RequestsMobileConfigReq - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsMobileConfigReq from a JSON string -requests_mobile_config_req_instance = RequestsMobileConfigReq.from_json(json) -# print the JSON string representation of the object -print(RequestsMobileConfigReq.to_json()) - -# convert the object into a dict -requests_mobile_config_req_dict = requests_mobile_config_req_instance.to_dict() -# create an instance of RequestsMobileConfigReq from a dict -requests_mobile_config_req_from_dict = RequestsMobileConfigReq.from_dict(requests_mobile_config_req_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsPASessionReq.md b/tests/moddns_client/docs/RequestsPASessionReq.md deleted file mode 100644 index dd92574f..00000000 --- a/tests/moddns_client/docs/RequestsPASessionReq.md +++ /dev/null @@ -1,31 +0,0 @@ -# RequestsPASessionReq - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**preauth_id** | **str** | | -**token** | **str** | | - -## Example - -```python -from moddns.models.requests_pa_session_req import RequestsPASessionReq - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsPASessionReq from a JSON string -requests_pa_session_req_instance = RequestsPASessionReq.from_json(json) -# print the JSON string representation of the object -print(RequestsPASessionReq.to_json()) - -# convert the object into a dict -requests_pa_session_req_dict = requests_pa_session_req_instance.to_dict() -# create an instance of RequestsPASessionReq from a dict -requests_pa_session_req_from_dict = RequestsPASessionReq.from_dict(requests_pa_session_req_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsProfileUpdates.md b/tests/moddns_client/docs/RequestsProfileUpdates.md deleted file mode 100644 index fccbaf97..00000000 --- a/tests/moddns_client/docs/RequestsProfileUpdates.md +++ /dev/null @@ -1,29 +0,0 @@ -# RequestsProfileUpdates - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**updates** | [**List[ModelProfileUpdate]**](ModelProfileUpdate.md) | | - -## Example - -```python -from moddns.models.requests_profile_updates import RequestsProfileUpdates - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsProfileUpdates from a JSON string -requests_profile_updates_instance = RequestsProfileUpdates.from_json(json) -# print the JSON string representation of the object -print(RequestsProfileUpdates.to_json()) - -# convert the object into a dict -requests_profile_updates_dict = requests_profile_updates_instance.to_dict() -# create an instance of RequestsProfileUpdates from a dict -requests_profile_updates_from_dict = RequestsProfileUpdates.from_dict(requests_profile_updates_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsResetPasswordBody.md b/tests/moddns_client/docs/RequestsResetPasswordBody.md deleted file mode 100644 index e11d8172..00000000 --- a/tests/moddns_client/docs/RequestsResetPasswordBody.md +++ /dev/null @@ -1,29 +0,0 @@ -# RequestsResetPasswordBody - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **str** | | - -## Example - -```python -from moddns.models.requests_reset_password_body import RequestsResetPasswordBody - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsResetPasswordBody from a JSON string -requests_reset_password_body_instance = RequestsResetPasswordBody.from_json(json) -# print the JSON string representation of the object -print(RequestsResetPasswordBody.to_json()) - -# convert the object into a dict -requests_reset_password_body_dict = requests_reset_password_body_instance.to_dict() -# create an instance of RequestsResetPasswordBody from a dict -requests_reset_password_body_from_dict = RequestsResetPasswordBody.from_dict(requests_reset_password_body_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsRotatePASessionReq.md b/tests/moddns_client/docs/RequestsRotatePASessionReq.md deleted file mode 100644 index 3e3a9737..00000000 --- a/tests/moddns_client/docs/RequestsRotatePASessionReq.md +++ /dev/null @@ -1,29 +0,0 @@ -# RequestsRotatePASessionReq - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sessionid** | **str** | | - -## Example - -```python -from moddns.models.requests_rotate_pa_session_req import RequestsRotatePASessionReq - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsRotatePASessionReq from a JSON string -requests_rotate_pa_session_req_instance = RequestsRotatePASessionReq.from_json(json) -# print the JSON string representation of the object -print(RequestsRotatePASessionReq.to_json()) - -# convert the object into a dict -requests_rotate_pa_session_req_dict = requests_rotate_pa_session_req_instance.to_dict() -# create an instance of RequestsRotatePASessionReq from a dict -requests_rotate_pa_session_req_from_dict = RequestsRotatePASessionReq.from_dict(requests_rotate_pa_session_req_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsTotpReq.md b/tests/moddns_client/docs/RequestsTotpReq.md deleted file mode 100644 index 57d1937f..00000000 --- a/tests/moddns_client/docs/RequestsTotpReq.md +++ /dev/null @@ -1,29 +0,0 @@ -# RequestsTotpReq - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**otp** | **str** | | - -## Example - -```python -from moddns.models.requests_totp_req import RequestsTotpReq - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsTotpReq from a JSON string -requests_totp_req_instance = RequestsTotpReq.from_json(json) -# print the JSON string representation of the object -print(RequestsTotpReq.to_json()) - -# convert the object into a dict -requests_totp_req_dict = requests_totp_req_instance.to_dict() -# create an instance of RequestsTotpReq from a dict -requests_totp_req_from_dict = RequestsTotpReq.from_dict(requests_totp_req_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/RequestsWebAuthnReauthBeginRequest.md b/tests/moddns_client/docs/RequestsWebAuthnReauthBeginRequest.md deleted file mode 100644 index 6f84c5dd..00000000 --- a/tests/moddns_client/docs/RequestsWebAuthnReauthBeginRequest.md +++ /dev/null @@ -1,29 +0,0 @@ -# RequestsWebAuthnReauthBeginRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**purpose** | **str** | | - -## Example - -```python -from moddns.models.requests_web_authn_reauth_begin_request import RequestsWebAuthnReauthBeginRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of RequestsWebAuthnReauthBeginRequest from a JSON string -requests_web_authn_reauth_begin_request_instance = RequestsWebAuthnReauthBeginRequest.from_json(json) -# print the JSON string representation of the object -print(RequestsWebAuthnReauthBeginRequest.to_json()) - -# convert the object into a dict -requests_web_authn_reauth_begin_request_dict = requests_web_authn_reauth_begin_request_instance.to_dict() -# create an instance of RequestsWebAuthnReauthBeginRequest from a dict -requests_web_authn_reauth_begin_request_from_dict = RequestsWebAuthnReauthBeginRequest.from_dict(requests_web_authn_reauth_begin_request_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ResponsesCreateProfileCustomRulesBatchResponse.md b/tests/moddns_client/docs/ResponsesCreateProfileCustomRulesBatchResponse.md deleted file mode 100644 index f7e17e8e..00000000 --- a/tests/moddns_client/docs/ResponsesCreateProfileCustomRulesBatchResponse.md +++ /dev/null @@ -1,32 +0,0 @@ -# ResponsesCreateProfileCustomRulesBatchResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **str** | | [optional] -**created** | [**List[ResponsesCustomRuleBatchCreated]**](ResponsesCustomRuleBatchCreated.md) | | [optional] -**skipped** | [**List[ResponsesCustomRuleBatchSkipped]**](ResponsesCustomRuleBatchSkipped.md) | | [optional] -**total_requested** | **int** | | [optional] - -## Example - -```python -from moddns.models.responses_create_profile_custom_rules_batch_response import ResponsesCreateProfileCustomRulesBatchResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of ResponsesCreateProfileCustomRulesBatchResponse from a JSON string -responses_create_profile_custom_rules_batch_response_instance = ResponsesCreateProfileCustomRulesBatchResponse.from_json(json) -# print the JSON string representation of the object -print(ResponsesCreateProfileCustomRulesBatchResponse.to_json()) - -# convert the object into a dict -responses_create_profile_custom_rules_batch_response_dict = responses_create_profile_custom_rules_batch_response_instance.to_dict() -# create an instance of ResponsesCreateProfileCustomRulesBatchResponse from a dict -responses_create_profile_custom_rules_batch_response_from_dict = ResponsesCreateProfileCustomRulesBatchResponse.from_dict(responses_create_profile_custom_rules_batch_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ResponsesCustomRuleBatchCreated.md b/tests/moddns_client/docs/ResponsesCustomRuleBatchCreated.md deleted file mode 100644 index 0db67f59..00000000 --- a/tests/moddns_client/docs/ResponsesCustomRuleBatchCreated.md +++ /dev/null @@ -1,30 +0,0 @@ -# ResponsesCustomRuleBatchCreated - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**value** | **str** | | [optional] - -## Example - -```python -from moddns.models.responses_custom_rule_batch_created import ResponsesCustomRuleBatchCreated - -# TODO update the JSON string below -json = "{}" -# create an instance of ResponsesCustomRuleBatchCreated from a JSON string -responses_custom_rule_batch_created_instance = ResponsesCustomRuleBatchCreated.from_json(json) -# print the JSON string representation of the object -print(ResponsesCustomRuleBatchCreated.to_json()) - -# convert the object into a dict -responses_custom_rule_batch_created_dict = responses_custom_rule_batch_created_instance.to_dict() -# create an instance of ResponsesCustomRuleBatchCreated from a dict -responses_custom_rule_batch_created_from_dict = ResponsesCustomRuleBatchCreated.from_dict(responses_custom_rule_batch_created_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ResponsesCustomRuleBatchSkipped.md b/tests/moddns_client/docs/ResponsesCustomRuleBatchSkipped.md deleted file mode 100644 index 241459f4..00000000 --- a/tests/moddns_client/docs/ResponsesCustomRuleBatchSkipped.md +++ /dev/null @@ -1,31 +0,0 @@ -# ResponsesCustomRuleBatchSkipped - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [optional] -**reason** | **str** | | [optional] -**value** | **str** | | [optional] - -## Example - -```python -from moddns.models.responses_custom_rule_batch_skipped import ResponsesCustomRuleBatchSkipped - -# TODO update the JSON string below -json = "{}" -# create an instance of ResponsesCustomRuleBatchSkipped from a JSON string -responses_custom_rule_batch_skipped_instance = ResponsesCustomRuleBatchSkipped.from_json(json) -# print the JSON string representation of the object -print(ResponsesCustomRuleBatchSkipped.to_json()) - -# convert the object into a dict -responses_custom_rule_batch_skipped_dict = responses_custom_rule_batch_skipped_instance.to_dict() -# create an instance of ResponsesCustomRuleBatchSkipped from a dict -responses_custom_rule_batch_skipped_from_dict = ResponsesCustomRuleBatchSkipped.from_dict(responses_custom_rule_batch_skipped_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ResponsesDeletionCodeResponse.md b/tests/moddns_client/docs/ResponsesDeletionCodeResponse.md deleted file mode 100644 index d2ee96f9..00000000 --- a/tests/moddns_client/docs/ResponsesDeletionCodeResponse.md +++ /dev/null @@ -1,30 +0,0 @@ -# ResponsesDeletionCodeResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | | [optional] -**expires_at** | **str** | | [optional] - -## Example - -```python -from moddns.models.responses_deletion_code_response import ResponsesDeletionCodeResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of ResponsesDeletionCodeResponse from a JSON string -responses_deletion_code_response_instance = ResponsesDeletionCodeResponse.from_json(json) -# print the JSON string representation of the object -print(ResponsesDeletionCodeResponse.to_json()) - -# convert the object into a dict -responses_deletion_code_response_dict = responses_deletion_code_response_instance.to_dict() -# create an instance of ResponsesDeletionCodeResponse from a dict -responses_deletion_code_response_from_dict = ResponsesDeletionCodeResponse.from_dict(responses_deletion_code_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ResponsesRegistrationSuccessResponse.md b/tests/moddns_client/docs/ResponsesRegistrationSuccessResponse.md deleted file mode 100644 index aaaafc27..00000000 --- a/tests/moddns_client/docs/ResponsesRegistrationSuccessResponse.md +++ /dev/null @@ -1,29 +0,0 @@ -# ResponsesRegistrationSuccessResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [optional] - -## Example - -```python -from moddns.models.responses_registration_success_response import ResponsesRegistrationSuccessResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of ResponsesRegistrationSuccessResponse from a JSON string -responses_registration_success_response_instance = ResponsesRegistrationSuccessResponse.from_json(json) -# print the JSON string representation of the object -print(ResponsesRegistrationSuccessResponse.to_json()) - -# convert the object into a dict -responses_registration_success_response_dict = responses_registration_success_response_instance.to_dict() -# create an instance of ResponsesRegistrationSuccessResponse from a dict -responses_registration_success_response_from_dict = ResponsesRegistrationSuccessResponse.from_dict(responses_registration_success_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ResponsesShortLinkResponse.md b/tests/moddns_client/docs/ResponsesShortLinkResponse.md deleted file mode 100644 index bb3f26be..00000000 --- a/tests/moddns_client/docs/ResponsesShortLinkResponse.md +++ /dev/null @@ -1,29 +0,0 @@ -# ResponsesShortLinkResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**link** | **str** | | [optional] - -## Example - -```python -from moddns.models.responses_short_link_response import ResponsesShortLinkResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of ResponsesShortLinkResponse from a JSON string -responses_short_link_response_instance = ResponsesShortLinkResponse.from_json(json) -# print the JSON string representation of the object -print(ResponsesShortLinkResponse.to_json()) - -# convert the object into a dict -responses_short_link_response_dict = responses_short_link_response_instance.to_dict() -# create an instance of ResponsesShortLinkResponse from a dict -responses_short_link_response_from_dict = ResponsesShortLinkResponse.from_dict(responses_short_link_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ResponsesWebAuthnReauthFinishResponse.md b/tests/moddns_client/docs/ResponsesWebAuthnReauthFinishResponse.md deleted file mode 100644 index 658f3485..00000000 --- a/tests/moddns_client/docs/ResponsesWebAuthnReauthFinishResponse.md +++ /dev/null @@ -1,30 +0,0 @@ -# ResponsesWebAuthnReauthFinishResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**expires_at** | **str** | | [optional] -**reauth_token** | **str** | | [optional] - -## Example - -```python -from moddns.models.responses_web_authn_reauth_finish_response import ResponsesWebAuthnReauthFinishResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of ResponsesWebAuthnReauthFinishResponse from a JSON string -responses_web_authn_reauth_finish_response_instance = ResponsesWebAuthnReauthFinishResponse.from_json(json) -# print the JSON string representation of the object -print(ResponsesWebAuthnReauthFinishResponse.to_json()) - -# convert the object into a dict -responses_web_authn_reauth_finish_response_dict = responses_web_authn_reauth_finish_response_instance.to_dict() -# create an instance of ResponsesWebAuthnReauthFinishResponse from a dict -responses_web_authn_reauth_finish_response_from_dict = ResponsesWebAuthnReauthFinishResponse.from_dict(responses_web_authn_reauth_finish_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ServicesApi.md b/tests/moddns_client/docs/ServicesApi.md deleted file mode 100644 index e493361a..00000000 --- a/tests/moddns_client/docs/ServicesApi.md +++ /dev/null @@ -1,74 +0,0 @@ -# moddns.ServicesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_services_get**](ServicesApi.md#api_v1_services_get) | **GET** /api/v1/services | Get services catalog - - -# **api_v1_services_get** -> ServicescatalogCatalog api_v1_services_get() - -Get services catalog - -Get available ASN-based services presets - -### Example - - -```python -import moddns -from moddns.models.servicescatalog_catalog import ServicescatalogCatalog -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.ServicesApi(api_client) - - try: - # Get services catalog - api_response = api_instance.api_v1_services_get() - print("The response of ServicesApi->api_v1_services_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling ServicesApi->api_v1_services_get: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**ServicescatalogCatalog**](ServicescatalogCatalog.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/ServicescatalogCatalog.md b/tests/moddns_client/docs/ServicescatalogCatalog.md deleted file mode 100644 index 60860986..00000000 --- a/tests/moddns_client/docs/ServicescatalogCatalog.md +++ /dev/null @@ -1,29 +0,0 @@ -# ServicescatalogCatalog - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**services** | [**List[ServicescatalogService]**](ServicescatalogService.md) | | [optional] - -## Example - -```python -from moddns.models.servicescatalog_catalog import ServicescatalogCatalog - -# TODO update the JSON string below -json = "{}" -# create an instance of ServicescatalogCatalog from a JSON string -servicescatalog_catalog_instance = ServicescatalogCatalog.from_json(json) -# print the JSON string representation of the object -print(ServicescatalogCatalog.to_json()) - -# convert the object into a dict -servicescatalog_catalog_dict = servicescatalog_catalog_instance.to_dict() -# create an instance of ServicescatalogCatalog from a dict -servicescatalog_catalog_from_dict = ServicescatalogCatalog.from_dict(servicescatalog_catalog_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/ServicescatalogService.md b/tests/moddns_client/docs/ServicescatalogService.md deleted file mode 100644 index 52e6d1dd..00000000 --- a/tests/moddns_client/docs/ServicescatalogService.md +++ /dev/null @@ -1,33 +0,0 @@ -# ServicescatalogService - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**asns** | **List[int]** | | [optional] -**domains** | **List[str]** | | [optional] -**id** | **str** | | [optional] -**logo_key** | **str** | | [optional] -**name** | **str** | | [optional] - -## Example - -```python -from moddns.models.servicescatalog_service import ServicescatalogService - -# TODO update the JSON string below -json = "{}" -# create an instance of ServicescatalogService from a JSON string -servicescatalog_service_instance = ServicescatalogService.from_json(json) -# print the JSON string representation of the object -print(ServicescatalogService.to_json()) - -# convert the object into a dict -servicescatalog_service_dict = servicescatalog_service_instance.to_dict() -# create an instance of ServicescatalogService from a dict -servicescatalog_service_from_dict = ServicescatalogService.from_dict(servicescatalog_service_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/docs/SessionsApi.md b/tests/moddns_client/docs/SessionsApi.md deleted file mode 100644 index 8d2e8610..00000000 --- a/tests/moddns_client/docs/SessionsApi.md +++ /dev/null @@ -1,73 +0,0 @@ -# moddns.SessionsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_sessions_delete**](SessionsApi.md#api_v1_sessions_delete) | **DELETE** /api/v1/sessions | Delete all other sessions - - -# **api_v1_sessions_delete** -> api_v1_sessions_delete() - -Delete all other sessions - -Delete all sessions for the current account except the current session - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.SessionsApi(api_client) - - try: - # Delete all other sessions - api_instance.api_v1_sessions_delete() - except Exception as e: - print("Exception when calling SessionsApi->api_v1_sessions_delete: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/StatisticsApi.md b/tests/moddns_client/docs/StatisticsApi.md deleted file mode 100644 index 44e5417c..00000000 --- a/tests/moddns_client/docs/StatisticsApi.md +++ /dev/null @@ -1,81 +0,0 @@ -# moddns.StatisticsApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_profiles_id_statistics_get**](StatisticsApi.md#api_v1_profiles_id_statistics_get) | **GET** /api/v1/profiles/{id}/statistics | Get statistics data for a profile - - -# **api_v1_profiles_id_statistics_get** -> List[ModelStatisticsAggregated] api_v1_profiles_id_statistics_get(id, timespan=timespan) - -Get statistics data for a profile - -Get statistics data for a profile - -### Example - - -```python -import moddns -from moddns.models.model_statistics_aggregated import ModelStatisticsAggregated -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.StatisticsApi(api_client) - id = 'id_example' # str | Profile ID - timespan = '"LAST_MONTH"' # str | specify timespan for query (optional) (default to '"LAST_MONTH"') - - try: - # Get statistics data for a profile - api_response = api_instance.api_v1_profiles_id_statistics_get(id, timespan=timespan) - print("The response of StatisticsApi->api_v1_profiles_id_statistics_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling StatisticsApi->api_v1_profiles_id_statistics_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Profile ID | - **timespan** | **str**| specify timespan for query | [optional] [default to '"LAST_MONTH"'] - -### Return type - -[**List[ModelStatisticsAggregated]**](ModelStatisticsAggregated.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/SubscriptionApi.md b/tests/moddns_client/docs/SubscriptionApi.md deleted file mode 100644 index 73390e99..00000000 --- a/tests/moddns_client/docs/SubscriptionApi.md +++ /dev/null @@ -1,142 +0,0 @@ -# moddns.SubscriptionApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_sub_get**](SubscriptionApi.md#api_v1_sub_get) | **GET** /api/v1/sub | Get subscription data -[**api_v1_sub_update_put**](SubscriptionApi.md#api_v1_sub_update_put) | **PUT** /api/v1/sub/update | Update subscription via PASession - - -# **api_v1_sub_get** -> ModelSubscription api_v1_sub_get() - -Get subscription data - -Get subscription data for the authenticated account - -### Example - - -```python -import moddns -from moddns.models.model_subscription import ModelSubscription -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.SubscriptionApi(api_client) - - try: - # Get subscription data - api_response = api_instance.api_v1_sub_get() - print("The response of SubscriptionApi->api_v1_sub_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling SubscriptionApi->api_v1_sub_get: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -[**ModelSubscription**](ModelSubscription.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | -**404** | Not Found | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_sub_update_put** -> Dict[str, object] api_v1_sub_update_put() - -Update subscription via PASession - -Resync subscription using a pre-auth session. Requires pa_session cookie (set by prior PASession rotation). - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.SubscriptionApi(api_client) - - try: - # Update subscription via PASession - api_response = api_instance.api_v1_sub_update_put() - print("The response of SubscriptionApi->api_v1_sub_update_put:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling SubscriptionApi->api_v1_sub_update_put: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -**Dict[str, object]** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | - -[[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/tests/moddns_client/docs/VerificationApi.md b/tests/moddns_client/docs/VerificationApi.md deleted file mode 100644 index 75c89ecf..00000000 --- a/tests/moddns_client/docs/VerificationApi.md +++ /dev/null @@ -1,220 +0,0 @@ -# moddns.VerificationApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v1_verify_email_otp_confirm_post**](VerificationApi.md#api_v1_verify_email_otp_confirm_post) | **POST** /api/v1/verify/email/otp/confirm | Confirm email verification OTP -[**api_v1_verify_email_otp_request_post**](VerificationApi.md#api_v1_verify_email_otp_request_post) | **POST** /api/v1/verify/email/otp/request | Request email verification OTP -[**api_v1_verify_reset_password_post**](VerificationApi.md#api_v1_verify_reset_password_post) | **POST** /api/v1/verify/reset-password | Confirm password reset - - -# **api_v1_verify_email_otp_confirm_post** -> api_v1_verify_email_otp_confirm_post(body) - -Confirm email verification OTP - -Verifies the 6-digit OTP provided by the authenticated user - -### Example - - -```python -import moddns -from moddns.models.api_verify_email_otp_body import ApiVerifyEmailOTPBody -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.VerificationApi(api_client) - body = moddns.ApiVerifyEmailOTPBody() # ApiVerifyEmailOTPBody | OTP verification request - - try: - # Confirm email verification OTP - api_instance.api_v1_verify_email_otp_confirm_post(body) - except Exception as e: - print("Exception when calling VerificationApi->api_v1_verify_email_otp_confirm_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**ApiVerifyEmailOTPBody**](ApiVerifyEmailOTPBody.md)| OTP verification request | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**410** | Gone | - | -**422** | Unprocessable Entity | - | -**429** | Too Many Requests | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_verify_email_otp_request_post** -> api_v1_verify_email_otp_request_post() - -Request email verification OTP - -Generates and sends a 6-digit OTP to verify the authenticated user's email - -### Example - - -```python -import moddns -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.VerificationApi(api_client) - - try: - # Request email verification OTP - api_instance.api_v1_verify_email_otp_request_post() - except Exception as e: - print("Exception when calling VerificationApi->api_v1_verify_email_otp_request_post: %s\n" % e) -``` - - - -### Parameters - -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: */* - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**401** | Unauthorized | - | -**429** | Too Many Requests | - | -**500** | Internal Server Error | - | - -[[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) - -# **api_v1_verify_reset_password_post** -> api_v1_verify_reset_password_post(body, x_mfa_code=x_mfa_code, x_mfa_methods=x_mfa_methods) - -Confirm password reset - -Confirm password reset - -### Example - - -```python -import moddns -from moddns.models.requests_confirm_reset_password_body import RequestsConfirmResetPasswordBody -from moddns.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = moddns.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with moddns.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = moddns.VerificationApi(api_client) - body = moddns.RequestsConfirmResetPasswordBody() # RequestsConfirmResetPasswordBody | Confirm password reset request - x_mfa_code = 'x_mfa_code_example' # str | MFA OTP code (optional) - x_mfa_methods = ['x_mfa_methods_example'] # List[str] | MFA methods (optional) - - try: - # Confirm password reset - api_instance.api_v1_verify_reset_password_post(body, x_mfa_code=x_mfa_code, x_mfa_methods=x_mfa_methods) - except Exception as e: - print("Exception when calling VerificationApi->api_v1_verify_reset_password_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**RequestsConfirmResetPasswordBody**](RequestsConfirmResetPasswordBody.md)| Confirm password reset request | - **x_mfa_code** | **str**| MFA OTP code | [optional] - **x_mfa_methods** | [**List[str]**](str.md)| MFA methods | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**500** | Internal Server Error | - | - -[[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/tests/moddns_client/docs/WebauthncoseCOSEAlgorithmIdentifier.md b/tests/moddns_client/docs/WebauthncoseCOSEAlgorithmIdentifier.md deleted file mode 100644 index 18dcd421..00000000 --- a/tests/moddns_client/docs/WebauthncoseCOSEAlgorithmIdentifier.md +++ /dev/null @@ -1,32 +0,0 @@ -# WebauthncoseCOSEAlgorithmIdentifier - - -## Enum - -* `AlgES256` (value: `-7`) - -* `AlgEdDSA` (value: `-8`) - -* `AlgES384` (value: `-35`) - -* `AlgES512` (value: `-36`) - -* `AlgPS256` (value: `-37`) - -* `AlgPS384` (value: `-38`) - -* `AlgPS512` (value: `-39`) - -* `AlgES256K` (value: `-47`) - -* `AlgRS256` (value: `-257`) - -* `AlgRS384` (value: `-258`) - -* `AlgRS512` (value: `-259`) - -* `AlgRS1` (value: `-65535`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/tests/moddns_client/git_push.sh b/tests/moddns_client/git_push.sh deleted file mode 100644 index f53a75d4..00000000 --- a/tests/moddns_client/git_push.sh +++ /dev/null @@ -1,57 +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 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -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://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${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://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/tests/moddns_client/moddns/py.typed b/tests/moddns_client/moddns/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/moddns_client/moddns_README.md b/tests/moddns_client/moddns_README.md new file mode 100644 index 00000000..2b409982 --- /dev/null +++ b/tests/moddns_client/moddns_README.md @@ -0,0 +1,205 @@ +# moddns +modDNS REST API + +The `moddns` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: + +- API version: 1.0 +- Package version: 1.0.0 +- Generator version: 7.11.0-SNAPSHOT +- Build package: org.openapitools.codegen.languages.PythonClientCodegen + +## Requirements. + +Python 3.8+ + +## Installation & Usage + +This python library package is generated without supporting files like setup.py or requirements files + +To be able to use it, you will need these dependencies in your own package that uses this library: + +* urllib3 >= 1.25.3, < 3.0.0 +* python-dateutil >= 2.8.2 +* pydantic >= 2 +* typing-extensions >= 4.7.1 + +## Getting Started + +In your own code, to use this library to connect and interact with moddns, +you can run the following: + +```python + +import moddns +from moddns.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = moddns.Configuration( + host = "http://localhost" +) + + + +# Enter a context with an instance of the API client +with moddns.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = moddns.AccountApi(api_client) + body = moddns.RequestsAccountDeletionRequest() # RequestsAccountDeletionRequest | Account deletion request + + try: + # Delete account + api_instance.api_v1_accounts_current_delete(body) + except ApiException as e: + print("Exception when calling AccountApi->api_v1_accounts_current_delete: %s\n" % e) + +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*AccountApi* | [**api_v1_accounts_current_delete**](moddns/docs/AccountApi.md#api_v1_accounts_current_delete) | **DELETE** /api/v1/accounts/current | Delete account +*AccountApi* | [**api_v1_accounts_current_deletion_code_post**](moddns/docs/AccountApi.md#api_v1_accounts_current_deletion_code_post) | **POST** /api/v1/accounts/current/deletion-code | Generate deletion code +*AccountApi* | [**api_v1_accounts_current_get**](moddns/docs/AccountApi.md#api_v1_accounts_current_get) | **GET** /api/v1/accounts/current | Get account data +*AccountApi* | [**api_v1_accounts_mfa_totp_disable_post**](moddns/docs/AccountApi.md#api_v1_accounts_mfa_totp_disable_post) | **POST** /api/v1/accounts/mfa/totp/disable | Disable TOTP +*AccountApi* | [**api_v1_accounts_mfa_totp_enable_confirm_post**](moddns/docs/AccountApi.md#api_v1_accounts_mfa_totp_enable_confirm_post) | **POST** /api/v1/accounts/mfa/totp/enable/confirm | Confirm TOTP +*AccountApi* | [**api_v1_accounts_mfa_totp_enable_post**](moddns/docs/AccountApi.md#api_v1_accounts_mfa_totp_enable_post) | **POST** /api/v1/accounts/mfa/totp/enable | Enable TOTP +*AccountApi* | [**api_v1_accounts_patch**](moddns/docs/AccountApi.md#api_v1_accounts_patch) | **PATCH** /api/v1/accounts | Update account +*AccountApi* | [**api_v1_accounts_post**](moddns/docs/AccountApi.md#api_v1_accounts_post) | **POST** /api/v1/accounts | Register account +*AccountApi* | [**api_v1_accounts_reset_password_post**](moddns/docs/AccountApi.md#api_v1_accounts_reset_password_post) | **POST** /api/v1/accounts/reset-password | Send reset password email +*AppleMobileconfigApi* | [**api_v1_mobileconfig_post**](moddns/docs/AppleMobileconfigApi.md#api_v1_mobileconfig_post) | **POST** /api/v1/mobileconfig | Generate configuration profile for Apple devices +*AppleMobileconfigApi* | [**api_v1_mobileconfig_short_post**](moddns/docs/AppleMobileconfigApi.md#api_v1_mobileconfig_short_post) | **POST** /api/v1/mobileconfig/short | Generate short link for configuration profile (Apple devices) +*AppleMobileconfigApi* | [**api_v1_short_code_get**](moddns/docs/AppleMobileconfigApi.md#api_v1_short_code_get) | **GET** /api/v1/short/{code} | Download configuration profile for Apple devices from short link +*AuthenticationApi* | [**api_v1_accounts_logout_post**](moddns/docs/AuthenticationApi.md#api_v1_accounts_logout_post) | **POST** /api/v1/accounts/logout | Logout +*AuthenticationApi* | [**api_v1_login_post**](moddns/docs/AuthenticationApi.md#api_v1_login_post) | **POST** /api/v1/login | Login +*AuthenticationApi* | [**api_v1_webauthn_login_begin_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_login_begin_post) | **POST** /api/v1/webauthn/login/begin | Begin passkey login +*AuthenticationApi* | [**api_v1_webauthn_login_finish_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_login_finish_post) | **POST** /api/v1/webauthn/login/finish | Finish passkey login +*AuthenticationApi* | [**api_v1_webauthn_passkey_add_begin_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_passkey_add_begin_post) | **POST** /api/v1/webauthn/passkey/add/begin | Add new passkey +*AuthenticationApi* | [**api_v1_webauthn_passkey_add_finish_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_passkey_add_finish_post) | **POST** /api/v1/webauthn/passkey/add/finish | Complete adding new passkey +*AuthenticationApi* | [**api_v1_webauthn_passkey_id_delete**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_passkey_id_delete) | **DELETE** /api/v1/webauthn/passkey/{id} | Delete passkey +*AuthenticationApi* | [**api_v1_webauthn_passkey_reauth_begin_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_passkey_reauth_begin_post) | **POST** /api/v1/webauthn/passkey/reauth/begin | Begin reauthentication via passkey +*AuthenticationApi* | [**api_v1_webauthn_passkey_reauth_finish_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_passkey_reauth_finish_post) | **POST** /api/v1/webauthn/passkey/reauth/finish | Finish reauthentication via passkey +*AuthenticationApi* | [**api_v1_webauthn_passkeys_get**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_passkeys_get) | **GET** /api/v1/webauthn/passkeys | Get user passkeys +*AuthenticationApi* | [**api_v1_webauthn_register_begin_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_register_begin_post) | **POST** /api/v1/webauthn/register/begin | Begin passkey registration +*AuthenticationApi* | [**api_v1_webauthn_register_finish_post**](moddns/docs/AuthenticationApi.md#api_v1_webauthn_register_finish_post) | **POST** /api/v1/webauthn/register/finish | Finish passkey registration +*BlocklistsApi* | [**api_v1_blocklists_get**](moddns/docs/BlocklistsApi.md#api_v1_blocklists_get) | **GET** /api/v1/blocklists | Get blocklists data +*PASessionApi* | [**api_v1_pasession_add_post**](moddns/docs/PASessionApi.md#api_v1_pasession_add_post) | **POST** /api/v1/pasession/add | Add pre-auth session +*PASessionApi* | [**api_v1_pasession_rotate_put**](moddns/docs/PASessionApi.md#api_v1_pasession_rotate_put) | **PUT** /api/v1/pasession/rotate | Rotate pre-auth session ID +*ProfileApi* | [**api_v1_profiles_get**](moddns/docs/ProfileApi.md#api_v1_profiles_get) | **GET** /api/v1/profiles | Get profiles data +*ProfileApi* | [**api_v1_profiles_id_blocklists_delete**](moddns/docs/ProfileApi.md#api_v1_profiles_id_blocklists_delete) | **DELETE** /api/v1/profiles/{id}/blocklists | Disable blocklists +*ProfileApi* | [**api_v1_profiles_id_blocklists_post**](moddns/docs/ProfileApi.md#api_v1_profiles_id_blocklists_post) | **POST** /api/v1/profiles/{id}/blocklists | Enable blocklists +*ProfileApi* | [**api_v1_profiles_id_custom_rules_batch_post**](moddns/docs/ProfileApi.md#api_v1_profiles_id_custom_rules_batch_post) | **POST** /api/v1/profiles/{id}/custom_rules/batch | Create profile custom rules (batch) +*ProfileApi* | [**api_v1_profiles_id_custom_rules_custom_rule_id_delete**](moddns/docs/ProfileApi.md#api_v1_profiles_id_custom_rules_custom_rule_id_delete) | **DELETE** /api/v1/profiles/{id}/custom_rules/{custom_rule_id} | Delete profile custom rule +*ProfileApi* | [**api_v1_profiles_id_custom_rules_post**](moddns/docs/ProfileApi.md#api_v1_profiles_id_custom_rules_post) | **POST** /api/v1/profiles/{id}/custom_rules | Create profile custom rule +*ProfileApi* | [**api_v1_profiles_id_delete**](moddns/docs/ProfileApi.md#api_v1_profiles_id_delete) | **DELETE** /api/v1/profiles/{id} | Delete profile +*ProfileApi* | [**api_v1_profiles_id_get**](moddns/docs/ProfileApi.md#api_v1_profiles_id_get) | **GET** /api/v1/profiles/{id} | Get profile data +*ProfileApi* | [**api_v1_profiles_id_patch**](moddns/docs/ProfileApi.md#api_v1_profiles_id_patch) | **PATCH** /api/v1/profiles/{id} | Update profile +*ProfileApi* | [**api_v1_profiles_id_services_delete**](moddns/docs/ProfileApi.md#api_v1_profiles_id_services_delete) | **DELETE** /api/v1/profiles/{id}/services | Disable services +*ProfileApi* | [**api_v1_profiles_id_services_post**](moddns/docs/ProfileApi.md#api_v1_profiles_id_services_post) | **POST** /api/v1/profiles/{id}/services | Enable services +*ProfileApi* | [**api_v1_profiles_post**](moddns/docs/ProfileApi.md#api_v1_profiles_post) | **POST** /api/v1/profiles | Create profile +*QueryLogsApi* | [**api_v1_profiles_id_logs_delete**](moddns/docs/QueryLogsApi.md#api_v1_profiles_id_logs_delete) | **DELETE** /api/v1/profiles/{id}/logs | Delete profile query logs +*QueryLogsApi* | [**api_v1_profiles_id_logs_download_get**](moddns/docs/QueryLogsApi.md#api_v1_profiles_id_logs_download_get) | **GET** /api/v1/profiles/{id}/logs/download | Download profile query logs +*QueryLogsApi* | [**api_v1_profiles_id_logs_get**](moddns/docs/QueryLogsApi.md#api_v1_profiles_id_logs_get) | **GET** /api/v1/profiles/{id}/logs | Get profile query logs +*ServicesApi* | [**api_v1_services_get**](moddns/docs/ServicesApi.md#api_v1_services_get) | **GET** /api/v1/services | Get services catalog +*SessionsApi* | [**api_v1_sessions_delete**](moddns/docs/SessionsApi.md#api_v1_sessions_delete) | **DELETE** /api/v1/sessions | Delete all other sessions +*StatisticsApi* | [**api_v1_profiles_id_statistics_get**](moddns/docs/StatisticsApi.md#api_v1_profiles_id_statistics_get) | **GET** /api/v1/profiles/{id}/statistics | Get statistics data for a profile +*SubscriptionApi* | [**api_v1_sub_get**](moddns/docs/SubscriptionApi.md#api_v1_sub_get) | **GET** /api/v1/sub | Get subscription data +*SubscriptionApi* | [**api_v1_sub_update_put**](moddns/docs/SubscriptionApi.md#api_v1_sub_update_put) | **PUT** /api/v1/sub/update | Update subscription via PASession +*VerificationApi* | [**api_v1_verify_email_otp_confirm_post**](moddns/docs/VerificationApi.md#api_v1_verify_email_otp_confirm_post) | **POST** /api/v1/verify/email/otp/confirm | Confirm email verification OTP +*VerificationApi* | [**api_v1_verify_email_otp_request_post**](moddns/docs/VerificationApi.md#api_v1_verify_email_otp_request_post) | **POST** /api/v1/verify/email/otp/request | Request email verification OTP +*VerificationApi* | [**api_v1_verify_reset_password_post**](moddns/docs/VerificationApi.md#api_v1_verify_reset_password_post) | **POST** /api/v1/verify/reset-password | Confirm password reset + + +## Documentation For Models + + - [ApiBlocklistsUpdates](moddns/docs/ApiBlocklistsUpdates.md) + - [ApiCreateProfileBody](moddns/docs/ApiCreateProfileBody.md) + - [ApiErrResponse](moddns/docs/ApiErrResponse.md) + - [ApiRegisterAccountBody](moddns/docs/ApiRegisterAccountBody.md) + - [ApiServicesUpdates](moddns/docs/ApiServicesUpdates.md) + - [ApiVerifyEmailOTPBody](moddns/docs/ApiVerifyEmailOTPBody.md) + - [ApiWebAuthnLoginBeginRequest](moddns/docs/ApiWebAuthnLoginBeginRequest.md) + - [ApiWebAuthnRegisterBeginRequest](moddns/docs/ApiWebAuthnRegisterBeginRequest.md) + - [ModelAccount](moddns/docs/ModelAccount.md) + - [ModelAccountUpdate](moddns/docs/ModelAccountUpdate.md) + - [ModelAdvanced](moddns/docs/ModelAdvanced.md) + - [ModelBlocklist](moddns/docs/ModelBlocklist.md) + - [ModelCredential](moddns/docs/ModelCredential.md) + - [ModelCustomRule](moddns/docs/ModelCustomRule.md) + - [ModelDNSRequest](moddns/docs/ModelDNSRequest.md) + - [ModelDNSSECSettings](moddns/docs/ModelDNSSECSettings.md) + - [ModelLogsSettings](moddns/docs/ModelLogsSettings.md) + - [ModelMFASettings](moddns/docs/ModelMFASettings.md) + - [ModelPrivacy](moddns/docs/ModelPrivacy.md) + - [ModelProfile](moddns/docs/ModelProfile.md) + - [ModelProfileSettings](moddns/docs/ModelProfileSettings.md) + - [ModelProfileUpdate](moddns/docs/ModelProfileUpdate.md) + - [ModelQueryLog](moddns/docs/ModelQueryLog.md) + - [ModelRetention](moddns/docs/ModelRetention.md) + - [ModelSecurity](moddns/docs/ModelSecurity.md) + - [ModelStatisticsAggregated](moddns/docs/ModelStatisticsAggregated.md) + - [ModelStatisticsSettings](moddns/docs/ModelStatisticsSettings.md) + - [ModelSubscription](moddns/docs/ModelSubscription.md) + - [ModelSubscriptionStatus](moddns/docs/ModelSubscriptionStatus.md) + - [ModelTOTPBackup](moddns/docs/ModelTOTPBackup.md) + - [ModelTOTPNew](moddns/docs/ModelTOTPNew.md) + - [ModelTotpSettings](moddns/docs/ModelTotpSettings.md) + - [ProtocolAttestationFormat](moddns/docs/ProtocolAttestationFormat.md) + - [ProtocolAuthenticatorAttachment](moddns/docs/ProtocolAuthenticatorAttachment.md) + - [ProtocolAuthenticatorSelection](moddns/docs/ProtocolAuthenticatorSelection.md) + - [ProtocolAuthenticatorTransport](moddns/docs/ProtocolAuthenticatorTransport.md) + - [ProtocolConveyancePreference](moddns/docs/ProtocolConveyancePreference.md) + - [ProtocolCredentialAssertion](moddns/docs/ProtocolCredentialAssertion.md) + - [ProtocolCredentialCreation](moddns/docs/ProtocolCredentialCreation.md) + - [ProtocolCredentialDescriptor](moddns/docs/ProtocolCredentialDescriptor.md) + - [ProtocolCredentialMediationRequirement](moddns/docs/ProtocolCredentialMediationRequirement.md) + - [ProtocolCredentialParameter](moddns/docs/ProtocolCredentialParameter.md) + - [ProtocolCredentialType](moddns/docs/ProtocolCredentialType.md) + - [ProtocolPublicKeyCredentialCreationOptions](moddns/docs/ProtocolPublicKeyCredentialCreationOptions.md) + - [ProtocolPublicKeyCredentialHints](moddns/docs/ProtocolPublicKeyCredentialHints.md) + - [ProtocolPublicKeyCredentialRequestOptions](moddns/docs/ProtocolPublicKeyCredentialRequestOptions.md) + - [ProtocolRelyingPartyEntity](moddns/docs/ProtocolRelyingPartyEntity.md) + - [ProtocolResidentKeyRequirement](moddns/docs/ProtocolResidentKeyRequirement.md) + - [ProtocolUserEntity](moddns/docs/ProtocolUserEntity.md) + - [ProtocolUserVerificationRequirement](moddns/docs/ProtocolUserVerificationRequirement.md) + - [RequestsAccountDeletionRequest](moddns/docs/RequestsAccountDeletionRequest.md) + - [RequestsAccountUpdates](moddns/docs/RequestsAccountUpdates.md) + - [RequestsAdvancedOptionsReq](moddns/docs/RequestsAdvancedOptionsReq.md) + - [RequestsConfirmResetPasswordBody](moddns/docs/RequestsConfirmResetPasswordBody.md) + - [RequestsCreateProfileCustomRuleBody](moddns/docs/RequestsCreateProfileCustomRuleBody.md) + - [RequestsCreateProfileCustomRulesBatchBody](moddns/docs/RequestsCreateProfileCustomRulesBatchBody.md) + - [RequestsLoginBody](moddns/docs/RequestsLoginBody.md) + - [RequestsMobileConfigReq](moddns/docs/RequestsMobileConfigReq.md) + - [RequestsPASessionReq](moddns/docs/RequestsPASessionReq.md) + - [RequestsProfileUpdates](moddns/docs/RequestsProfileUpdates.md) + - [RequestsResetPasswordBody](moddns/docs/RequestsResetPasswordBody.md) + - [RequestsRotatePASessionReq](moddns/docs/RequestsRotatePASessionReq.md) + - [RequestsTotpReq](moddns/docs/RequestsTotpReq.md) + - [RequestsWebAuthnReauthBeginRequest](moddns/docs/RequestsWebAuthnReauthBeginRequest.md) + - [ResponsesCreateProfileCustomRulesBatchResponse](moddns/docs/ResponsesCreateProfileCustomRulesBatchResponse.md) + - [ResponsesCustomRuleBatchCreated](moddns/docs/ResponsesCustomRuleBatchCreated.md) + - [ResponsesCustomRuleBatchSkipped](moddns/docs/ResponsesCustomRuleBatchSkipped.md) + - [ResponsesDeletionCodeResponse](moddns/docs/ResponsesDeletionCodeResponse.md) + - [ResponsesRegistrationSuccessResponse](moddns/docs/ResponsesRegistrationSuccessResponse.md) + - [ResponsesShortLinkResponse](moddns/docs/ResponsesShortLinkResponse.md) + - [ResponsesWebAuthnReauthFinishResponse](moddns/docs/ResponsesWebAuthnReauthFinishResponse.md) + - [ServicescatalogCatalog](moddns/docs/ServicescatalogCatalog.md) + - [ServicescatalogService](moddns/docs/ServicescatalogService.md) + - [WebauthncoseCOSEAlgorithmIdentifier](moddns/docs/WebauthncoseCOSEAlgorithmIdentifier.md) + + + +## Documentation For Authorization + +Endpoints do not require authorization. + + +## Author + + + + diff --git a/tests/moddns_client/pyproject.toml b/tests/moddns_client/pyproject.toml deleted file mode 100644 index d163047f..00000000 --- a/tests/moddns_client/pyproject.toml +++ /dev/null @@ -1,89 +0,0 @@ -[tool.poetry] -name = "moddns" -version = "1.0.0" -description = "modDNS REST API" -authors = ["OpenAPI Generator Community "] -license = "NoLicense" -readme = "README.md" -repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID" -keywords = ["OpenAPI", "OpenAPI-Generator", "modDNS REST API"] -include = ["moddns/py.typed"] - -[tool.poetry.dependencies] -python = "^3.8" - -urllib3 = ">= 1.25.3 < 3.0.0" -python-dateutil = ">= 2.8.2" -pydantic = ">= 2" -typing-extensions = ">= 4.7.1" - -[tool.poetry.dev-dependencies] -pytest = ">= 7.2.1" -pytest-cov = ">= 2.8.1" -tox = ">= 3.9.0" -flake8 = ">= 4.0.0" -types-python-dateutil = ">= 2.8.19.14" -mypy = ">= 1.5" - - -[build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" - -[tool.pylint.'MESSAGES CONTROL'] -extension-pkg-whitelist = "pydantic" - -[tool.mypy] -files = [ - "moddns", - #"test", # auto-generated tests - "tests", # hand-written tests -] -# TODO: enable "strict" once all these individual checks are passing -# strict = true - -# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options -warn_unused_configs = true -warn_redundant_casts = true -warn_unused_ignores = true - -## Getting these passing should be easy -strict_equality = true -extra_checks = true - -## Strongly recommend enabling this one as soon as you can -check_untyped_defs = true - -## These shouldn't be too much additional work, but may be tricky to -## get passing if you use a lot of untyped libraries -disallow_subclassing_any = true -disallow_untyped_decorators = true -disallow_any_generics = true - -### These next few are various gradations of forcing use of type annotations -#disallow_untyped_calls = true -#disallow_incomplete_defs = true -#disallow_untyped_defs = true -# -### This one isn't too hard to get passing, but return on investment is lower -#no_implicit_reexport = true -# -### This one can be tricky to get passing if you use a lot of untyped libraries -#warn_return_any = true - -[[tool.mypy.overrides]] -module = [ - "moddns.configuration", -] -warn_unused_ignores = true -strict_equality = true -extra_checks = true -check_untyped_defs = true -disallow_subclassing_any = true -disallow_untyped_decorators = true -disallow_any_generics = true -disallow_untyped_calls = true -disallow_incomplete_defs = true -disallow_untyped_defs = true -no_implicit_reexport = true -warn_return_any = true diff --git a/tests/moddns_client/requirements.txt b/tests/moddns_client/requirements.txt deleted file mode 100644 index 67f7f68d..00000000 --- a/tests/moddns_client/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -urllib3 >= 1.25.3, < 3.0.0 -python_dateutil >= 2.8.2 -pydantic >= 2 -typing-extensions >= 4.7.1 diff --git a/tests/moddns_client/setup.cfg b/tests/moddns_client/setup.cfg deleted file mode 100644 index 11433ee8..00000000 --- a/tests/moddns_client/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[flake8] -max-line-length=99 diff --git a/tests/moddns_client/setup.py b/tests/moddns_client/setup.py deleted file mode 100644 index 3d00b7ca..00000000 --- a/tests/moddns_client/setup.py +++ /dev/null @@ -1,49 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from setuptools import setup, find_packages # noqa: H301 - -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools -NAME = "moddns" -VERSION = "1.0.0" -PYTHON_REQUIRES = ">= 3.8" -REQUIRES = [ - "urllib3 >= 1.25.3, < 3.0.0", - "python-dateutil >= 2.8.2", - "pydantic >= 2", - "typing-extensions >= 4.7.1", -] - -setup( - name=NAME, - version=VERSION, - description="modDNS REST API", - author="OpenAPI Generator community", - author_email="team@openapitools.org", - url="", - keywords=["OpenAPI", "OpenAPI-Generator", "modDNS REST API"], - install_requires=REQUIRES, - packages=find_packages(exclude=["test", "tests"]), - include_package_data=True, - long_description_content_type='text/markdown', - long_description="""\ - modDNS REST API - """, # noqa: E501 - package_data={"moddns": ["py.typed"]}, -) \ No newline at end of file diff --git a/tests/moddns_client/test-requirements.txt b/tests/moddns_client/test-requirements.txt deleted file mode 100644 index e98555c1..00000000 --- a/tests/moddns_client/test-requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -pytest >= 7.2.1 -pytest-cov >= 2.8.1 -tox >= 3.9.0 -flake8 >= 4.0.0 -types-python-dateutil >= 2.8.19.14 -mypy >= 1.5 diff --git a/tests/moddns_client/test/__init__.py b/tests/moddns_client/test/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/moddns_client/test/test_account_api.py b/tests/moddns_client/test/test_account_api.py deleted file mode 100644 index 518ab360..00000000 --- a/tests/moddns_client/test/test_account_api.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.account_api import AccountApi - - -class TestAccountApi(unittest.TestCase): - """AccountApi unit test stubs""" - - def setUp(self) -> None: - self.api = AccountApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_accounts_current_delete(self) -> None: - """Test case for api_v1_accounts_current_delete - - Delete account - """ - pass - - def test_api_v1_accounts_current_deletion_code_post(self) -> None: - """Test case for api_v1_accounts_current_deletion_code_post - - Generate deletion code - """ - pass - - def test_api_v1_accounts_current_get(self) -> None: - """Test case for api_v1_accounts_current_get - - Get account data - """ - pass - - def test_api_v1_accounts_mfa_totp_disable_post(self) -> None: - """Test case for api_v1_accounts_mfa_totp_disable_post - - Disable TOTP - """ - pass - - def test_api_v1_accounts_mfa_totp_enable_confirm_post(self) -> None: - """Test case for api_v1_accounts_mfa_totp_enable_confirm_post - - Confirm TOTP - """ - pass - - def test_api_v1_accounts_mfa_totp_enable_post(self) -> None: - """Test case for api_v1_accounts_mfa_totp_enable_post - - Enable TOTP - """ - pass - - def test_api_v1_accounts_patch(self) -> None: - """Test case for api_v1_accounts_patch - - Update account - """ - pass - - def test_api_v1_accounts_post(self) -> None: - """Test case for api_v1_accounts_post - - Register account - """ - pass - - def test_api_v1_accounts_reset_password_post(self) -> None: - """Test case for api_v1_accounts_reset_password_post - - Send reset password email - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_blocklists_updates.py b/tests/moddns_client/test/test_api_blocklists_updates.py deleted file mode 100644 index f9b037bc..00000000 --- a/tests/moddns_client/test/test_api_blocklists_updates.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_blocklists_updates import ApiBlocklistsUpdates - -class TestApiBlocklistsUpdates(unittest.TestCase): - """ApiBlocklistsUpdates unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiBlocklistsUpdates: - """Test ApiBlocklistsUpdates - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiBlocklistsUpdates` - """ - model = ApiBlocklistsUpdates() - if include_optional: - return ApiBlocklistsUpdates( - blocklist_ids = [ - '' - ] - ) - else: - return ApiBlocklistsUpdates( - blocklist_ids = [ - '' - ], - ) - """ - - def testApiBlocklistsUpdates(self): - """Test ApiBlocklistsUpdates""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_create_profile_body.py b/tests/moddns_client/test/test_api_create_profile_body.py deleted file mode 100644 index b75e3c5b..00000000 --- a/tests/moddns_client/test/test_api_create_profile_body.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_create_profile_body import ApiCreateProfileBody - -class TestApiCreateProfileBody(unittest.TestCase): - """ApiCreateProfileBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiCreateProfileBody: - """Test ApiCreateProfileBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiCreateProfileBody` - """ - model = ApiCreateProfileBody() - if include_optional: - return ApiCreateProfileBody( - name = '0' - ) - else: - return ApiCreateProfileBody( - name = '0', - ) - """ - - def testApiCreateProfileBody(self): - """Test ApiCreateProfileBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_err_response.py b/tests/moddns_client/test/test_api_err_response.py deleted file mode 100644 index aa5d48f0..00000000 --- a/tests/moddns_client/test/test_api_err_response.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_err_response import ApiErrResponse - -class TestApiErrResponse(unittest.TestCase): - """ApiErrResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiErrResponse: - """Test ApiErrResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiErrResponse` - """ - model = ApiErrResponse() - if include_optional: - return ApiErrResponse( - details = [ - '' - ], - error = '' - ) - else: - return ApiErrResponse( - ) - """ - - def testApiErrResponse(self): - """Test ApiErrResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_register_account_body.py b/tests/moddns_client/test/test_api_register_account_body.py deleted file mode 100644 index ec8351e3..00000000 --- a/tests/moddns_client/test/test_api_register_account_body.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_register_account_body import ApiRegisterAccountBody - -class TestApiRegisterAccountBody(unittest.TestCase): - """ApiRegisterAccountBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiRegisterAccountBody: - """Test ApiRegisterAccountBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiRegisterAccountBody` - """ - model = ApiRegisterAccountBody() - if include_optional: - return ApiRegisterAccountBody( - email = '', - password = '', - subid = '' - ) - else: - return ApiRegisterAccountBody( - email = '', - password = '', - subid = '', - ) - """ - - def testApiRegisterAccountBody(self): - """Test ApiRegisterAccountBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_services_updates.py b/tests/moddns_client/test/test_api_services_updates.py deleted file mode 100644 index 92994b38..00000000 --- a/tests/moddns_client/test/test_api_services_updates.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_services_updates import ApiServicesUpdates - -class TestApiServicesUpdates(unittest.TestCase): - """ApiServicesUpdates unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiServicesUpdates: - """Test ApiServicesUpdates - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiServicesUpdates` - """ - model = ApiServicesUpdates() - if include_optional: - return ApiServicesUpdates( - service_ids = [ - '' - ] - ) - else: - return ApiServicesUpdates( - service_ids = [ - '' - ], - ) - """ - - def testApiServicesUpdates(self): - """Test ApiServicesUpdates""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_verify_email_otp_body.py b/tests/moddns_client/test/test_api_verify_email_otp_body.py deleted file mode 100644 index 43c7aa43..00000000 --- a/tests/moddns_client/test/test_api_verify_email_otp_body.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_verify_email_otp_body import ApiVerifyEmailOTPBody - -class TestApiVerifyEmailOTPBody(unittest.TestCase): - """ApiVerifyEmailOTPBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiVerifyEmailOTPBody: - """Test ApiVerifyEmailOTPBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiVerifyEmailOTPBody` - """ - model = ApiVerifyEmailOTPBody() - if include_optional: - return ApiVerifyEmailOTPBody( - otp = '' - ) - else: - return ApiVerifyEmailOTPBody( - otp = '', - ) - """ - - def testApiVerifyEmailOTPBody(self): - """Test ApiVerifyEmailOTPBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_web_authn_login_begin_request.py b/tests/moddns_client/test/test_api_web_authn_login_begin_request.py deleted file mode 100644 index 61fc7de8..00000000 --- a/tests/moddns_client/test/test_api_web_authn_login_begin_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_web_authn_login_begin_request import ApiWebAuthnLoginBeginRequest - -class TestApiWebAuthnLoginBeginRequest(unittest.TestCase): - """ApiWebAuthnLoginBeginRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWebAuthnLoginBeginRequest: - """Test ApiWebAuthnLoginBeginRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiWebAuthnLoginBeginRequest` - """ - model = ApiWebAuthnLoginBeginRequest() - if include_optional: - return ApiWebAuthnLoginBeginRequest( - email = '' - ) - else: - return ApiWebAuthnLoginBeginRequest( - email = '', - ) - """ - - def testApiWebAuthnLoginBeginRequest(self): - """Test ApiWebAuthnLoginBeginRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_api_web_authn_register_begin_request.py b/tests/moddns_client/test/test_api_web_authn_register_begin_request.py deleted file mode 100644 index 85e57a54..00000000 --- a/tests/moddns_client/test/test_api_web_authn_register_begin_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.api_web_authn_register_begin_request import ApiWebAuthnRegisterBeginRequest - -class TestApiWebAuthnRegisterBeginRequest(unittest.TestCase): - """ApiWebAuthnRegisterBeginRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiWebAuthnRegisterBeginRequest: - """Test ApiWebAuthnRegisterBeginRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiWebAuthnRegisterBeginRequest` - """ - model = ApiWebAuthnRegisterBeginRequest() - if include_optional: - return ApiWebAuthnRegisterBeginRequest( - email = '', - subid = '' - ) - else: - return ApiWebAuthnRegisterBeginRequest( - email = '', - subid = '', - ) - """ - - def testApiWebAuthnRegisterBeginRequest(self): - """Test ApiWebAuthnRegisterBeginRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_apple_mobileconfig_api.py b/tests/moddns_client/test/test_apple_mobileconfig_api.py deleted file mode 100644 index accd0a6d..00000000 --- a/tests/moddns_client/test/test_apple_mobileconfig_api.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.apple_mobileconfig_api import AppleMobileconfigApi - - -class TestAppleMobileconfigApi(unittest.TestCase): - """AppleMobileconfigApi unit test stubs""" - - def setUp(self) -> None: - self.api = AppleMobileconfigApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_mobileconfig_post(self) -> None: - """Test case for api_v1_mobileconfig_post - - Generate configuration profile for Apple devices - """ - pass - - def test_api_v1_mobileconfig_short_post(self) -> None: - """Test case for api_v1_mobileconfig_short_post - - Generate short link for configuration profile (Apple devices) - """ - pass - - def test_api_v1_short_code_get(self) -> None: - """Test case for api_v1_short_code_get - - Download configuration profile for Apple devices from short link - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_authentication_api.py b/tests/moddns_client/test/test_authentication_api.py deleted file mode 100644 index 940a3b91..00000000 --- a/tests/moddns_client/test/test_authentication_api.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.authentication_api import AuthenticationApi - - -class TestAuthenticationApi(unittest.TestCase): - """AuthenticationApi unit test stubs""" - - def setUp(self) -> None: - self.api = AuthenticationApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_accounts_logout_post(self) -> None: - """Test case for api_v1_accounts_logout_post - - Logout - """ - pass - - def test_api_v1_login_post(self) -> None: - """Test case for api_v1_login_post - - Login - """ - pass - - def test_api_v1_webauthn_login_begin_post(self) -> None: - """Test case for api_v1_webauthn_login_begin_post - - Begin passkey login - """ - pass - - def test_api_v1_webauthn_login_finish_post(self) -> None: - """Test case for api_v1_webauthn_login_finish_post - - Finish passkey login - """ - pass - - def test_api_v1_webauthn_passkey_add_begin_post(self) -> None: - """Test case for api_v1_webauthn_passkey_add_begin_post - - Add new passkey - """ - pass - - def test_api_v1_webauthn_passkey_add_finish_post(self) -> None: - """Test case for api_v1_webauthn_passkey_add_finish_post - - Complete adding new passkey - """ - pass - - def test_api_v1_webauthn_passkey_id_delete(self) -> None: - """Test case for api_v1_webauthn_passkey_id_delete - - Delete passkey - """ - pass - - def test_api_v1_webauthn_passkey_reauth_begin_post(self) -> None: - """Test case for api_v1_webauthn_passkey_reauth_begin_post - - Begin reauthentication via passkey - """ - pass - - def test_api_v1_webauthn_passkey_reauth_finish_post(self) -> None: - """Test case for api_v1_webauthn_passkey_reauth_finish_post - - Finish reauthentication via passkey - """ - pass - - def test_api_v1_webauthn_passkeys_get(self) -> None: - """Test case for api_v1_webauthn_passkeys_get - - Get user passkeys - """ - pass - - def test_api_v1_webauthn_register_begin_post(self) -> None: - """Test case for api_v1_webauthn_register_begin_post - - Begin passkey registration - """ - pass - - def test_api_v1_webauthn_register_finish_post(self) -> None: - """Test case for api_v1_webauthn_register_finish_post - - Finish passkey registration - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_blocklists_api.py b/tests/moddns_client/test/test_blocklists_api.py deleted file mode 100644 index b81d85a4..00000000 --- a/tests/moddns_client/test/test_blocklists_api.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.blocklists_api import BlocklistsApi - - -class TestBlocklistsApi(unittest.TestCase): - """BlocklistsApi unit test stubs""" - - def setUp(self) -> None: - self.api = BlocklistsApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_blocklists_get(self) -> None: - """Test case for api_v1_blocklists_get - - Get blocklists data - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_account.py b/tests/moddns_client/test/test_model_account.py deleted file mode 100644 index 19a123dd..00000000 --- a/tests/moddns_client/test/test_model_account.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_account import ModelAccount - -class TestModelAccount(unittest.TestCase): - """ModelAccount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelAccount: - """Test ModelAccount - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelAccount` - """ - model = ModelAccount() - if include_optional: - return ModelAccount( - auth_methods = [ - '' - ], - email = '', - email_verified = True, - error_reports_consent = True, - id = '', - mfa = moddns.models.model/mfa_settings.model.MFASettings( - totp = moddns.models.model/totp_settings.model.TotpSettings( - enabled = True, ), ), - profiles = [ - '' - ], - queries = 56 - ) - else: - return ModelAccount( - ) - """ - - def testModelAccount(self): - """Test ModelAccount""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_account_update.py b/tests/moddns_client/test/test_model_account_update.py deleted file mode 100644 index 29c62a21..00000000 --- a/tests/moddns_client/test/test_model_account_update.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_account_update import ModelAccountUpdate - -class TestModelAccountUpdate(unittest.TestCase): - """ModelAccountUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelAccountUpdate: - """Test ModelAccountUpdate - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelAccountUpdate` - """ - model = ModelAccountUpdate() - if include_optional: - return ModelAccountUpdate( - operation = 'remove', - path = '/password', - value = None - ) - else: - return ModelAccountUpdate( - operation = 'remove', - path = '/password', - value = None, - ) - """ - - def testModelAccountUpdate(self): - """Test ModelAccountUpdate""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_advanced.py b/tests/moddns_client/test/test_model_advanced.py deleted file mode 100644 index 3c905346..00000000 --- a/tests/moddns_client/test/test_model_advanced.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_advanced import ModelAdvanced - -class TestModelAdvanced(unittest.TestCase): - """ModelAdvanced unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelAdvanced: - """Test ModelAdvanced - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelAdvanced` - """ - model = ModelAdvanced() - if include_optional: - return ModelAdvanced( - recursor = '' - ) - else: - return ModelAdvanced( - recursor = '', - ) - """ - - def testModelAdvanced(self): - """Test ModelAdvanced""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_blocklist.py b/tests/moddns_client/test/test_model_blocklist.py deleted file mode 100644 index 77143763..00000000 --- a/tests/moddns_client/test/test_model_blocklist.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_blocklist import ModelBlocklist - -class TestModelBlocklist(unittest.TestCase): - """ModelBlocklist unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelBlocklist: - """Test ModelBlocklist - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelBlocklist` - """ - model = ModelBlocklist() - if include_optional: - return ModelBlocklist( - blocklist_id = '', - category = '', - default = True, - description = '', - entries = 56, - homepage = '', - id = '', - intensity = [ - '' - ], - kind = '', - last_modified = '', - name = '', - source_url = '', - tags = [ - '' - ], - type = '' - ) - else: - return ModelBlocklist( - blocklist_id = '', - description = '', - name = '', - ) - """ - - def testModelBlocklist(self): - """Test ModelBlocklist""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_credential.py b/tests/moddns_client/test/test_model_credential.py deleted file mode 100644 index 8091caad..00000000 --- a/tests/moddns_client/test/test_model_credential.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_credential import ModelCredential - -class TestModelCredential(unittest.TestCase): - """ModelCredential unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelCredential: - """Test ModelCredential - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelCredential` - """ - model = ModelCredential() - if include_optional: - return ModelCredential( - created_at = '', - id = '' - ) - else: - return ModelCredential( - ) - """ - - def testModelCredential(self): - """Test ModelCredential""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_custom_rule.py b/tests/moddns_client/test/test_model_custom_rule.py deleted file mode 100644 index 5a58b64a..00000000 --- a/tests/moddns_client/test/test_model_custom_rule.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_custom_rule import ModelCustomRule - -class TestModelCustomRule(unittest.TestCase): - """ModelCustomRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelCustomRule: - """Test ModelCustomRule - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelCustomRule` - """ - model = ModelCustomRule() - if include_optional: - return ModelCustomRule( - action = '', - id = '', - value = '' - ) - else: - return ModelCustomRule( - action = '', - id = '', - value = '', - ) - """ - - def testModelCustomRule(self): - """Test ModelCustomRule""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_dns_request.py b/tests/moddns_client/test/test_model_dns_request.py deleted file mode 100644 index 3ba7697e..00000000 --- a/tests/moddns_client/test/test_model_dns_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_dns_request import ModelDNSRequest - -class TestModelDNSRequest(unittest.TestCase): - """ModelDNSRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelDNSRequest: - """Test ModelDNSRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelDNSRequest` - """ - model = ModelDNSRequest() - if include_optional: - return ModelDNSRequest( - dnssec = True, - domain = '', - query_type = '', - response_code = '' - ) - else: - return ModelDNSRequest( - ) - """ - - def testModelDNSRequest(self): - """Test ModelDNSRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_dnssec_settings.py b/tests/moddns_client/test/test_model_dnssec_settings.py deleted file mode 100644 index 1d5758be..00000000 --- a/tests/moddns_client/test/test_model_dnssec_settings.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_dnssec_settings import ModelDNSSECSettings - -class TestModelDNSSECSettings(unittest.TestCase): - """ModelDNSSECSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelDNSSECSettings: - """Test ModelDNSSECSettings - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelDNSSECSettings` - """ - model = ModelDNSSECSettings() - if include_optional: - return ModelDNSSECSettings( - enabled = True, - send_do_bit = True - ) - else: - return ModelDNSSECSettings( - enabled = True, - send_do_bit = True, - ) - """ - - def testModelDNSSECSettings(self): - """Test ModelDNSSECSettings""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_logs_settings.py b/tests/moddns_client/test/test_model_logs_settings.py deleted file mode 100644 index 912f5552..00000000 --- a/tests/moddns_client/test/test_model_logs_settings.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_logs_settings import ModelLogsSettings - -class TestModelLogsSettings(unittest.TestCase): - """ModelLogsSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelLogsSettings: - """Test ModelLogsSettings - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelLogsSettings` - """ - model = ModelLogsSettings() - if include_optional: - return ModelLogsSettings( - enabled = True, - log_clients_ips = True, - log_domains = True, - retention = '1h' - ) - else: - return ModelLogsSettings( - enabled = True, - log_clients_ips = True, - log_domains = True, - retention = '1h', - ) - """ - - def testModelLogsSettings(self): - """Test ModelLogsSettings""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_mfa_settings.py b/tests/moddns_client/test/test_model_mfa_settings.py deleted file mode 100644 index 407e34a1..00000000 --- a/tests/moddns_client/test/test_model_mfa_settings.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_mfa_settings import ModelMFASettings - -class TestModelMFASettings(unittest.TestCase): - """ModelMFASettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelMFASettings: - """Test ModelMFASettings - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelMFASettings` - """ - model = ModelMFASettings() - if include_optional: - return ModelMFASettings( - totp = moddns.models.model/totp_settings.model.TotpSettings( - enabled = True, ) - ) - else: - return ModelMFASettings( - ) - """ - - def testModelMFASettings(self): - """Test ModelMFASettings""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_privacy.py b/tests/moddns_client/test/test_model_privacy.py deleted file mode 100644 index 9398ca19..00000000 --- a/tests/moddns_client/test/test_model_privacy.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_privacy import ModelPrivacy - -class TestModelPrivacy(unittest.TestCase): - """ModelPrivacy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelPrivacy: - """Test ModelPrivacy - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelPrivacy` - """ - model = ModelPrivacy() - if include_optional: - return ModelPrivacy( - blocklists = [ - '' - ], - blocklists_subdomains_rule = 'block', - custom_rules_subdomains_rule = 'include', - default_rule = 'block', - services = [ - '' - ] - ) - else: - return ModelPrivacy( - blocklists_subdomains_rule = 'block', - default_rule = 'block', - ) - """ - - def testModelPrivacy(self): - """Test ModelPrivacy""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_profile.py b/tests/moddns_client/test/test_model_profile.py deleted file mode 100644 index 58ff0e70..00000000 --- a/tests/moddns_client/test/test_model_profile.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_profile import ModelProfile - -class TestModelProfile(unittest.TestCase): - """ModelProfile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelProfile: - """Test ModelProfile - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelProfile` - """ - model = ModelProfile() - if include_optional: - return ModelProfile( - account_id = '', - id = '', - name = '', - profile_id = '', - settings = moddns.models.model/profile_settings.model.ProfileSettings( - advanced = moddns.models.model/advanced.model.Advanced( - recursor = '', ), - custom_rules = [ - moddns.models.model/custom_rule.model.CustomRule( - action = '', - id = '', - value = '', ) - ], - logs = moddns.models.model/logs_settings.model.LogsSettings( - enabled = True, - log_clients_ips = True, - log_domains = True, - retention = '1h', ), - privacy = moddns.models.model/privacy.model.Privacy( - blocklists = [ - '' - ], - blocklists_subdomains_rule = 'block', - custom_rules_subdomains_rule = 'include', - default_rule = 'block', - services = [ - '' - ], ), - profile_id = '', - security = moddns.models.model/security.model.Security( - dnssec = moddns.models.model/dnssec_settings.model.DNSSECSettings( - enabled = True, - send_do_bit = True, ), ), - statistics = moddns.models.model/statistics_settings.model.StatisticsSettings( - enabled = True, ), ) - ) - else: - return ModelProfile( - account_id = '', - id = '', - name = '', - profile_id = '', - settings = moddns.models.model/profile_settings.model.ProfileSettings( - advanced = moddns.models.model/advanced.model.Advanced( - recursor = '', ), - custom_rules = [ - moddns.models.model/custom_rule.model.CustomRule( - action = '', - id = '', - value = '', ) - ], - logs = moddns.models.model/logs_settings.model.LogsSettings( - enabled = True, - log_clients_ips = True, - log_domains = True, - retention = '1h', ), - privacy = moddns.models.model/privacy.model.Privacy( - blocklists = [ - '' - ], - blocklists_subdomains_rule = 'block', - custom_rules_subdomains_rule = 'include', - default_rule = 'block', - services = [ - '' - ], ), - profile_id = '', - security = moddns.models.model/security.model.Security( - dnssec = moddns.models.model/dnssec_settings.model.DNSSECSettings( - enabled = True, - send_do_bit = True, ), ), - statistics = moddns.models.model/statistics_settings.model.StatisticsSettings( - enabled = True, ), ), - ) - """ - - def testModelProfile(self): - """Test ModelProfile""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_profile_settings.py b/tests/moddns_client/test/test_model_profile_settings.py deleted file mode 100644 index ed6697eb..00000000 --- a/tests/moddns_client/test/test_model_profile_settings.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_profile_settings import ModelProfileSettings - -class TestModelProfileSettings(unittest.TestCase): - """ModelProfileSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelProfileSettings: - """Test ModelProfileSettings - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelProfileSettings` - """ - model = ModelProfileSettings() - if include_optional: - return ModelProfileSettings( - advanced = moddns.models.model/advanced.model.Advanced( - recursor = '', ), - custom_rules = [ - moddns.models.model/custom_rule.model.CustomRule( - action = '', - id = '', - value = '', ) - ], - logs = moddns.models.model/logs_settings.model.LogsSettings( - enabled = True, - log_clients_ips = True, - log_domains = True, - retention = '1h', ), - privacy = moddns.models.model/privacy.model.Privacy( - blocklists = [ - '' - ], - blocklists_subdomains_rule = 'block', - custom_rules_subdomains_rule = 'include', - default_rule = 'block', - services = [ - '' - ], ), - profile_id = '', - security = moddns.models.model/security.model.Security( - dnssec = moddns.models.model/dnssec_settings.model.DNSSECSettings( - enabled = True, - send_do_bit = True, ), ), - statistics = moddns.models.model/statistics_settings.model.StatisticsSettings( - enabled = True, ) - ) - else: - return ModelProfileSettings( - advanced = moddns.models.model/advanced.model.Advanced( - recursor = '', ), - logs = moddns.models.model/logs_settings.model.LogsSettings( - enabled = True, - log_clients_ips = True, - log_domains = True, - retention = '1h', ), - privacy = moddns.models.model/privacy.model.Privacy( - blocklists = [ - '' - ], - blocklists_subdomains_rule = 'block', - custom_rules_subdomains_rule = 'include', - default_rule = 'block', - services = [ - '' - ], ), - profile_id = '', - security = moddns.models.model/security.model.Security( - dnssec = moddns.models.model/dnssec_settings.model.DNSSECSettings( - enabled = True, - send_do_bit = True, ), ), - statistics = moddns.models.model/statistics_settings.model.StatisticsSettings( - enabled = True, ), - ) - """ - - def testModelProfileSettings(self): - """Test ModelProfileSettings""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_profile_update.py b/tests/moddns_client/test/test_model_profile_update.py deleted file mode 100644 index 14c98fab..00000000 --- a/tests/moddns_client/test/test_model_profile_update.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_profile_update import ModelProfileUpdate - -class TestModelProfileUpdate(unittest.TestCase): - """ModelProfileUpdate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelProfileUpdate: - """Test ModelProfileUpdate - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelProfileUpdate` - """ - model = ModelProfileUpdate() - if include_optional: - return ModelProfileUpdate( - operation = 'remove', - path = '/name', - value = None - ) - else: - return ModelProfileUpdate( - operation = 'remove', - path = '/name', - value = None, - ) - """ - - def testModelProfileUpdate(self): - """Test ModelProfileUpdate""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_query_log.py b/tests/moddns_client/test/test_model_query_log.py deleted file mode 100644 index 9301de80..00000000 --- a/tests/moddns_client/test/test_model_query_log.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_query_log import ModelQueryLog - -class TestModelQueryLog(unittest.TestCase): - """ModelQueryLog unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelQueryLog: - """Test ModelQueryLog - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelQueryLog` - """ - model = ModelQueryLog() - if include_optional: - return ModelQueryLog( - client_ip = '', - device_id = '', - dns_request = moddns.models.model/dns_request.model.DNSRequest( - dnssec = True, - domain = '', - query_type = '', - response_code = '', ), - id = '', - profile_id = '', - protocol = '', - reasons = [ - '' - ], - status = '', - timestamp = '' - ) - else: - return ModelQueryLog( - ) - """ - - def testModelQueryLog(self): - """Test ModelQueryLog""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_retention.py b/tests/moddns_client/test/test_model_retention.py deleted file mode 100644 index b8e404fd..00000000 --- a/tests/moddns_client/test/test_model_retention.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_retention import ModelRetention - -class TestModelRetention(unittest.TestCase): - """ModelRetention unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testModelRetention(self): - """Test ModelRetention""" - # inst = ModelRetention() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_security.py b/tests/moddns_client/test/test_model_security.py deleted file mode 100644 index 766b644f..00000000 --- a/tests/moddns_client/test/test_model_security.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_security import ModelSecurity - -class TestModelSecurity(unittest.TestCase): - """ModelSecurity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelSecurity: - """Test ModelSecurity - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelSecurity` - """ - model = ModelSecurity() - if include_optional: - return ModelSecurity( - dnssec = moddns.models.model/dnssec_settings.model.DNSSECSettings( - enabled = True, - send_do_bit = True, ) - ) - else: - return ModelSecurity( - dnssec = moddns.models.model/dnssec_settings.model.DNSSECSettings( - enabled = True, - send_do_bit = True, ), - ) - """ - - def testModelSecurity(self): - """Test ModelSecurity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_statistics_aggregated.py b/tests/moddns_client/test/test_model_statistics_aggregated.py deleted file mode 100644 index dcb28b0e..00000000 --- a/tests/moddns_client/test/test_model_statistics_aggregated.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_statistics_aggregated import ModelStatisticsAggregated - -class TestModelStatisticsAggregated(unittest.TestCase): - """ModelStatisticsAggregated unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelStatisticsAggregated: - """Test ModelStatisticsAggregated - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelStatisticsAggregated` - """ - model = ModelStatisticsAggregated() - if include_optional: - return ModelStatisticsAggregated( - total = 56 - ) - else: - return ModelStatisticsAggregated( - ) - """ - - def testModelStatisticsAggregated(self): - """Test ModelStatisticsAggregated""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_statistics_settings.py b/tests/moddns_client/test/test_model_statistics_settings.py deleted file mode 100644 index fca2da6e..00000000 --- a/tests/moddns_client/test/test_model_statistics_settings.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_statistics_settings import ModelStatisticsSettings - -class TestModelStatisticsSettings(unittest.TestCase): - """ModelStatisticsSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelStatisticsSettings: - """Test ModelStatisticsSettings - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelStatisticsSettings` - """ - model = ModelStatisticsSettings() - if include_optional: - return ModelStatisticsSettings( - enabled = True - ) - else: - return ModelStatisticsSettings( - enabled = True, - ) - """ - - def testModelStatisticsSettings(self): - """Test ModelStatisticsSettings""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_subscription.py b/tests/moddns_client/test/test_model_subscription.py deleted file mode 100644 index 103689ef..00000000 --- a/tests/moddns_client/test/test_model_subscription.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_subscription import ModelSubscription - -class TestModelSubscription(unittest.TestCase): - """ModelSubscription unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelSubscription: - """Test ModelSubscription - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelSubscription` - """ - model = ModelSubscription() - if include_optional: - return ModelSubscription( - active_until = '', - outage = True, - status = 'active', - tier = '', - updated_at = '' - ) - else: - return ModelSubscription( - ) - """ - - def testModelSubscription(self): - """Test ModelSubscription""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_subscription_status.py b/tests/moddns_client/test/test_model_subscription_status.py deleted file mode 100644 index 62429f3a..00000000 --- a/tests/moddns_client/test/test_model_subscription_status.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_subscription_status import ModelSubscriptionStatus - -class TestModelSubscriptionStatus(unittest.TestCase): - """ModelSubscriptionStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testModelSubscriptionStatus(self): - """Test ModelSubscriptionStatus""" - # inst = ModelSubscriptionStatus() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_totp_backup.py b/tests/moddns_client/test/test_model_totp_backup.py deleted file mode 100644 index e4d03f4f..00000000 --- a/tests/moddns_client/test/test_model_totp_backup.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_totp_backup import ModelTOTPBackup - -class TestModelTOTPBackup(unittest.TestCase): - """ModelTOTPBackup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelTOTPBackup: - """Test ModelTOTPBackup - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelTOTPBackup` - """ - model = ModelTOTPBackup() - if include_optional: - return ModelTOTPBackup( - backup_codes = [ - '' - ] - ) - else: - return ModelTOTPBackup( - ) - """ - - def testModelTOTPBackup(self): - """Test ModelTOTPBackup""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_totp_new.py b/tests/moddns_client/test/test_model_totp_new.py deleted file mode 100644 index 93b6c025..00000000 --- a/tests/moddns_client/test/test_model_totp_new.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_totp_new import ModelTOTPNew - -class TestModelTOTPNew(unittest.TestCase): - """ModelTOTPNew unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelTOTPNew: - """Test ModelTOTPNew - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelTOTPNew` - """ - model = ModelTOTPNew() - if include_optional: - return ModelTOTPNew( - account = '', - secret = '', - uri = '' - ) - else: - return ModelTOTPNew( - ) - """ - - def testModelTOTPNew(self): - """Test ModelTOTPNew""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_model_totp_settings.py b/tests/moddns_client/test/test_model_totp_settings.py deleted file mode 100644 index 28099bbb..00000000 --- a/tests/moddns_client/test/test_model_totp_settings.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.model_totp_settings import ModelTotpSettings - -class TestModelTotpSettings(unittest.TestCase): - """ModelTotpSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelTotpSettings: - """Test ModelTotpSettings - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelTotpSettings` - """ - model = ModelTotpSettings() - if include_optional: - return ModelTotpSettings( - enabled = True - ) - else: - return ModelTotpSettings( - ) - """ - - def testModelTotpSettings(self): - """Test ModelTotpSettings""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_pa_session_api.py b/tests/moddns_client/test/test_pa_session_api.py deleted file mode 100644 index d8a0c32a..00000000 --- a/tests/moddns_client/test/test_pa_session_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.pa_session_api import PASessionApi - - -class TestPASessionApi(unittest.TestCase): - """PASessionApi unit test stubs""" - - def setUp(self) -> None: - self.api = PASessionApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_pasession_add_post(self) -> None: - """Test case for api_v1_pasession_add_post - - Add pre-auth session - """ - pass - - def test_api_v1_pasession_rotate_put(self) -> None: - """Test case for api_v1_pasession_rotate_put - - Rotate pre-auth session ID - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_profile_api.py b/tests/moddns_client/test/test_profile_api.py deleted file mode 100644 index 143a14b5..00000000 --- a/tests/moddns_client/test/test_profile_api.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.profile_api import ProfileApi - - -class TestProfileApi(unittest.TestCase): - """ProfileApi unit test stubs""" - - def setUp(self) -> None: - self.api = ProfileApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_profiles_get(self) -> None: - """Test case for api_v1_profiles_get - - Get profiles data - """ - pass - - def test_api_v1_profiles_id_blocklists_delete(self) -> None: - """Test case for api_v1_profiles_id_blocklists_delete - - Disable blocklists - """ - pass - - def test_api_v1_profiles_id_blocklists_post(self) -> None: - """Test case for api_v1_profiles_id_blocklists_post - - Enable blocklists - """ - pass - - def test_api_v1_profiles_id_custom_rules_batch_post(self) -> None: - """Test case for api_v1_profiles_id_custom_rules_batch_post - - Create profile custom rules (batch) - """ - pass - - def test_api_v1_profiles_id_custom_rules_custom_rule_id_delete(self) -> None: - """Test case for api_v1_profiles_id_custom_rules_custom_rule_id_delete - - Delete profile custom rule - """ - pass - - def test_api_v1_profiles_id_custom_rules_post(self) -> None: - """Test case for api_v1_profiles_id_custom_rules_post - - Create profile custom rule - """ - pass - - def test_api_v1_profiles_id_delete(self) -> None: - """Test case for api_v1_profiles_id_delete - - Delete profile - """ - pass - - def test_api_v1_profiles_id_get(self) -> None: - """Test case for api_v1_profiles_id_get - - Get profile data - """ - pass - - def test_api_v1_profiles_id_patch(self) -> None: - """Test case for api_v1_profiles_id_patch - - Update profile - """ - pass - - def test_api_v1_profiles_id_services_delete(self) -> None: - """Test case for api_v1_profiles_id_services_delete - - Disable services - """ - pass - - def test_api_v1_profiles_id_services_post(self) -> None: - """Test case for api_v1_profiles_id_services_post - - Enable services - """ - pass - - def test_api_v1_profiles_post(self) -> None: - """Test case for api_v1_profiles_post - - Create profile - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_attestation_format.py b/tests/moddns_client/test/test_protocol_attestation_format.py deleted file mode 100644 index c2be020e..00000000 --- a/tests/moddns_client/test/test_protocol_attestation_format.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_attestation_format import ProtocolAttestationFormat - -class TestProtocolAttestationFormat(unittest.TestCase): - """ProtocolAttestationFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolAttestationFormat(self): - """Test ProtocolAttestationFormat""" - # inst = ProtocolAttestationFormat() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_authenticator_attachment.py b/tests/moddns_client/test/test_protocol_authenticator_attachment.py deleted file mode 100644 index 4f4d7539..00000000 --- a/tests/moddns_client/test/test_protocol_authenticator_attachment.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_authenticator_attachment import ProtocolAuthenticatorAttachment - -class TestProtocolAuthenticatorAttachment(unittest.TestCase): - """ProtocolAuthenticatorAttachment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolAuthenticatorAttachment(self): - """Test ProtocolAuthenticatorAttachment""" - # inst = ProtocolAuthenticatorAttachment() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_authenticator_selection.py b/tests/moddns_client/test/test_protocol_authenticator_selection.py deleted file mode 100644 index 4c3041fa..00000000 --- a/tests/moddns_client/test/test_protocol_authenticator_selection.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_authenticator_selection import ProtocolAuthenticatorSelection - -class TestProtocolAuthenticatorSelection(unittest.TestCase): - """ProtocolAuthenticatorSelection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolAuthenticatorSelection: - """Test ProtocolAuthenticatorSelection - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolAuthenticatorSelection` - """ - model = ProtocolAuthenticatorSelection() - if include_optional: - return ProtocolAuthenticatorSelection( - authenticator_attachment = 'platform', - require_resident_key = True, - resident_key = 'discouraged', - user_verification = 'required' - ) - else: - return ProtocolAuthenticatorSelection( - ) - """ - - def testProtocolAuthenticatorSelection(self): - """Test ProtocolAuthenticatorSelection""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_authenticator_transport.py b/tests/moddns_client/test/test_protocol_authenticator_transport.py deleted file mode 100644 index 190e9860..00000000 --- a/tests/moddns_client/test/test_protocol_authenticator_transport.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_authenticator_transport import ProtocolAuthenticatorTransport - -class TestProtocolAuthenticatorTransport(unittest.TestCase): - """ProtocolAuthenticatorTransport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolAuthenticatorTransport(self): - """Test ProtocolAuthenticatorTransport""" - # inst = ProtocolAuthenticatorTransport() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_conveyance_preference.py b/tests/moddns_client/test/test_protocol_conveyance_preference.py deleted file mode 100644 index 56664459..00000000 --- a/tests/moddns_client/test/test_protocol_conveyance_preference.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_conveyance_preference import ProtocolConveyancePreference - -class TestProtocolConveyancePreference(unittest.TestCase): - """ProtocolConveyancePreference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolConveyancePreference(self): - """Test ProtocolConveyancePreference""" - # inst = ProtocolConveyancePreference() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_credential_assertion.py b/tests/moddns_client/test/test_protocol_credential_assertion.py deleted file mode 100644 index 53449575..00000000 --- a/tests/moddns_client/test/test_protocol_credential_assertion.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_credential_assertion import ProtocolCredentialAssertion - -class TestProtocolCredentialAssertion(unittest.TestCase): - """ProtocolCredentialAssertion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolCredentialAssertion: - """Test ProtocolCredentialAssertion - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolCredentialAssertion` - """ - model = ProtocolCredentialAssertion() - if include_optional: - return ProtocolCredentialAssertion( - mediation = 'silent', - public_key = moddns.models.protocol/public_key_credential_request_options.protocol.PublicKeyCredentialRequestOptions( - allow_credentials = [ - moddns.models.protocol/credential_descriptor.protocol.CredentialDescriptor( - id = [ - 56 - ], - transports = [ - 'usb' - ], - type = moddns.models.type.type(), ) - ], - challenge = [ - 56 - ], - extensions = { - 'key' : None - }, - hints = [ - 'security-key' - ], - rp_id = '', - timeout = 56, - user_verification = 'required', ) - ) - else: - return ProtocolCredentialAssertion( - ) - """ - - def testProtocolCredentialAssertion(self): - """Test ProtocolCredentialAssertion""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_credential_creation.py b/tests/moddns_client/test/test_protocol_credential_creation.py deleted file mode 100644 index 9c2116c0..00000000 --- a/tests/moddns_client/test/test_protocol_credential_creation.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_credential_creation import ProtocolCredentialCreation - -class TestProtocolCredentialCreation(unittest.TestCase): - """ProtocolCredentialCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolCredentialCreation: - """Test ProtocolCredentialCreation - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolCredentialCreation` - """ - model = ProtocolCredentialCreation() - if include_optional: - return ProtocolCredentialCreation( - mediation = 'silent', - public_key = moddns.models.protocol/public_key_credential_creation_options.protocol.PublicKeyCredentialCreationOptions( - attestation = 'none', - attestation_formats = [ - 'packed' - ], - authenticator_selection = moddns.models.protocol/authenticator_selection.protocol.AuthenticatorSelection( - authenticator_attachment = moddns.models.authenticator_attachment.authenticatorAttachment(), - require_resident_key = True, - resident_key = moddns.models.resident_key.residentKey(), - user_verification = moddns.models.user_verification.userVerification(), ), - challenge = [ - 56 - ], - exclude_credentials = [ - moddns.models.protocol/credential_descriptor.protocol.CredentialDescriptor( - id = [ - 56 - ], - transports = [ - 'usb' - ], - type = moddns.models.type.type(), ) - ], - extensions = { - 'key' : None - }, - hints = [ - 'security-key' - ], - pub_key_cred_params = [ - moddns.models.protocol/credential_parameter.protocol.CredentialParameter( - alg = -7, - type = 'public-key', ) - ], - rp = moddns.models.protocol/relying_party_entity.protocol.RelyingPartyEntity( - name = '', ), - timeout = 56, - user = moddns.models.protocol/user_entity.protocol.UserEntity( - display_name = '', - name = '', ), ) - ) - else: - return ProtocolCredentialCreation( - ) - """ - - def testProtocolCredentialCreation(self): - """Test ProtocolCredentialCreation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_credential_descriptor.py b/tests/moddns_client/test/test_protocol_credential_descriptor.py deleted file mode 100644 index 92caf088..00000000 --- a/tests/moddns_client/test/test_protocol_credential_descriptor.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_credential_descriptor import ProtocolCredentialDescriptor - -class TestProtocolCredentialDescriptor(unittest.TestCase): - """ProtocolCredentialDescriptor unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolCredentialDescriptor: - """Test ProtocolCredentialDescriptor - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolCredentialDescriptor` - """ - model = ProtocolCredentialDescriptor() - if include_optional: - return ProtocolCredentialDescriptor( - id = [ - 56 - ], - transports = [ - 'usb' - ], - type = 'public-key' - ) - else: - return ProtocolCredentialDescriptor( - ) - """ - - def testProtocolCredentialDescriptor(self): - """Test ProtocolCredentialDescriptor""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_credential_mediation_requirement.py b/tests/moddns_client/test/test_protocol_credential_mediation_requirement.py deleted file mode 100644 index 6716a023..00000000 --- a/tests/moddns_client/test/test_protocol_credential_mediation_requirement.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_credential_mediation_requirement import ProtocolCredentialMediationRequirement - -class TestProtocolCredentialMediationRequirement(unittest.TestCase): - """ProtocolCredentialMediationRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolCredentialMediationRequirement(self): - """Test ProtocolCredentialMediationRequirement""" - # inst = ProtocolCredentialMediationRequirement() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_credential_parameter.py b/tests/moddns_client/test/test_protocol_credential_parameter.py deleted file mode 100644 index d8bdabd4..00000000 --- a/tests/moddns_client/test/test_protocol_credential_parameter.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_credential_parameter import ProtocolCredentialParameter - -class TestProtocolCredentialParameter(unittest.TestCase): - """ProtocolCredentialParameter unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolCredentialParameter: - """Test ProtocolCredentialParameter - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolCredentialParameter` - """ - model = ProtocolCredentialParameter() - if include_optional: - return ProtocolCredentialParameter( - alg = -7, - type = 'public-key' - ) - else: - return ProtocolCredentialParameter( - ) - """ - - def testProtocolCredentialParameter(self): - """Test ProtocolCredentialParameter""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_credential_type.py b/tests/moddns_client/test/test_protocol_credential_type.py deleted file mode 100644 index 8c590d63..00000000 --- a/tests/moddns_client/test/test_protocol_credential_type.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_credential_type import ProtocolCredentialType - -class TestProtocolCredentialType(unittest.TestCase): - """ProtocolCredentialType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolCredentialType(self): - """Test ProtocolCredentialType""" - # inst = ProtocolCredentialType() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_public_key_credential_creation_options.py b/tests/moddns_client/test/test_protocol_public_key_credential_creation_options.py deleted file mode 100644 index 48c2263d..00000000 --- a/tests/moddns_client/test/test_protocol_public_key_credential_creation_options.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_public_key_credential_creation_options import ProtocolPublicKeyCredentialCreationOptions - -class TestProtocolPublicKeyCredentialCreationOptions(unittest.TestCase): - """ProtocolPublicKeyCredentialCreationOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolPublicKeyCredentialCreationOptions: - """Test ProtocolPublicKeyCredentialCreationOptions - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolPublicKeyCredentialCreationOptions` - """ - model = ProtocolPublicKeyCredentialCreationOptions() - if include_optional: - return ProtocolPublicKeyCredentialCreationOptions( - attestation = 'none', - attestation_formats = [ - 'packed' - ], - authenticator_selection = moddns.models.protocol/authenticator_selection.protocol.AuthenticatorSelection( - authenticator_attachment = moddns.models.authenticator_attachment.authenticatorAttachment(), - require_resident_key = True, - resident_key = moddns.models.resident_key.residentKey(), - user_verification = moddns.models.user_verification.userVerification(), ), - challenge = [ - 56 - ], - exclude_credentials = [ - moddns.models.protocol/credential_descriptor.protocol.CredentialDescriptor( - id = [ - 56 - ], - transports = [ - 'usb' - ], - type = moddns.models.type.type(), ) - ], - extensions = { - 'key' : None - }, - hints = [ - 'security-key' - ], - pub_key_cred_params = [ - moddns.models.protocol/credential_parameter.protocol.CredentialParameter( - alg = -7, - type = 'public-key', ) - ], - rp = moddns.models.protocol/relying_party_entity.protocol.RelyingPartyEntity( - id = '', - name = '', ), - timeout = 56, - user = moddns.models.protocol/user_entity.protocol.UserEntity( - display_name = '', - id = moddns.models.id.id(), - name = '', ) - ) - else: - return ProtocolPublicKeyCredentialCreationOptions( - ) - """ - - def testProtocolPublicKeyCredentialCreationOptions(self): - """Test ProtocolPublicKeyCredentialCreationOptions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_public_key_credential_hints.py b/tests/moddns_client/test/test_protocol_public_key_credential_hints.py deleted file mode 100644 index d626726a..00000000 --- a/tests/moddns_client/test/test_protocol_public_key_credential_hints.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_public_key_credential_hints import ProtocolPublicKeyCredentialHints - -class TestProtocolPublicKeyCredentialHints(unittest.TestCase): - """ProtocolPublicKeyCredentialHints unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolPublicKeyCredentialHints(self): - """Test ProtocolPublicKeyCredentialHints""" - # inst = ProtocolPublicKeyCredentialHints() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_public_key_credential_request_options.py b/tests/moddns_client/test/test_protocol_public_key_credential_request_options.py deleted file mode 100644 index a5de323e..00000000 --- a/tests/moddns_client/test/test_protocol_public_key_credential_request_options.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_public_key_credential_request_options import ProtocolPublicKeyCredentialRequestOptions - -class TestProtocolPublicKeyCredentialRequestOptions(unittest.TestCase): - """ProtocolPublicKeyCredentialRequestOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolPublicKeyCredentialRequestOptions: - """Test ProtocolPublicKeyCredentialRequestOptions - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolPublicKeyCredentialRequestOptions` - """ - model = ProtocolPublicKeyCredentialRequestOptions() - if include_optional: - return ProtocolPublicKeyCredentialRequestOptions( - allow_credentials = [ - moddns.models.protocol/credential_descriptor.protocol.CredentialDescriptor( - id = [ - 56 - ], - transports = [ - 'usb' - ], - type = moddns.models.type.type(), ) - ], - challenge = [ - 56 - ], - extensions = { - 'key' : None - }, - hints = [ - 'security-key' - ], - rp_id = '', - timeout = 56, - user_verification = 'required' - ) - else: - return ProtocolPublicKeyCredentialRequestOptions( - ) - """ - - def testProtocolPublicKeyCredentialRequestOptions(self): - """Test ProtocolPublicKeyCredentialRequestOptions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_relying_party_entity.py b/tests/moddns_client/test/test_protocol_relying_party_entity.py deleted file mode 100644 index 415525b3..00000000 --- a/tests/moddns_client/test/test_protocol_relying_party_entity.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_relying_party_entity import ProtocolRelyingPartyEntity - -class TestProtocolRelyingPartyEntity(unittest.TestCase): - """ProtocolRelyingPartyEntity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolRelyingPartyEntity: - """Test ProtocolRelyingPartyEntity - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolRelyingPartyEntity` - """ - model = ProtocolRelyingPartyEntity() - if include_optional: - return ProtocolRelyingPartyEntity( - id = '', - name = '' - ) - else: - return ProtocolRelyingPartyEntity( - ) - """ - - def testProtocolRelyingPartyEntity(self): - """Test ProtocolRelyingPartyEntity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_resident_key_requirement.py b/tests/moddns_client/test/test_protocol_resident_key_requirement.py deleted file mode 100644 index fe28d2c3..00000000 --- a/tests/moddns_client/test/test_protocol_resident_key_requirement.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_resident_key_requirement import ProtocolResidentKeyRequirement - -class TestProtocolResidentKeyRequirement(unittest.TestCase): - """ProtocolResidentKeyRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolResidentKeyRequirement(self): - """Test ProtocolResidentKeyRequirement""" - # inst = ProtocolResidentKeyRequirement() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_user_entity.py b/tests/moddns_client/test/test_protocol_user_entity.py deleted file mode 100644 index c8cdffdf..00000000 --- a/tests/moddns_client/test/test_protocol_user_entity.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_user_entity import ProtocolUserEntity - -class TestProtocolUserEntity(unittest.TestCase): - """ProtocolUserEntity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProtocolUserEntity: - """Test ProtocolUserEntity - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProtocolUserEntity` - """ - model = ProtocolUserEntity() - if include_optional: - return ProtocolUserEntity( - display_name = '', - id = moddns.models.id.id(), - name = '' - ) - else: - return ProtocolUserEntity( - ) - """ - - def testProtocolUserEntity(self): - """Test ProtocolUserEntity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_protocol_user_verification_requirement.py b/tests/moddns_client/test/test_protocol_user_verification_requirement.py deleted file mode 100644 index b858d02d..00000000 --- a/tests/moddns_client/test/test_protocol_user_verification_requirement.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.protocol_user_verification_requirement import ProtocolUserVerificationRequirement - -class TestProtocolUserVerificationRequirement(unittest.TestCase): - """ProtocolUserVerificationRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testProtocolUserVerificationRequirement(self): - """Test ProtocolUserVerificationRequirement""" - # inst = ProtocolUserVerificationRequirement() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_query_logs_api.py b/tests/moddns_client/test/test_query_logs_api.py deleted file mode 100644 index 8e57eba2..00000000 --- a/tests/moddns_client/test/test_query_logs_api.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.query_logs_api import QueryLogsApi - - -class TestQueryLogsApi(unittest.TestCase): - """QueryLogsApi unit test stubs""" - - def setUp(self) -> None: - self.api = QueryLogsApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_profiles_id_logs_delete(self) -> None: - """Test case for api_v1_profiles_id_logs_delete - - Delete profile query logs - """ - pass - - def test_api_v1_profiles_id_logs_download_get(self) -> None: - """Test case for api_v1_profiles_id_logs_download_get - - Download profile query logs - """ - pass - - def test_api_v1_profiles_id_logs_get(self) -> None: - """Test case for api_v1_profiles_id_logs_get - - Get profile query logs - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_account_deletion_request.py b/tests/moddns_client/test/test_requests_account_deletion_request.py deleted file mode 100644 index 038c92fc..00000000 --- a/tests/moddns_client/test/test_requests_account_deletion_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_account_deletion_request import RequestsAccountDeletionRequest - -class TestRequestsAccountDeletionRequest(unittest.TestCase): - """RequestsAccountDeletionRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsAccountDeletionRequest: - """Test RequestsAccountDeletionRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsAccountDeletionRequest` - """ - model = RequestsAccountDeletionRequest() - if include_optional: - return RequestsAccountDeletionRequest( - current_password = '0', - deletion_code = '', - reauth_token = '0' - ) - else: - return RequestsAccountDeletionRequest( - deletion_code = '', - ) - """ - - def testRequestsAccountDeletionRequest(self): - """Test RequestsAccountDeletionRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_account_updates.py b/tests/moddns_client/test/test_requests_account_updates.py deleted file mode 100644 index 5cda2b27..00000000 --- a/tests/moddns_client/test/test_requests_account_updates.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_account_updates import RequestsAccountUpdates - -class TestRequestsAccountUpdates(unittest.TestCase): - """RequestsAccountUpdates unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsAccountUpdates: - """Test RequestsAccountUpdates - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsAccountUpdates` - """ - model = RequestsAccountUpdates() - if include_optional: - return RequestsAccountUpdates( - updates = [ - moddns.models.model/account_update.model.AccountUpdate( - operation = 'remove', - path = '/password', - value = moddns.models.value.value(), ) - ] - ) - else: - return RequestsAccountUpdates( - updates = [ - moddns.models.model/account_update.model.AccountUpdate( - operation = 'remove', - path = '/password', - value = moddns.models.value.value(), ) - ], - ) - """ - - def testRequestsAccountUpdates(self): - """Test RequestsAccountUpdates""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_advanced_options_req.py b/tests/moddns_client/test/test_requests_advanced_options_req.py deleted file mode 100644 index e46315c6..00000000 --- a/tests/moddns_client/test/test_requests_advanced_options_req.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_advanced_options_req import RequestsAdvancedOptionsReq - -class TestRequestsAdvancedOptionsReq(unittest.TestCase): - """RequestsAdvancedOptionsReq unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsAdvancedOptionsReq: - """Test RequestsAdvancedOptionsReq - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsAdvancedOptionsReq` - """ - model = RequestsAdvancedOptionsReq() - if include_optional: - return RequestsAdvancedOptionsReq( - encryption_type = 'https', - excluded_wifi_networks = '' - ) - else: - return RequestsAdvancedOptionsReq( - encryption_type = 'https', - ) - """ - - def testRequestsAdvancedOptionsReq(self): - """Test RequestsAdvancedOptionsReq""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_confirm_reset_password_body.py b/tests/moddns_client/test/test_requests_confirm_reset_password_body.py deleted file mode 100644 index b57b2dfe..00000000 --- a/tests/moddns_client/test/test_requests_confirm_reset_password_body.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_confirm_reset_password_body import RequestsConfirmResetPasswordBody - -class TestRequestsConfirmResetPasswordBody(unittest.TestCase): - """RequestsConfirmResetPasswordBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsConfirmResetPasswordBody: - """Test RequestsConfirmResetPasswordBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsConfirmResetPasswordBody` - """ - model = RequestsConfirmResetPasswordBody() - if include_optional: - return RequestsConfirmResetPasswordBody( - new_password = '', - otp = '', - token = '' - ) - else: - return RequestsConfirmResetPasswordBody( - new_password = '', - token = '', - ) - """ - - def testRequestsConfirmResetPasswordBody(self): - """Test RequestsConfirmResetPasswordBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_create_profile_custom_rule_body.py b/tests/moddns_client/test/test_requests_create_profile_custom_rule_body.py deleted file mode 100644 index 50edcd10..00000000 --- a/tests/moddns_client/test/test_requests_create_profile_custom_rule_body.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_create_profile_custom_rule_body import RequestsCreateProfileCustomRuleBody - -class TestRequestsCreateProfileCustomRuleBody(unittest.TestCase): - """RequestsCreateProfileCustomRuleBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsCreateProfileCustomRuleBody: - """Test RequestsCreateProfileCustomRuleBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsCreateProfileCustomRuleBody` - """ - model = RequestsCreateProfileCustomRuleBody() - if include_optional: - return RequestsCreateProfileCustomRuleBody( - action = 'block', - value = '' - ) - else: - return RequestsCreateProfileCustomRuleBody( - action = 'block', - value = '', - ) - """ - - def testRequestsCreateProfileCustomRuleBody(self): - """Test RequestsCreateProfileCustomRuleBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_create_profile_custom_rules_batch_body.py b/tests/moddns_client/test/test_requests_create_profile_custom_rules_batch_body.py deleted file mode 100644 index 709b73cf..00000000 --- a/tests/moddns_client/test/test_requests_create_profile_custom_rules_batch_body.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_create_profile_custom_rules_batch_body import RequestsCreateProfileCustomRulesBatchBody - -class TestRequestsCreateProfileCustomRulesBatchBody(unittest.TestCase): - """RequestsCreateProfileCustomRulesBatchBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsCreateProfileCustomRulesBatchBody: - """Test RequestsCreateProfileCustomRulesBatchBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsCreateProfileCustomRulesBatchBody` - """ - model = RequestsCreateProfileCustomRulesBatchBody() - if include_optional: - return RequestsCreateProfileCustomRulesBatchBody( - action = 'block', - values = [ - '' - ] - ) - else: - return RequestsCreateProfileCustomRulesBatchBody( - action = 'block', - values = [ - '' - ], - ) - """ - - def testRequestsCreateProfileCustomRulesBatchBody(self): - """Test RequestsCreateProfileCustomRulesBatchBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_login_body.py b/tests/moddns_client/test/test_requests_login_body.py deleted file mode 100644 index cdb02e40..00000000 --- a/tests/moddns_client/test/test_requests_login_body.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_login_body import RequestsLoginBody - -class TestRequestsLoginBody(unittest.TestCase): - """RequestsLoginBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsLoginBody: - """Test RequestsLoginBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsLoginBody` - """ - model = RequestsLoginBody() - if include_optional: - return RequestsLoginBody( - email = '', - password = '' - ) - else: - return RequestsLoginBody( - email = '', - password = '', - ) - """ - - def testRequestsLoginBody(self): - """Test RequestsLoginBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_mobile_config_req.py b/tests/moddns_client/test/test_requests_mobile_config_req.py deleted file mode 100644 index d0056ffa..00000000 --- a/tests/moddns_client/test/test_requests_mobile_config_req.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_mobile_config_req import RequestsMobileConfigReq - -class TestRequestsMobileConfigReq(unittest.TestCase): - """RequestsMobileConfigReq unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsMobileConfigReq: - """Test RequestsMobileConfigReq - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsMobileConfigReq` - """ - model = RequestsMobileConfigReq() - if include_optional: - return RequestsMobileConfigReq( - advanced_options = moddns.models.requests/advanced_options_req.requests.AdvancedOptionsReq( - encryption_type = 'https', - excluded_wifi_networks = '', ), - device_id = '', - profile_id = '' - ) - else: - return RequestsMobileConfigReq( - profile_id = '', - ) - """ - - def testRequestsMobileConfigReq(self): - """Test RequestsMobileConfigReq""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_pa_session_req.py b/tests/moddns_client/test/test_requests_pa_session_req.py deleted file mode 100644 index 39d49f6b..00000000 --- a/tests/moddns_client/test/test_requests_pa_session_req.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_pa_session_req import RequestsPASessionReq - -class TestRequestsPASessionReq(unittest.TestCase): - """RequestsPASessionReq unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsPASessionReq: - """Test RequestsPASessionReq - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsPASessionReq` - """ - model = RequestsPASessionReq() - if include_optional: - return RequestsPASessionReq( - id = '', - preauth_id = '', - token = '' - ) - else: - return RequestsPASessionReq( - id = '', - preauth_id = '', - token = '', - ) - """ - - def testRequestsPASessionReq(self): - """Test RequestsPASessionReq""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_profile_updates.py b/tests/moddns_client/test/test_requests_profile_updates.py deleted file mode 100644 index 89094a9f..00000000 --- a/tests/moddns_client/test/test_requests_profile_updates.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_profile_updates import RequestsProfileUpdates - -class TestRequestsProfileUpdates(unittest.TestCase): - """RequestsProfileUpdates unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsProfileUpdates: - """Test RequestsProfileUpdates - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsProfileUpdates` - """ - model = RequestsProfileUpdates() - if include_optional: - return RequestsProfileUpdates( - updates = [ - moddns.models.model/profile_update.model.ProfileUpdate( - operation = 'remove', - path = '/name', - value = moddns.models.value.value(), ) - ] - ) - else: - return RequestsProfileUpdates( - updates = [ - moddns.models.model/profile_update.model.ProfileUpdate( - operation = 'remove', - path = '/name', - value = moddns.models.value.value(), ) - ], - ) - """ - - def testRequestsProfileUpdates(self): - """Test RequestsProfileUpdates""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_reset_password_body.py b/tests/moddns_client/test/test_requests_reset_password_body.py deleted file mode 100644 index ddc16a24..00000000 --- a/tests/moddns_client/test/test_requests_reset_password_body.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_reset_password_body import RequestsResetPasswordBody - -class TestRequestsResetPasswordBody(unittest.TestCase): - """RequestsResetPasswordBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsResetPasswordBody: - """Test RequestsResetPasswordBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsResetPasswordBody` - """ - model = RequestsResetPasswordBody() - if include_optional: - return RequestsResetPasswordBody( - email = '' - ) - else: - return RequestsResetPasswordBody( - email = '', - ) - """ - - def testRequestsResetPasswordBody(self): - """Test RequestsResetPasswordBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_rotate_pa_session_req.py b/tests/moddns_client/test/test_requests_rotate_pa_session_req.py deleted file mode 100644 index b8ad1fb8..00000000 --- a/tests/moddns_client/test/test_requests_rotate_pa_session_req.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_rotate_pa_session_req import RequestsRotatePASessionReq - -class TestRequestsRotatePASessionReq(unittest.TestCase): - """RequestsRotatePASessionReq unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsRotatePASessionReq: - """Test RequestsRotatePASessionReq - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsRotatePASessionReq` - """ - model = RequestsRotatePASessionReq() - if include_optional: - return RequestsRotatePASessionReq( - sessionid = '' - ) - else: - return RequestsRotatePASessionReq( - sessionid = '', - ) - """ - - def testRequestsRotatePASessionReq(self): - """Test RequestsRotatePASessionReq""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_totp_req.py b/tests/moddns_client/test/test_requests_totp_req.py deleted file mode 100644 index 73c4ea69..00000000 --- a/tests/moddns_client/test/test_requests_totp_req.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_totp_req import RequestsTotpReq - -class TestRequestsTotpReq(unittest.TestCase): - """RequestsTotpReq unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsTotpReq: - """Test RequestsTotpReq - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsTotpReq` - """ - model = RequestsTotpReq() - if include_optional: - return RequestsTotpReq( - otp = '012345' - ) - else: - return RequestsTotpReq( - otp = '012345', - ) - """ - - def testRequestsTotpReq(self): - """Test RequestsTotpReq""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_requests_web_authn_reauth_begin_request.py b/tests/moddns_client/test/test_requests_web_authn_reauth_begin_request.py deleted file mode 100644 index 3e79bd30..00000000 --- a/tests/moddns_client/test/test_requests_web_authn_reauth_begin_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.requests_web_authn_reauth_begin_request import RequestsWebAuthnReauthBeginRequest - -class TestRequestsWebAuthnReauthBeginRequest(unittest.TestCase): - """RequestsWebAuthnReauthBeginRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RequestsWebAuthnReauthBeginRequest: - """Test RequestsWebAuthnReauthBeginRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RequestsWebAuthnReauthBeginRequest` - """ - model = RequestsWebAuthnReauthBeginRequest() - if include_optional: - return RequestsWebAuthnReauthBeginRequest( - purpose = 'email_change' - ) - else: - return RequestsWebAuthnReauthBeginRequest( - purpose = 'email_change', - ) - """ - - def testRequestsWebAuthnReauthBeginRequest(self): - """Test RequestsWebAuthnReauthBeginRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_responses_create_profile_custom_rules_batch_response.py b/tests/moddns_client/test/test_responses_create_profile_custom_rules_batch_response.py deleted file mode 100644 index 3c9d623a..00000000 --- a/tests/moddns_client/test/test_responses_create_profile_custom_rules_batch_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.responses_create_profile_custom_rules_batch_response import ResponsesCreateProfileCustomRulesBatchResponse - -class TestResponsesCreateProfileCustomRulesBatchResponse(unittest.TestCase): - """ResponsesCreateProfileCustomRulesBatchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ResponsesCreateProfileCustomRulesBatchResponse: - """Test ResponsesCreateProfileCustomRulesBatchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ResponsesCreateProfileCustomRulesBatchResponse` - """ - model = ResponsesCreateProfileCustomRulesBatchResponse() - if include_optional: - return ResponsesCreateProfileCustomRulesBatchResponse( - action = '', - created = [ - moddns.models.responses/custom_rule_batch_created.responses.CustomRuleBatchCreated( - id = '', - value = '', ) - ], - skipped = [ - moddns.models.responses/custom_rule_batch_skipped.responses.CustomRuleBatchSkipped( - message = '', - reason = '', - value = '', ) - ], - total_requested = 56 - ) - else: - return ResponsesCreateProfileCustomRulesBatchResponse( - ) - """ - - def testResponsesCreateProfileCustomRulesBatchResponse(self): - """Test ResponsesCreateProfileCustomRulesBatchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_responses_custom_rule_batch_created.py b/tests/moddns_client/test/test_responses_custom_rule_batch_created.py deleted file mode 100644 index ad5002cc..00000000 --- a/tests/moddns_client/test/test_responses_custom_rule_batch_created.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.responses_custom_rule_batch_created import ResponsesCustomRuleBatchCreated - -class TestResponsesCustomRuleBatchCreated(unittest.TestCase): - """ResponsesCustomRuleBatchCreated unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ResponsesCustomRuleBatchCreated: - """Test ResponsesCustomRuleBatchCreated - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ResponsesCustomRuleBatchCreated` - """ - model = ResponsesCustomRuleBatchCreated() - if include_optional: - return ResponsesCustomRuleBatchCreated( - id = '', - value = '' - ) - else: - return ResponsesCustomRuleBatchCreated( - ) - """ - - def testResponsesCustomRuleBatchCreated(self): - """Test ResponsesCustomRuleBatchCreated""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_responses_custom_rule_batch_skipped.py b/tests/moddns_client/test/test_responses_custom_rule_batch_skipped.py deleted file mode 100644 index 159bbc4e..00000000 --- a/tests/moddns_client/test/test_responses_custom_rule_batch_skipped.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.responses_custom_rule_batch_skipped import ResponsesCustomRuleBatchSkipped - -class TestResponsesCustomRuleBatchSkipped(unittest.TestCase): - """ResponsesCustomRuleBatchSkipped unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ResponsesCustomRuleBatchSkipped: - """Test ResponsesCustomRuleBatchSkipped - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ResponsesCustomRuleBatchSkipped` - """ - model = ResponsesCustomRuleBatchSkipped() - if include_optional: - return ResponsesCustomRuleBatchSkipped( - message = '', - reason = '', - value = '' - ) - else: - return ResponsesCustomRuleBatchSkipped( - ) - """ - - def testResponsesCustomRuleBatchSkipped(self): - """Test ResponsesCustomRuleBatchSkipped""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_responses_deletion_code_response.py b/tests/moddns_client/test/test_responses_deletion_code_response.py deleted file mode 100644 index df7f3a94..00000000 --- a/tests/moddns_client/test/test_responses_deletion_code_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.responses_deletion_code_response import ResponsesDeletionCodeResponse - -class TestResponsesDeletionCodeResponse(unittest.TestCase): - """ResponsesDeletionCodeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ResponsesDeletionCodeResponse: - """Test ResponsesDeletionCodeResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ResponsesDeletionCodeResponse` - """ - model = ResponsesDeletionCodeResponse() - if include_optional: - return ResponsesDeletionCodeResponse( - code = '', - expires_at = '' - ) - else: - return ResponsesDeletionCodeResponse( - ) - """ - - def testResponsesDeletionCodeResponse(self): - """Test ResponsesDeletionCodeResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_responses_registration_success_response.py b/tests/moddns_client/test/test_responses_registration_success_response.py deleted file mode 100644 index 758a0cf8..00000000 --- a/tests/moddns_client/test/test_responses_registration_success_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.responses_registration_success_response import ResponsesRegistrationSuccessResponse - -class TestResponsesRegistrationSuccessResponse(unittest.TestCase): - """ResponsesRegistrationSuccessResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ResponsesRegistrationSuccessResponse: - """Test ResponsesRegistrationSuccessResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ResponsesRegistrationSuccessResponse` - """ - model = ResponsesRegistrationSuccessResponse() - if include_optional: - return ResponsesRegistrationSuccessResponse( - message = 'Account created successfully.' - ) - else: - return ResponsesRegistrationSuccessResponse( - ) - """ - - def testResponsesRegistrationSuccessResponse(self): - """Test ResponsesRegistrationSuccessResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_responses_short_link_response.py b/tests/moddns_client/test/test_responses_short_link_response.py deleted file mode 100644 index 4fe1dce1..00000000 --- a/tests/moddns_client/test/test_responses_short_link_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.responses_short_link_response import ResponsesShortLinkResponse - -class TestResponsesShortLinkResponse(unittest.TestCase): - """ResponsesShortLinkResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ResponsesShortLinkResponse: - """Test ResponsesShortLinkResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ResponsesShortLinkResponse` - """ - model = ResponsesShortLinkResponse() - if include_optional: - return ResponsesShortLinkResponse( - link = '' - ) - else: - return ResponsesShortLinkResponse( - ) - """ - - def testResponsesShortLinkResponse(self): - """Test ResponsesShortLinkResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_responses_web_authn_reauth_finish_response.py b/tests/moddns_client/test/test_responses_web_authn_reauth_finish_response.py deleted file mode 100644 index 810f148a..00000000 --- a/tests/moddns_client/test/test_responses_web_authn_reauth_finish_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.responses_web_authn_reauth_finish_response import ResponsesWebAuthnReauthFinishResponse - -class TestResponsesWebAuthnReauthFinishResponse(unittest.TestCase): - """ResponsesWebAuthnReauthFinishResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ResponsesWebAuthnReauthFinishResponse: - """Test ResponsesWebAuthnReauthFinishResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ResponsesWebAuthnReauthFinishResponse` - """ - model = ResponsesWebAuthnReauthFinishResponse() - if include_optional: - return ResponsesWebAuthnReauthFinishResponse( - expires_at = '', - reauth_token = '' - ) - else: - return ResponsesWebAuthnReauthFinishResponse( - ) - """ - - def testResponsesWebAuthnReauthFinishResponse(self): - """Test ResponsesWebAuthnReauthFinishResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_services_api.py b/tests/moddns_client/test/test_services_api.py deleted file mode 100644 index aff63878..00000000 --- a/tests/moddns_client/test/test_services_api.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.services_api import ServicesApi - - -class TestServicesApi(unittest.TestCase): - """ServicesApi unit test stubs""" - - def setUp(self) -> None: - self.api = ServicesApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_services_get(self) -> None: - """Test case for api_v1_services_get - - Get services catalog - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_servicescatalog_catalog.py b/tests/moddns_client/test/test_servicescatalog_catalog.py deleted file mode 100644 index 5c78e085..00000000 --- a/tests/moddns_client/test/test_servicescatalog_catalog.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.servicescatalog_catalog import ServicescatalogCatalog - -class TestServicescatalogCatalog(unittest.TestCase): - """ServicescatalogCatalog unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicescatalogCatalog: - """Test ServicescatalogCatalog - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicescatalogCatalog` - """ - model = ServicescatalogCatalog() - if include_optional: - return ServicescatalogCatalog( - services = [ - moddns.models.servicescatalog/service.servicescatalog.Service( - asns = [ - 56 - ], - domains = [ - '' - ], - id = '', - logo_key = '', - name = '', ) - ] - ) - else: - return ServicescatalogCatalog( - ) - """ - - def testServicescatalogCatalog(self): - """Test ServicescatalogCatalog""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_servicescatalog_service.py b/tests/moddns_client/test/test_servicescatalog_service.py deleted file mode 100644 index b7e13b00..00000000 --- a/tests/moddns_client/test/test_servicescatalog_service.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.servicescatalog_service import ServicescatalogService - -class TestServicescatalogService(unittest.TestCase): - """ServicescatalogService unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicescatalogService: - """Test ServicescatalogService - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicescatalogService` - """ - model = ServicescatalogService() - if include_optional: - return ServicescatalogService( - asns = [ - 56 - ], - domains = [ - '' - ], - id = '', - logo_key = '', - name = '' - ) - else: - return ServicescatalogService( - ) - """ - - def testServicescatalogService(self): - """Test ServicescatalogService""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_sessions_api.py b/tests/moddns_client/test/test_sessions_api.py deleted file mode 100644 index 6e3b4a1c..00000000 --- a/tests/moddns_client/test/test_sessions_api.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.sessions_api import SessionsApi - - -class TestSessionsApi(unittest.TestCase): - """SessionsApi unit test stubs""" - - def setUp(self) -> None: - self.api = SessionsApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_sessions_delete(self) -> None: - """Test case for api_v1_sessions_delete - - Delete all other sessions - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_statistics_api.py b/tests/moddns_client/test/test_statistics_api.py deleted file mode 100644 index 3170304b..00000000 --- a/tests/moddns_client/test/test_statistics_api.py +++ /dev/null @@ -1,38 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.statistics_api import StatisticsApi - - -class TestStatisticsApi(unittest.TestCase): - """StatisticsApi unit test stubs""" - - def setUp(self) -> None: - self.api = StatisticsApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_profiles_id_statistics_get(self) -> None: - """Test case for api_v1_profiles_id_statistics_get - - Get statistics data for a profile - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_subscription_api.py b/tests/moddns_client/test/test_subscription_api.py deleted file mode 100644 index 588bbb72..00000000 --- a/tests/moddns_client/test/test_subscription_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.subscription_api import SubscriptionApi - - -class TestSubscriptionApi(unittest.TestCase): - """SubscriptionApi unit test stubs""" - - def setUp(self) -> None: - self.api = SubscriptionApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_sub_get(self) -> None: - """Test case for api_v1_sub_get - - Get subscription data - """ - pass - - def test_api_v1_sub_update_put(self) -> None: - """Test case for api_v1_sub_update_put - - Update subscription via PASession - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_verification_api.py b/tests/moddns_client/test/test_verification_api.py deleted file mode 100644 index 8b2b49ee..00000000 --- a/tests/moddns_client/test/test_verification_api.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.api.verification_api import VerificationApi - - -class TestVerificationApi(unittest.TestCase): - """VerificationApi unit test stubs""" - - def setUp(self) -> None: - self.api = VerificationApi() - - def tearDown(self) -> None: - pass - - def test_api_v1_verify_email_otp_confirm_post(self) -> None: - """Test case for api_v1_verify_email_otp_confirm_post - - Confirm email verification OTP - """ - pass - - def test_api_v1_verify_email_otp_request_post(self) -> None: - """Test case for api_v1_verify_email_otp_request_post - - Request email verification OTP - """ - pass - - def test_api_v1_verify_reset_password_post(self) -> None: - """Test case for api_v1_verify_reset_password_post - - Confirm password reset - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/test/test_webauthncose_cose_algorithm_identifier.py b/tests/moddns_client/test/test_webauthncose_cose_algorithm_identifier.py deleted file mode 100644 index b3bef0dd..00000000 --- a/tests/moddns_client/test/test_webauthncose_cose_algorithm_identifier.py +++ /dev/null @@ -1,33 +0,0 @@ -# coding: utf-8 - -""" - modDNS REST API - - modDNS REST API - - The version of the OpenAPI document: 1.0 - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from moddns.models.webauthncose_cose_algorithm_identifier import WebauthncoseCOSEAlgorithmIdentifier - -class TestWebauthncoseCOSEAlgorithmIdentifier(unittest.TestCase): - """WebauthncoseCOSEAlgorithmIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWebauthncoseCOSEAlgorithmIdentifier(self): - """Test WebauthncoseCOSEAlgorithmIdentifier""" - # inst = WebauthncoseCOSEAlgorithmIdentifier() - -if __name__ == '__main__': - unittest.main() diff --git a/tests/moddns_client/tox.ini b/tests/moddns_client/tox.ini deleted file mode 100644 index e7715d29..00000000 --- a/tests/moddns_client/tox.ini +++ /dev/null @@ -1,9 +0,0 @@ -[tox] -envlist = py3 - -[testenv] -deps=-r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt - -commands= - pytest --cov=moddns