diff --git a/python-client/.openapi-generator/FILES b/python-client/.openapi-generator/FILES index 21172fc..fa19713 100644 --- a/python-client/.openapi-generator/FILES +++ b/python-client/.openapi-generator/FILES @@ -5,30 +5,6 @@ README.md create_doc.py docs/DefaultApi.md -docs/Response.md -docs/ResponseAggregations.md -docs/ResponseAggregationsANZAHLAUSGEFILTERT.md -docs/ResponseAggregationsANZAHLGESAMT.md -docs/ResponseAggregationsLERNFORMEN.md -docs/ResponseAggregationsREGIONEN.md -docs/ResponseAggregationsUNTERRICHSTZEIT.md -docs/ResponseEmbedded.md -docs/ResponseEmbeddedTermineInner.md -docs/ResponseEmbeddedTermineInnerAdresse.md -docs/ResponseEmbeddedTermineInnerAdresseKoordinaten.md -docs/ResponseEmbeddedTermineInnerAdresseOrtStraE.md -docs/ResponseEmbeddedTermineInnerAdresseOrtStraELand.md -docs/ResponseEmbeddedTermineInnerAngebot.md -docs/ResponseEmbeddedTermineInnerAnsprechpartnerInner.md -docs/ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen.md -docs/ResponseEmbeddedTermineInnerDauer.md -docs/ResponseEmbeddedTermineInnerUnterrichtsform.md -docs/ResponseEmbeddedTermineInnerUnterrichtszeit.md -docs/ResponseLinks.md -docs/ResponseLinksFirst.md -docs/ResponseLinksLast.md -docs/ResponseLinksNext.md -docs/ResponsePage.md git_push.sh pyproject.toml rename_generated_code.py @@ -39,30 +15,6 @@ setup.py test-requirements.txt test/__init__.py test/test_default_api.py -test/test_response.py -test/test_response_aggregations.py -test/test_response_aggregations_anzahlausgefiltert.py -test/test_response_aggregations_anzahlgesamt.py -test/test_response_aggregations_lernformen.py -test/test_response_aggregations_regionen.py -test/test_response_aggregations_unterrichstzeit.py -test/test_response_embedded.py -test/test_response_embedded_termine_inner.py -test/test_response_embedded_termine_inner_adresse.py -test/test_response_embedded_termine_inner_adresse_koordinaten.py -test/test_response_embedded_termine_inner_adresse_ort_stra_e.py -test/test_response_embedded_termine_inner_adresse_ort_stra_e_land.py -test/test_response_embedded_termine_inner_angebot.py -test/test_response_embedded_termine_inner_ansprechpartner_inner.py -test/test_response_embedded_termine_inner_ansprechpartner_inner_rollen.py -test/test_response_embedded_termine_inner_dauer.py -test/test_response_embedded_termine_inner_unterrichtsform.py -test/test_response_embedded_termine_inner_unterrichtszeit.py -test/test_response_links.py -test/test_response_links_first.py -test/test_response_links_last.py -test/test_response_links_next.py -test/test_response_page.py tox.ini weiterbildungssuche/__init__.py weiterbildungssuche/api/__init__.py @@ -72,30 +24,6 @@ weiterbildungssuche/apis/__init__.py weiterbildungssuche/configuration.py weiterbildungssuche/exceptions.py weiterbildungssuche/model/__init__.py -weiterbildungssuche/model/response.py -weiterbildungssuche/model/response_aggregations.py -weiterbildungssuche/model/response_aggregations_anzahlausgefiltert.py -weiterbildungssuche/model/response_aggregations_anzahlgesamt.py -weiterbildungssuche/model/response_aggregations_lernformen.py -weiterbildungssuche/model/response_aggregations_regionen.py -weiterbildungssuche/model/response_aggregations_unterrichstzeit.py -weiterbildungssuche/model/response_embedded.py -weiterbildungssuche/model/response_embedded_termine_inner.py -weiterbildungssuche/model/response_embedded_termine_inner_adresse.py -weiterbildungssuche/model/response_embedded_termine_inner_adresse_koordinaten.py -weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e.py -weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e_land.py -weiterbildungssuche/model/response_embedded_termine_inner_angebot.py -weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner.py -weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner_rollen.py -weiterbildungssuche/model/response_embedded_termine_inner_dauer.py -weiterbildungssuche/model/response_embedded_termine_inner_unterrichtsform.py -weiterbildungssuche/model/response_embedded_termine_inner_unterrichtszeit.py -weiterbildungssuche/model/response_links.py -weiterbildungssuche/model/response_links_first.py -weiterbildungssuche/model/response_links_last.py -weiterbildungssuche/model/response_links_next.py -weiterbildungssuche/model/response_page.py weiterbildungssuche/model_utils.py weiterbildungssuche/models/__init__.py weiterbildungssuche/rest.py diff --git a/python-client/README.md b/python-client/README.md index 5ca14f0..7c69e9d 100644 --- a/python-client/README.md +++ b/python-client/README.md @@ -1,18 +1,16 @@ # weiterbildungssuche -Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. +Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. -Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: +Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: -**ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 +clientId: infosysbub-wbsuche -**ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. - -**Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. +Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.0.0 +- API version: 2.0.1 - Package version: 0.1.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://github.com/AndreasFischer1985/weiterbildungssuche-api](https://github.com/AndreasFischer1985/weiterbildungssuche-api) @@ -60,7 +58,6 @@ import time from deutschland import weiterbildungssuche from pprint import pprint from deutschland.weiterbildungssuche.api import default_api -from deutschland.weiterbildungssuche.model.response import Response # Defining the host is optional and defaults to https://rest.arbeitsagentur.de/infosysbub/wbsuche # See configuration.py for a list of all supported configuration parameters. configuration = weiterbildungssuche.Configuration( @@ -72,11 +69,11 @@ configuration = weiterbildungssuche.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure OAuth2 access token for authorization: clientCredAuth -configuration = weiterbildungssuche.Configuration( - host = "https://rest.arbeitsagentur.de/infosysbub/wbsuche" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: APIKeyHeaders +configuration.api_key['APIKeyHeaders'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['APIKeyHeaders'] = 'Bearer' # Enter a context with an instance of the API client @@ -84,10 +81,10 @@ with weiterbildungssuche.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = default_api.DefaultApi(api_client) page = 1 # int | Ergebnissseite (optional) - size = 50 # int | Anzahl von Ergebnissen pro Seite(maximal 2000). Insgesamt werden über alle Seiten hinweg maximal 10000 Ergebnisse angezeigt. (optional) sys = "C" # str | Systematik - C=Berufliche Qualifikation, D=Aufstiegsweiterbildung, CD=Systematiksuche. (optional) sw = "Teilqualifikation" # str | Suchwort (optional) ssw = "Teilquali" # str | selektierteSternchenSuchworte (unvollständige Suchworte, z.B. Teilqualifi; pot. mehrere, durch Kommata getrennt). (optional) + ids = 6144 # int | Berufs-ID einer Berufsbezeichnung (z.B. 6133 für Industriemeister/in - Lebensmittel). Mehrere Komma-getrennte Angaben möglich. (optional) orte = "Erlangen_11.005_49.595" # str | Ortsangabe nebst und Koordinaten (longitude und latitude) jeweils durch Unterstriche getrennt. (optional) uk = "Bundesweit" # str | Umkreis - Bundesweit=Bundesweit, 25=25 km, 50=50 km, 100=100 km, 150=150 km, 200=200 km. (optional) re = "BAY" # str | BAW=Baden-Württemberg, BAY=Bayern, BER=Berlin, BRA=Brandenburg, BRE=Bremen, HAM=Hamburg, HES=Hessen, MBV=Mecklenburg-Vorpommern, NDS=Niedersachsen, NRW=Nordrhein-Westfalen, RPF=Rheinland-Pfalz, SAA=Saarland, SAC=Sachsen, SAN=Sachsen-Anhalt, SLH=Schleswig-Holstein, TH%C3%9C=Thüringen, -=überregional, iGB=Großbritannien, iP=Portugal, iCH=Schweiz, iA=Österreich, iE=Spanien. Mehrere Komma-getrennte Angaben möglich (z.B. re=TH%C3%9C,BAW). (optional) @@ -98,13 +95,14 @@ with weiterbildungssuche.ApiClient(configuration) as api_client: ban = 22210 # int | Anbieter-ID (optional) it = "RC" # str | Integrationstyp - RC=Ausbildung Reha, RD=weiterbildung Reha. Mehrere Komma-getrennte Angaben möglich. (optional) bg = True # bool | Bildungsgutschein - true=nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen, false=nicht nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen. (optional) + ortsunabhaengig = False # bool | true=Angebote anzeigen die ortsunabhängig sind false=ortsunabhängige orte ausblenden. (optional) + sort = "std" # str | Sortierung anpassen: std=Zufall, ta=Angebotstitel A bis Z, tz=Angebotstitel Z bis A (optional) try: - # Weiterbildungssuche - api_response = api_instance.weiterbildungssuche(page=page, size=size, sys=sys, sw=sw, ssw=ssw, orte=orte, uk=uk, re=re, bt=bt, uz=uz, dauer=dauer, uf=uf, ban=ban, it=it, bg=bg) - pprint(api_response) + # Facetten + api_instance.facetten(page=page, sys=sys, sw=sw, ssw=ssw, ids=ids, orte=orte, uk=uk, re=re, bt=bt, uz=uz, dauer=dauer, uf=uf, ban=ban, it=it, bg=bg, ortsunabhaengig=ortsunabhaengig, sort=sort) except weiterbildungssuche.ApiException as e: - print("Exception when calling DefaultApi->weiterbildungssuche: %s\n" % e) + print("Exception when calling DefaultApi->facetten: %s\n" % e) ``` ## Documentation for API Endpoints @@ -113,46 +111,22 @@ All URIs are relative to *https://rest.arbeitsagentur.de/infosysbub/wbsuche* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*DefaultApi* | [**weiterbildungssuche**](docs/DefaultApi.md#weiterbildungssuche) | **GET** /pc/v1/bildungsangebot | Weiterbildungssuche +*DefaultApi* | [**facetten**](docs/DefaultApi.md#facetten) | **GET** /pc/v1/facetten | Facetten +*DefaultApi* | [**weiterbildungssuche**](docs/DefaultApi.md#weiterbildungssuche) | **GET** /pc/v2/bildungsangebot | Weiterbildungssuche ## Documentation For Models - - [Response](docs/Response.md) - - [ResponseAggregations](docs/ResponseAggregations.md) - - [ResponseAggregationsANZAHLAUSGEFILTERT](docs/ResponseAggregationsANZAHLAUSGEFILTERT.md) - - [ResponseAggregationsANZAHLGESAMT](docs/ResponseAggregationsANZAHLGESAMT.md) - - [ResponseAggregationsLERNFORMEN](docs/ResponseAggregationsLERNFORMEN.md) - - [ResponseAggregationsREGIONEN](docs/ResponseAggregationsREGIONEN.md) - - [ResponseAggregationsUNTERRICHSTZEIT](docs/ResponseAggregationsUNTERRICHSTZEIT.md) - - [ResponseEmbedded](docs/ResponseEmbedded.md) - - [ResponseEmbeddedTermineInner](docs/ResponseEmbeddedTermineInner.md) - - [ResponseEmbeddedTermineInnerAdresse](docs/ResponseEmbeddedTermineInnerAdresse.md) - - [ResponseEmbeddedTermineInnerAdresseKoordinaten](docs/ResponseEmbeddedTermineInnerAdresseKoordinaten.md) - - [ResponseEmbeddedTermineInnerAdresseOrtStraE](docs/ResponseEmbeddedTermineInnerAdresseOrtStraE.md) - - [ResponseEmbeddedTermineInnerAdresseOrtStraELand](docs/ResponseEmbeddedTermineInnerAdresseOrtStraELand.md) - - [ResponseEmbeddedTermineInnerAngebot](docs/ResponseEmbeddedTermineInnerAngebot.md) - - [ResponseEmbeddedTermineInnerAnsprechpartnerInner](docs/ResponseEmbeddedTermineInnerAnsprechpartnerInner.md) - - [ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen](docs/ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen.md) - - [ResponseEmbeddedTermineInnerDauer](docs/ResponseEmbeddedTermineInnerDauer.md) - - [ResponseEmbeddedTermineInnerUnterrichtsform](docs/ResponseEmbeddedTermineInnerUnterrichtsform.md) - - [ResponseEmbeddedTermineInnerUnterrichtszeit](docs/ResponseEmbeddedTermineInnerUnterrichtszeit.md) - - [ResponseLinks](docs/ResponseLinks.md) - - [ResponseLinksFirst](docs/ResponseLinksFirst.md) - - [ResponseLinksLast](docs/ResponseLinksLast.md) - - [ResponseLinksNext](docs/ResponseLinksNext.md) - - [ResponsePage](docs/ResponsePage.md) ## Documentation For Authorization -## clientCredAuth +## APIKeyHeaders -- **Type**: OAuth -- **Flow**: application -- **Authorization URL**: -- **Scopes**: N/A +- **Type**: API key +- **API key parameter name**: X-API-Key +- **Location**: HTTP header ## Author diff --git a/python-client/deutschland/weiterbildungssuche/__init__.py b/python-client/deutschland/weiterbildungssuche/__init__.py index c9fcdfb..f2a4180 100644 --- a/python-client/deutschland/weiterbildungssuche/__init__.py +++ b/python-client/deutschland/weiterbildungssuche/__init__.py @@ -3,9 +3,9 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ diff --git a/python-client/deutschland/weiterbildungssuche/api/default_api.py b/python-client/deutschland/weiterbildungssuche/api/default_api.py index 1035af1..42909db 100644 --- a/python-client/deutschland/weiterbildungssuche/api/default_api.py +++ b/python-client/deutschland/weiterbildungssuche/api/default_api.py @@ -1,20 +1,18 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ - import re # noqa: F401 import sys # noqa: F401 from deutschland.weiterbildungssuche.api_client import ApiClient from deutschland.weiterbildungssuche.api_client import Endpoint as _Endpoint -from deutschland.weiterbildungssuche.model.response import Response from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 check_allowed_values, check_validations, @@ -37,11 +35,192 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client + self.facetten_endpoint = _Endpoint( + settings={ + "response_type": None, + "auth": ["APIKeyHeaders"], + "endpoint_path": "/pc/v1/facetten", + "operation_id": "facetten", + "http_method": "GET", + "servers": None, + }, + params_map={ + "all": [ + "page", + "sys", + "sw", + "ssw", + "ids", + "orte", + "uk", + "re", + "bt", + "uz", + "dauer", + "uf", + "ban", + "it", + "bg", + "ortsunabhaengig", + "sort", + ], + "required": [], + "nullable": [], + "enum": [ + "sys", + "uk", + "re", + "bt", + "uz", + "dauer", + "uf", + "it", + "sort", + ], + "validation": [], + }, + root_map={ + "validations": {}, + "allowed_values": { + ("sys",): {"C": "C", "D": "D", "CD": "CD"}, + ("uk",): { + "BUNDESWEIT": "Bundesweit", + "25": "25", + "50": "50", + "100": "100", + "150": "150", + "200": "200", + }, + ("re",): { + "BAW": "BAW", + "BAY": "BAY", + "BER": "BER", + "BRA": "BRA", + "BRE": "BRE", + "HAM": "HAM", + "HES": "HES", + "MBV": "MBV", + "NDS": "NDS", + "NRW": "NRW", + "RPF": "RPF", + "SAA": "SAA", + "SAC": "SAC", + "SAN": "SAN", + "SLH": "SLH", + "TH%C3%9C": "TH%C3%9C", + "-": "-", + "IGB": "iGB", + "IP": "iP", + "ICH": "iCH", + "IA": "iA", + "IE": "iE", + }, + ("bt",): {"0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5}, + ("uz",): {"1": 1, "2": 2}, + ("dauer",): { + "1": 1, + "2": 2, + "3": 3, + "4": 4, + "5": 5, + "6": 6, + "7": 7, + "8": 8, + "9": 9, + "0": 0, + }, + ("uf",): { + "101": 101, + "102": 102, + "103": 103, + "104": 104, + "105": 105, + "201": 201, + "202": 202, + "203": 203, + "204": 204, + "206": 206, + "301": 301, + "302": 302, + "303": 303, + "304": 304, + "401": 401, + "402": 402, + "403": 403, + }, + ("it",): {"RC": "RC", "RD": "RD"}, + ("sort",): {"STD": "std", "TA": "ta", "TZ": "tz"}, + }, + "openapi_types": { + "page": (int,), + "sys": (str,), + "sw": (str,), + "ssw": (str,), + "ids": (int,), + "orte": (str,), + "uk": (str,), + "re": (str,), + "bt": (int,), + "uz": (int,), + "dauer": (int,), + "uf": (int,), + "ban": (int,), + "it": (str,), + "bg": (bool,), + "ortsunabhaengig": (bool,), + "sort": (str,), + }, + "attribute_map": { + "page": "page", + "sys": "sys", + "sw": "sw", + "ssw": "ssw", + "ids": "ids", + "orte": "orte", + "uk": "uk", + "re": "re", + "bt": "bt", + "uz": "uz", + "dauer": "dauer", + "uf": "uf", + "ban": "ban", + "it": "it", + "bg": "bg", + "ortsunabhaengig": "ortsunabhaengig", + "sort": "sort", + }, + "location_map": { + "page": "query", + "sys": "query", + "sw": "query", + "ssw": "query", + "ids": "query", + "orte": "query", + "uk": "query", + "re": "query", + "bt": "query", + "uz": "query", + "dauer": "query", + "uf": "query", + "ban": "query", + "it": "query", + "bg": "query", + "ortsunabhaengig": "query", + "sort": "query", + }, + "collection_format_map": {}, + }, + headers_map={ + "accept": [], + "content_type": [], + }, + api_client=api_client, + ) self.weiterbildungssuche_endpoint = _Endpoint( settings={ - "response_type": (Response,), - "auth": ["clientCredAuth"], - "endpoint_path": "/pc/v1/bildungsangebot", + "response_type": None, + "auth": ["APIKeyHeaders"], + "endpoint_path": "/pc/v2/bildungsangebot", "operation_id": "weiterbildungssuche", "http_method": "GET", "servers": None, @@ -49,10 +228,10 @@ def __init__(self, api_client=None): params_map={ "all": [ "page", - "size", "sys", "sw", "ssw", + "ids", "orte", "uk", "re", @@ -63,6 +242,8 @@ def __init__(self, api_client=None): "ban", "it", "bg", + "ortsunabhaengig", + "sort", ], "required": [], "nullable": [], @@ -75,6 +256,7 @@ def __init__(self, api_client=None): "dauer", "uf", "it", + "sort", ], "validation": [], }, @@ -148,13 +330,14 @@ def __init__(self, api_client=None): "403": 403, }, ("it",): {"RC": "RC", "RD": "RD"}, + ("sort",): {"STD": "std", "TA": "ta", "TZ": "tz"}, }, "openapi_types": { "page": (int,), - "size": (int,), "sys": (str,), "sw": (str,), "ssw": (str,), + "ids": (int,), "orte": (str,), "uk": (str,), "re": (str,), @@ -165,13 +348,15 @@ def __init__(self, api_client=None): "ban": (int,), "it": (str,), "bg": (bool,), + "ortsunabhaengig": (bool,), + "sort": (str,), }, "attribute_map": { "page": "page", - "size": "size", "sys": "sys", "sw": "sw", "ssw": "ssw", + "ids": "ids", "orte": "orte", "uk": "uk", "re": "re", @@ -182,13 +367,15 @@ def __init__(self, api_client=None): "ban": "ban", "it": "it", "bg": "bg", + "ortsunabhaengig": "ortsunabhaengig", + "sort": "sort", }, "location_map": { "page": "query", - "size": "query", "sys": "query", "sw": "query", "ssw": "query", + "ids": "query", "orte": "query", "uk": "query", "re": "query", @@ -199,16 +386,95 @@ def __init__(self, api_client=None): "ban": "query", "it": "query", "bg": "query", + "ortsunabhaengig": "query", + "sort": "query", }, "collection_format_map": {}, }, headers_map={ - "accept": ["application/json"], + "accept": [], "content_type": [], }, api_client=api_client, ) + def facetten(self, **kwargs): + """Facetten # noqa: E501 + + Facetten gibt einen Überblick über verfügbare Weiterbildungsangebote, mit der Möglichkeit nach verschiedenen GET-Parametern zu filtern. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.facetten(async_req=True) + >>> result = thread.get() + + + Keyword Args: + page (int): Ergebnissseite. [optional] + sys (str): Systematik - C=Berufliche Qualifikation, D=Aufstiegsweiterbildung, CD=Systematiksuche.. [optional] + sw (str): Suchwort. [optional] + ssw (str): selektierteSternchenSuchworte (unvollständige Suchworte, z.B. Teilqualifi; pot. mehrere, durch Kommata getrennt).. [optional] + ids (int): Berufs-ID einer Berufsbezeichnung (z.B. 6133 für Industriemeister/in - Lebensmittel). Mehrere Komma-getrennte Angaben möglich.. [optional] + orte (str): Ortsangabe nebst und Koordinaten (longitude und latitude) jeweils durch Unterstriche getrennt.. [optional] + uk (str): Umkreis - Bundesweit=Bundesweit, 25=25 km, 50=50 km, 100=100 km, 150=150 km, 200=200 km.. [optional] + re (str): BAW=Baden-Württemberg, BAY=Bayern, BER=Berlin, BRA=Brandenburg, BRE=Bremen, HAM=Hamburg, HES=Hessen, MBV=Mecklenburg-Vorpommern, NDS=Niedersachsen, NRW=Nordrhein-Westfalen, RPF=Rheinland-Pfalz, SAA=Saarland, SAC=Sachsen, SAN=Sachsen-Anhalt, SLH=Schleswig-Holstein, TH%C3%9C=Thüringen, -=überregional, iGB=Großbritannien, iP=Portugal, iCH=Schweiz, iA=Österreich, iE=Spanien. Mehrere Komma-getrennte Angaben möglich (z.B. re=TH%C3%9C,BAW).. [optional] + bt (int): Beginntermin - 0=regelmäßiger Start, 1=diesen Monat, 2=Folgemonat, 3=in zwei Monaten, 4=in drei Monaten, 5=in mehr als drei Monaten. [optional] + uz (int): Unterrichtszeit - 1=Vollzeit, 2=Teilzeit. Mehrere Komma-getrennte Angaben möglich.. [optional] + dauer (int): Dauer - 0=Auf Anfrage, 1,2=bis eine Woche, 1,2,3=bis ein Monat, 1,2,3,4=bis drei Monate, 1,2,3,4,5=bis sechs Monate, 1,2,3,4,5,6=bis ein Jahr, 7,8,9=mehr als ein Jahr. Mehrere Komma-getrennte Angaben sind die Regel.. [optional] + uf (int): Unterrichtsform. 101=Präsenzveranstaltung, 102=Seminar, 103=Workshop, 104=Praxistraining, 105=Sonstige Präsenzveranstaltung, 201=Virtuelles Klassenzimmer, 202=Online-Seminar, 203=Online-Coaching, 204=Selbstlernmodul, 206=Sonstige digitale Lernformen, 301=Blended Learning, 302=Combined Learning, 303=Hybrid Learning, 304=Sonstige kombinierte Lernformen,401=Fernunterricht, 402=Fernlehrgang, 403=Sonstiger Fernunterricht. Mehrere Komma-getrennte Angaben möglich (z.B. uf=101,202).. [optional] + ban (int): Anbieter-ID. [optional] + it (str): Integrationstyp - RC=Ausbildung Reha, RD=weiterbildung Reha. Mehrere Komma-getrennte Angaben möglich.. [optional] + bg (bool): Bildungsgutschein - true=nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen, false=nicht nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen.. [optional] + ortsunabhaengig (bool): true=Angebote anzeigen die ortsunabhängig sind false=ortsunabhängige orte ausblenden.. [optional] + sort (str): Sortierung anpassen: std=Zufall, ta=Angebotstitel A bis Z, tz=Angebotstitel Z bis A. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs["async_req"] = kwargs.get("async_req", False) + kwargs["_return_http_data_only"] = kwargs.get("_return_http_data_only", True) + kwargs["_preload_content"] = kwargs.get("_preload_content", True) + kwargs["_request_timeout"] = kwargs.get("_request_timeout", None) + kwargs["_check_input_type"] = kwargs.get("_check_input_type", True) + kwargs["_check_return_type"] = kwargs.get("_check_return_type", True) + kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False) + kwargs["_content_type"] = kwargs.get("_content_type") + kwargs["_host_index"] = kwargs.get("_host_index") + kwargs["_request_auths"] = kwargs.get("_request_auths", None) + return self.facetten_endpoint.call_with_http_info(**kwargs) + def weiterbildungssuche(self, **kwargs): """Weiterbildungssuche # noqa: E501 @@ -222,10 +488,10 @@ def weiterbildungssuche(self, **kwargs): Keyword Args: page (int): Ergebnissseite. [optional] - size (int): Anzahl von Ergebnissen pro Seite(maximal 2000). Insgesamt werden über alle Seiten hinweg maximal 10000 Ergebnisse angezeigt.. [optional] sys (str): Systematik - C=Berufliche Qualifikation, D=Aufstiegsweiterbildung, CD=Systematiksuche.. [optional] sw (str): Suchwort. [optional] ssw (str): selektierteSternchenSuchworte (unvollständige Suchworte, z.B. Teilqualifi; pot. mehrere, durch Kommata getrennt).. [optional] + ids (int): Berufs-ID einer Berufsbezeichnung (z.B. 6133 für Industriemeister/in - Lebensmittel). Mehrere Komma-getrennte Angaben möglich.. [optional] orte (str): Ortsangabe nebst und Koordinaten (longitude und latitude) jeweils durch Unterstriche getrennt.. [optional] uk (str): Umkreis - Bundesweit=Bundesweit, 25=25 km, 50=50 km, 100=100 km, 150=150 km, 200=200 km.. [optional] re (str): BAW=Baden-Württemberg, BAY=Bayern, BER=Berlin, BRA=Brandenburg, BRE=Bremen, HAM=Hamburg, HES=Hessen, MBV=Mecklenburg-Vorpommern, NDS=Niedersachsen, NRW=Nordrhein-Westfalen, RPF=Rheinland-Pfalz, SAA=Saarland, SAC=Sachsen, SAN=Sachsen-Anhalt, SLH=Schleswig-Holstein, TH%C3%9C=Thüringen, -=überregional, iGB=Großbritannien, iP=Portugal, iCH=Schweiz, iA=Österreich, iE=Spanien. Mehrere Komma-getrennte Angaben möglich (z.B. re=TH%C3%9C,BAW).. [optional] @@ -236,6 +502,8 @@ def weiterbildungssuche(self, **kwargs): ban (int): Anbieter-ID. [optional] it (str): Integrationstyp - RC=Ausbildung Reha, RD=weiterbildung Reha. Mehrere Komma-getrennte Angaben möglich.. [optional] bg (bool): Bildungsgutschein - true=nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen, false=nicht nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen.. [optional] + ortsunabhaengig (bool): true=Angebote anzeigen die ortsunabhängig sind false=ortsunabhängige orte ausblenden.. [optional] + sort (str): Sortierung anpassen: std=Zufall, ta=Angebotstitel A bis Z, tz=Angebotstitel Z bis A. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -268,7 +536,7 @@ def weiterbildungssuche(self, **kwargs): async_req (bool): execute request asynchronously Returns: - Response + None If the method is called asynchronously, returns the request thread. """ diff --git a/python-client/deutschland/weiterbildungssuche/api_client.py b/python-client/deutschland/weiterbildungssuche/api_client.py index 12b1aaf..6e96dac 100644 --- a/python-client/deutschland/weiterbildungssuche/api_client.py +++ b/python-client/deutschland/weiterbildungssuche/api_client.py @@ -1,14 +1,13 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ - import atexit import io import json @@ -151,6 +150,7 @@ def __call_api( typing.List[typing.Dict[str, typing.Any]] ] = None, ): + config = self.configuration # header parameters @@ -907,15 +907,16 @@ def __call__(self, *args, **kwargs): Example: api_instance = DefaultApi() - api_instance.weiterbildungssuche # this is an instance of the class Endpoint - api_instance.weiterbildungssuche() # this invokes api_instance.weiterbildungssuche.__call__() + api_instance.facetten # this is an instance of the class Endpoint + api_instance.facetten() # this invokes api_instance.facetten.__call__() which then invokes the callable functions stored in that endpoint at - api_instance.weiterbildungssuche.callable or self.callable in this class + api_instance.facetten.callable or self.callable in this class """ return self.callable(self, *args, **kwargs) def call_with_http_info(self, **kwargs): + try: index = ( self.api_client.configuration.server_operation_index.get( diff --git a/python-client/deutschland/weiterbildungssuche/configuration.py b/python-client/deutschland/weiterbildungssuche/configuration.py index 5c8143f..69775c2 100644 --- a/python-client/deutschland/weiterbildungssuche/configuration.py +++ b/python-client/deutschland/weiterbildungssuche/configuration.py @@ -1,14 +1,13 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ - import copy import logging import multiprocessing @@ -35,56 +34,75 @@ class Configuration(object): """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param host: Base url - :param api_key: Dict to store API key(s). - Each entry in the dict specifies an API key. - The dict key is the name of the security scheme in the OAS specification. - The dict value is the API key secret. - :param api_key_prefix: Dict to store API prefix (e.g. Bearer) - The dict key is the name of the security scheme in the OAS specification. - The dict value is an API key prefix when generating the auth data. - :param username: Username for HTTP basic authentication - :param password: Password for HTTP basic authentication - :param discard_unknown_keys: Boolean value indicating whether to discard - unknown properties. A server may send a response that includes additional - properties that are not known by the client in the following scenarios: - 1. The OpenAPI document is incomplete, i.e. it does not match the server - implementation. - 2. The client was generated using an older version of the OpenAPI document - and the server has been upgraded since then. - If a schema in the OpenAPI document defines the additionalProperties attribute, - then all undeclared properties received by the server are injected into the - additional properties map. In that case, there are undeclared properties, and - nothing to discard. - :param disabled_client_side_validations (string): Comma-separated list of - JSON schema validation keywords to disable JSON schema structural validation - rules. The following keywords may be specified: multipleOf, maximum, - exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern, - maxItems, minItems. - By default, the validation is performed for data generated locally by the client - and data received from the server, independent of any validation performed by - the server side. If the input data does not satisfy the JSON schema validation - rules specified in the OpenAPI document, an exception is raised. - If disabled_client_side_validations is set, structural validation is - disabled. This can be useful to troubleshoot data validation problem, such as - when the OpenAPI document validation rules do not match the actual API data - received by the server. - :param server_index: Index to servers configuration. - :param server_variables: Mapping with string values to replace variables in - templated server configuration. The validation of enums is performed for - variables with defined enum values before. - :param server_operation_index: Mapping from operation ID to an index to server - configuration. - :param server_operation_variables: Mapping from operation ID to a mapping with - string values to replace variables in templated server configuration. - The validation of enums is performed for variables with defined enum values before. - :param ssl_ca_cert: str - the path to a file of concatenated CA certificates - in PEM format - - :Example: + Ref: https://openapi-generator.tech + Do not edit the class manually. + + :param host: Base url + :param api_key: Dict to store API key(s). + Each entry in the dict specifies an API key. + The dict key is the name of the security scheme in the OAS specification. + The dict value is the API key secret. + :param api_key_prefix: Dict to store API prefix (e.g. Bearer) + The dict key is the name of the security scheme in the OAS specification. + The dict value is an API key prefix when generating the auth data. + :param username: Username for HTTP basic authentication + :param password: Password for HTTP basic authentication + :param discard_unknown_keys: Boolean value indicating whether to discard + unknown properties. A server may send a response that includes additional + properties that are not known by the client in the following scenarios: + 1. The OpenAPI document is incomplete, i.e. it does not match the server + implementation. + 2. The client was generated using an older version of the OpenAPI document + and the server has been upgraded since then. + If a schema in the OpenAPI document defines the additionalProperties attribute, + then all undeclared properties received by the server are injected into the + additional properties map. In that case, there are undeclared properties, and + nothing to discard. + :param disabled_client_side_validations (string): Comma-separated list of + JSON schema validation keywords to disable JSON schema structural validation + rules. The following keywords may be specified: multipleOf, maximum, + exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern, + maxItems, minItems. + By default, the validation is performed for data generated locally by the client + and data received from the server, independent of any validation performed by + the server side. If the input data does not satisfy the JSON schema validation + rules specified in the OpenAPI document, an exception is raised. + If disabled_client_side_validations is set, structural validation is + disabled. This can be useful to troubleshoot data validation problem, such as + when the OpenAPI document validation rules do not match the actual API data + received by the server. + :param server_index: Index to servers configuration. + :param server_variables: Mapping with string values to replace variables in + templated server configuration. The validation of enums is performed for + variables with defined enum values before. + :param server_operation_index: Mapping from operation ID to an index to server + configuration. + :param server_operation_variables: Mapping from operation ID to a mapping with + string values to replace variables in templated server configuration. + The validation of enums is performed for variables with defined enum values before. + :param ssl_ca_cert: str - the path to a file of concatenated CA certificates + in PEM format + + :Example: + + API Key Authentication Example. + Given the following security scheme in the OpenAPI specification: + components: + securitySchemes: + cookieAuth: # name for the security scheme + type: apiKey + in: cookie + name: JSESSIONID # cookie name + + You can programmatically set the cookie: + + conf = weiterbildungssuche.Configuration( + api_key={'cookieAuth': 'abc123'} + api_key_prefix={'cookieAuth': 'JSESSIONID'} + ) + + The following cookie will be added to the HTTP request: + Cookie: JSESSIONID abc123 """ _default = None @@ -388,12 +406,14 @@ def auth_settings(self): :return: The Auth Settings information dict. """ auth = {} - if self.access_token is not None: - auth["clientCredAuth"] = { - "type": "oauth2", + if "APIKeyHeaders" in self.api_key: + auth["APIKeyHeaders"] = { + "type": "api_key", "in": "header", - "key": "Authorization", - "value": "Bearer " + self.access_token, + "key": "X-API-Key", + "value": self.get_api_key_with_prefix( + "APIKeyHeaders", + ), } return auth @@ -406,7 +426,7 @@ def to_debug_report(self): "Python SDK Debug Report:\n" "OS: {env}\n" "Python Version: {pyversion}\n" - "Version of the API: 1.0.0\n" + "Version of the API: 2.0.1\n" "SDK Package Version: 0.1.0".format(env=sys.platform, pyversion=sys.version) ) diff --git a/python-client/deutschland/weiterbildungssuche/exceptions.py b/python-client/deutschland/weiterbildungssuche/exceptions.py index 2979555..6a1e326 100644 --- a/python-client/deutschland/weiterbildungssuche/exceptions.py +++ b/python-client/deutschland/weiterbildungssuche/exceptions.py @@ -1,9 +1,9 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ @@ -96,6 +96,7 @@ def __init__(self, msg, path_to_item=None): class ApiException(OpenApiException): + def __init__(self, status=None, reason=None, http_resp=None): if http_resp: self.status = http_resp.status @@ -123,21 +124,25 @@ def __str__(self): class NotFoundException(ApiException): + def __init__(self, status=None, reason=None, http_resp=None): super(NotFoundException, self).__init__(status, reason, http_resp) class UnauthorizedException(ApiException): + def __init__(self, status=None, reason=None, http_resp=None): super(UnauthorizedException, self).__init__(status, reason, http_resp) class ForbiddenException(ApiException): + def __init__(self, status=None, reason=None, http_resp=None): super(ForbiddenException, self).__init__(status, reason, http_resp) class ServiceException(ApiException): + def __init__(self, status=None, reason=None, http_resp=None): super(ServiceException, self).__init__(status, reason, http_resp) diff --git a/python-client/deutschland/weiterbildungssuche/model/response.py b/python-client/deutschland/weiterbildungssuche/model/response.py deleted file mode 100644 index 6a461c1..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response.py +++ /dev/null @@ -1,307 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_aggregations import ( - ResponseAggregations, - ) - from deutschland.weiterbildungssuche.model.response_embedded import ResponseEmbedded - from deutschland.weiterbildungssuche.model.response_links import ResponseLinks - from deutschland.weiterbildungssuche.model.response_page import ResponsePage - - globals()["ResponseAggregations"] = ResponseAggregations - globals()["ResponseEmbedded"] = ResponseEmbedded - globals()["ResponseLinks"] = ResponseLinks - globals()["ResponsePage"] = ResponsePage - - -class Response(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "embedded": (ResponseEmbedded,), # noqa: E501 - "links": (ResponseLinks,), # noqa: E501 - "page": (ResponsePage,), # noqa: E501 - "aggregations": (ResponseAggregations,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "embedded": "_embedded", # noqa: E501 - "links": "_links", # noqa: E501 - "page": "page", # noqa: E501 - "aggregations": "aggregations", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Response - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - embedded (ResponseEmbedded): [optional] # noqa: E501 - links (ResponseLinks): [optional] # noqa: E501 - page (ResponsePage): [optional] # noqa: E501 - aggregations (ResponseAggregations): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """Response - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - embedded (ResponseEmbedded): [optional] # noqa: E501 - links (ResponseLinks): [optional] # noqa: E501 - page (ResponsePage): [optional] # noqa: E501 - aggregations (ResponseAggregations): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_aggregations.py b/python-client/deutschland/weiterbildungssuche/model/response_aggregations.py deleted file mode 100644 index 4a1e12d..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_aggregations.py +++ /dev/null @@ -1,363 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_aggregations_anzahlausgefiltert import ( - ResponseAggregationsANZAHLAUSGEFILTERT, - ) - from deutschland.weiterbildungssuche.model.response_aggregations_anzahlgesamt import ( - ResponseAggregationsANZAHLGESAMT, - ) - from deutschland.weiterbildungssuche.model.response_aggregations_lernformen import ( - ResponseAggregationsLERNFORMEN, - ) - from deutschland.weiterbildungssuche.model.response_aggregations_regionen import ( - ResponseAggregationsREGIONEN, - ) - from deutschland.weiterbildungssuche.model.response_aggregations_unterrichstzeit import ( - ResponseAggregationsUNTERRICHSTZEIT, - ) - - globals()[ - "ResponseAggregationsANZAHLAUSGEFILTERT" - ] = ResponseAggregationsANZAHLAUSGEFILTERT - globals()["ResponseAggregationsANZAHLGESAMT"] = ResponseAggregationsANZAHLGESAMT - globals()["ResponseAggregationsLERNFORMEN"] = ResponseAggregationsLERNFORMEN - globals()["ResponseAggregationsREGIONEN"] = ResponseAggregationsREGIONEN - globals()[ - "ResponseAggregationsUNTERRICHSTZEIT" - ] = ResponseAggregationsUNTERRICHSTZEIT - - -class ResponseAggregations(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "anzahl_ausgefiltert": ( - ResponseAggregationsANZAHLAUSGEFILTERT, - ), # noqa: E501 - "unterrichstzeit": (ResponseAggregationsUNTERRICHSTZEIT,), # noqa: E501 - "integration": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "anbieter": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "unterrichtsformen": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "dauer": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "beginntermin": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "bildungsgutschein": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "lernformen": (ResponseAggregationsLERNFORMEN,), # noqa: E501 - "regionen": (ResponseAggregationsREGIONEN,), # noqa: E501 - "anzahl_gesamt": (ResponseAggregationsANZAHLGESAMT,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "anzahl_ausgefiltert": "ANZAHL_AUSGEFILTERT", # noqa: E501 - "unterrichstzeit": "UNTERRICHSTZEIT", # noqa: E501 - "integration": "INTEGRATION", # noqa: E501 - "anbieter": "ANBIETER", # noqa: E501 - "unterrichtsformen": "UNTERRICHTSFORMEN", # noqa: E501 - "dauer": "DAUER", # noqa: E501 - "beginntermin": "BEGINNTERMIN", # noqa: E501 - "bildungsgutschein": "BILDUNGSGUTSCHEIN", # noqa: E501 - "lernformen": "LERNFORMEN", # noqa: E501 - "regionen": "REGIONEN", # noqa: E501 - "anzahl_gesamt": "ANZAHL_GESAMT", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseAggregations - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - anzahl_ausgefiltert (ResponseAggregationsANZAHLAUSGEFILTERT): [optional] # noqa: E501 - unterrichstzeit (ResponseAggregationsUNTERRICHSTZEIT): [optional] # noqa: E501 - integration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - anbieter ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): ANBIETER enthält eine lange Liste an Objekten - ein Objekt je Anbieter--ID. Für jede Anbieter-ID (z.B. 1371) sind als integer anzahlErgebnisse und als string name ausgewiesen.. [optional] # noqa: E501 - unterrichtsformen ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - dauer ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - beginntermin ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - bildungsgutschein ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - lernformen (ResponseAggregationsLERNFORMEN): [optional] # noqa: E501 - regionen (ResponseAggregationsREGIONEN): [optional] # noqa: E501 - anzahl_gesamt (ResponseAggregationsANZAHLGESAMT): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseAggregations - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - anzahl_ausgefiltert (ResponseAggregationsANZAHLAUSGEFILTERT): [optional] # noqa: E501 - unterrichstzeit (ResponseAggregationsUNTERRICHSTZEIT): [optional] # noqa: E501 - integration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - anbieter ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): ANBIETER enthält eine lange Liste an Objekten - ein Objekt je Anbieter--ID. Für jede Anbieter-ID (z.B. 1371) sind als integer anzahlErgebnisse und als string name ausgewiesen.. [optional] # noqa: E501 - unterrichtsformen ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - dauer ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - beginntermin ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - bildungsgutschein ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - lernformen (ResponseAggregationsLERNFORMEN): [optional] # noqa: E501 - regionen (ResponseAggregationsREGIONEN): [optional] # noqa: E501 - anzahl_gesamt (ResponseAggregationsANZAHLGESAMT): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_anzahlausgefiltert.py b/python-client/deutschland/weiterbildungssuche/model/response_aggregations_anzahlausgefiltert.py deleted file mode 100644 index 82296aa..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_anzahlausgefiltert.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseAggregationsANZAHLAUSGEFILTERT(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "count": (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "count": "COUNT", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseAggregationsANZAHLAUSGEFILTERT - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - count (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseAggregationsANZAHLAUSGEFILTERT - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - count (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_anzahlgesamt.py b/python-client/deutschland/weiterbildungssuche/model/response_aggregations_anzahlgesamt.py deleted file mode 100644 index 9f3b256..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_anzahlgesamt.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseAggregationsANZAHLGESAMT(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "count": (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "count": "COUNT", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseAggregationsANZAHLGESAMT - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - count (int): Anzahl gesamt. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseAggregationsANZAHLGESAMT - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - count (int): Anzahl gesamt. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_lernformen.py b/python-client/deutschland/weiterbildungssuche/model/response_aggregations_lernformen.py deleted file mode 100644 index 70359b1..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_lernformen.py +++ /dev/null @@ -1,299 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseAggregationsLERNFORMEN(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "kombi": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "vorort": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "fern": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "digital": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "kombi": "KOMBI", # noqa: E501 - "vorort": "VORORT", # noqa: E501 - "fern": "FERN", # noqa: E501 - "digital": "DIGITAL", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseAggregationsLERNFORMEN - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - kombi ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - vorort ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - fern ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - digital ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseAggregationsLERNFORMEN - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - kombi ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - vorort ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - fern ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - digital ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_regionen.py b/python-client/deutschland/weiterbildungssuche/model/response_aggregations_regionen.py deleted file mode 100644 index 81ff61c..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_regionen.py +++ /dev/null @@ -1,351 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseAggregationsREGIONEN(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "mbv": (str,), # noqa: E501 - "san": (str,), # noqa: E501 - "rpf": (str,), # noqa: E501 - "th": (str,), # noqa: E501 - "": (str,), # noqa: E501 - "slh": (str,), # noqa: E501 - "ber": (str,), # noqa: E501 - "i_ch": (str,), # noqa: E501 - "bra": (str,), # noqa: E501 - "nrw": (str,), # noqa: E501 - "saa": (str,), # noqa: E501 - "sac": (str,), # noqa: E501 - "bre": (str,), # noqa: E501 - "ham": (str,), # noqa: E501 - "hes": (str,), # noqa: E501 - "baw": (str,), # noqa: E501 - "i_a": (str,), # noqa: E501 - "bay": (str,), # noqa: E501 - "nds": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "mbv": "MBV", # noqa: E501 - "san": "SAN", # noqa: E501 - "rpf": "RPF", # noqa: E501 - "th": "THÜ", # noqa: E501 - "": "-", # noqa: E501 - "slh": "SLH", # noqa: E501 - "ber": "BER", # noqa: E501 - "i_ch": "iCH", # noqa: E501 - "bra": "BRA", # noqa: E501 - "nrw": "NRW", # noqa: E501 - "saa": "SAA", # noqa: E501 - "sac": "SAC", # noqa: E501 - "bre": "BRE", # noqa: E501 - "ham": "HAM", # noqa: E501 - "hes": "HES", # noqa: E501 - "baw": "BAW", # noqa: E501 - "i_a": "iA", # noqa: E501 - "bay": "BAY", # noqa: E501 - "nds": "NDS", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseAggregationsREGIONEN - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - mbv (str): Mecklenburg-Vorpommern. [optional] # noqa: E501 - san (str): Sachsen-Anhalt. [optional] # noqa: E501 - rpf (str): Rheinland-Pfalz. [optional] # noqa: E501 - th (str): Thüringen. [optional] # noqa: E501 - (str): überregionale Angebote. [optional] # noqa: E501 - slh (str): Schleswig-Holstein. [optional] # noqa: E501 - ber (str): Berlin. [optional] # noqa: E501 - i_ch (str): internationale Angebote aus der Schweiz. [optional] # noqa: E501 - bra (str): Brandenburg. [optional] # noqa: E501 - nrw (str): Nordrhein-Westfalen. [optional] # noqa: E501 - saa (str): Sachsen-Anhalt. [optional] # noqa: E501 - sac (str): Sachsen. [optional] # noqa: E501 - bre (str): Bremen. [optional] # noqa: E501 - ham (str): Hamburg. [optional] # noqa: E501 - hes (str): Hessen. [optional] # noqa: E501 - baw (str): Baden-Württemberg. [optional] # noqa: E501 - i_a (str): internationale Angebote aus Österreich. [optional] # noqa: E501 - bay (str): Bayern. [optional] # noqa: E501 - nds (str): Niedersachsen. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseAggregationsREGIONEN - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - mbv (str): Mecklenburg-Vorpommern. [optional] # noqa: E501 - san (str): Sachsen-Anhalt. [optional] # noqa: E501 - rpf (str): Rheinland-Pfalz. [optional] # noqa: E501 - th (str): Thüringen. [optional] # noqa: E501 - (str): überregionale Angebote. [optional] # noqa: E501 - slh (str): Schleswig-Holstein. [optional] # noqa: E501 - ber (str): Berlin. [optional] # noqa: E501 - i_ch (str): internationale Angebote aus der Schweiz. [optional] # noqa: E501 - bra (str): Brandenburg. [optional] # noqa: E501 - nrw (str): Nordrhein-Westfalen. [optional] # noqa: E501 - saa (str): Sachsen-Anhalt. [optional] # noqa: E501 - sac (str): Sachsen. [optional] # noqa: E501 - bre (str): Bremen. [optional] # noqa: E501 - ham (str): Hamburg. [optional] # noqa: E501 - hes (str): Hessen. [optional] # noqa: E501 - baw (str): Baden-Württemberg. [optional] # noqa: E501 - i_a (str): internationale Angebote aus Österreich. [optional] # noqa: E501 - bay (str): Bayern. [optional] # noqa: E501 - nds (str): Niedersachsen. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_unterrichstzeit.py b/python-client/deutschland/weiterbildungssuche/model/response_aggregations_unterrichstzeit.py deleted file mode 100644 index f2647ae..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_aggregations_unterrichstzeit.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseAggregationsUNTERRICHSTZEIT(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "_1": (int,), # noqa: E501 - "_2": (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "_1": "1", # noqa: E501 - "_2": "2", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseAggregationsUNTERRICHSTZEIT - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - _1 (int): [optional] # noqa: E501 - _2 (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseAggregationsUNTERRICHSTZEIT - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - _1 (int): [optional] # noqa: E501 - _2 (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded.py deleted file mode 100644 index ed5331f..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner import ( - ResponseEmbeddedTermineInner, - ) - - globals()["ResponseEmbeddedTermineInner"] = ResponseEmbeddedTermineInner - - -class ResponseEmbedded(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "termine": ([ResponseEmbeddedTermineInner],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "termine": "termine", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbedded - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - termine ([ResponseEmbeddedTermineInner]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbedded - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - termine ([ResponseEmbeddedTermineInner]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner.py deleted file mode 100644 index 1b60e9e..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner.py +++ /dev/null @@ -1,491 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse import ( - ResponseEmbeddedTermineInnerAdresse, - ) - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_angebot import ( - ResponseEmbeddedTermineInnerAngebot, - ) - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInner, - ) - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_dauer import ( - ResponseEmbeddedTermineInnerDauer, - ) - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtsform import ( - ResponseEmbeddedTermineInnerUnterrichtsform, - ) - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtszeit import ( - ResponseEmbeddedTermineInnerUnterrichtszeit, - ) - - globals()[ - "ResponseEmbeddedTermineInnerAdresse" - ] = ResponseEmbeddedTermineInnerAdresse - globals()[ - "ResponseEmbeddedTermineInnerAngebot" - ] = ResponseEmbeddedTermineInnerAngebot - globals()[ - "ResponseEmbeddedTermineInnerAnsprechpartnerInner" - ] = ResponseEmbeddedTermineInnerAnsprechpartnerInner - globals()["ResponseEmbeddedTermineInnerDauer"] = ResponseEmbeddedTermineInnerDauer - globals()[ - "ResponseEmbeddedTermineInnerUnterrichtsform" - ] = ResponseEmbeddedTermineInnerUnterrichtsform - globals()[ - "ResponseEmbeddedTermineInnerUnterrichtszeit" - ] = ResponseEmbeddedTermineInnerUnterrichtszeit - - -class ResponseEmbeddedTermineInner(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "id": (int,), # noqa: E501 - "unterrichtsform": ( - ResponseEmbeddedTermineInnerUnterrichtsform, - ), # noqa: E501 - "unterrichtszeit": ( - ResponseEmbeddedTermineInnerUnterrichtszeit, - ), # noqa: E501 - "dauer": (ResponseEmbeddedTermineInnerDauer,), # noqa: E501 - "anbieterbewertung": ( - str, - none_type, - ), # noqa: E501 - "angebot": (ResponseEmbeddedTermineInnerAngebot,), # noqa: E501 - "adresse": (ResponseEmbeddedTermineInnerAdresse,), # noqa: E501 - "unterrichtszeiten": ( - str, - none_type, - ), # noqa: E501 - "sonstige_unterrichtsform": ( - str, - none_type, - ), # noqa: E501 - "kosten_wert": ( - str, - none_type, - ), # noqa: E501 - "kosten_waehrung": (str,), # noqa: E501 - "kosten_bemerkung": (str,), # noqa: E501 - "foerderung": (bool,), # noqa: E501 - "link": (str,), # noqa: E501 - "bemerkung": ( - str, - none_type, - ), # noqa: E501 - "beginn": ( - str, - none_type, - ), # noqa: E501 - "ende": ( - str, - none_type, - ), # noqa: E501 - "individueller_einstieg": (bool,), # noqa: E501 - "anmeldeschluss": ( - str, - none_type, - ), # noqa: E501 - "bemerkung_zeit": ( - str, - none_type, - ), # noqa: E501 - "teilnehmer_min": ( - str, - none_type, - ), # noqa: E501 - "teilnehmer_max": ( - str, - none_type, - ), # noqa: E501 - "aktualisierungsdatum": (int,), # noqa: E501 - "veranstaltungsablaeufe": (str,), # noqa: E501 - "pruefende_stelle": ( - str, - none_type, - ), # noqa: E501 - "eigene_angebotsnummer": ( - str, - none_type, - ), # noqa: E501 - "inhouse_firmenseminar": (bool,), # noqa: E501 - "berufsbegleitend": (bool,), # noqa: E501 - "praxisanteile": (bool,), # noqa: E501 - "ansprechpartner": ( - [ResponseEmbeddedTermineInnerAnsprechpartnerInner], - ), # noqa: E501 - "rehabereich": ( - str, - none_type, - ), # noqa: E501 - "abstaende": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "unterrichtsform": "unterrichtsform", # noqa: E501 - "unterrichtszeit": "unterrichtszeit", # noqa: E501 - "dauer": "dauer", # noqa: E501 - "anbieterbewertung": "anbieterbewertung", # noqa: E501 - "angebot": "angebot", # noqa: E501 - "adresse": "adresse", # noqa: E501 - "unterrichtszeiten": "unterrichtszeiten", # noqa: E501 - "sonstige_unterrichtsform": "sonstigeUnterrichtsform", # noqa: E501 - "kosten_wert": "kostenWert", # noqa: E501 - "kosten_waehrung": "kostenWaehrung", # noqa: E501 - "kosten_bemerkung": "kostenBemerkung", # noqa: E501 - "foerderung": "foerderung", # noqa: E501 - "link": "link", # noqa: E501 - "bemerkung": "bemerkung", # noqa: E501 - "beginn": "beginn", # noqa: E501 - "ende": "ende", # noqa: E501 - "individueller_einstieg": "individuellerEinstieg", # noqa: E501 - "anmeldeschluss": "anmeldeschluss", # noqa: E501 - "bemerkung_zeit": "bemerkungZeit", # noqa: E501 - "teilnehmer_min": "teilnehmerMin", # noqa: E501 - "teilnehmer_max": "teilnehmerMax", # noqa: E501 - "aktualisierungsdatum": "aktualisierungsdatum", # noqa: E501 - "veranstaltungsablaeufe": "veranstaltungsablaeufe", # noqa: E501 - "pruefende_stelle": "pruefendeStelle", # noqa: E501 - "eigene_angebotsnummer": "eigeneAngebotsnummer", # noqa: E501 - "inhouse_firmenseminar": "inhouseFirmenseminar", # noqa: E501 - "berufsbegleitend": "berufsbegleitend", # noqa: E501 - "praxisanteile": "praxisanteile", # noqa: E501 - "ansprechpartner": "ansprechpartner", # noqa: E501 - "rehabereich": "rehabereich", # noqa: E501 - "abstaende": "abstaende", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInner - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - unterrichtsform (ResponseEmbeddedTermineInnerUnterrichtsform): [optional] # noqa: E501 - unterrichtszeit (ResponseEmbeddedTermineInnerUnterrichtszeit): [optional] # noqa: E501 - dauer (ResponseEmbeddedTermineInnerDauer): [optional] # noqa: E501 - anbieterbewertung (str, none_type): [optional] # noqa: E501 - angebot (ResponseEmbeddedTermineInnerAngebot): [optional] # noqa: E501 - adresse (ResponseEmbeddedTermineInnerAdresse): [optional] # noqa: E501 - unterrichtszeiten (str, none_type): [optional] # noqa: E501 - sonstige_unterrichtsform (str, none_type): [optional] # noqa: E501 - kosten_wert (str, none_type): [optional] # noqa: E501 - kosten_waehrung (str): [optional] # noqa: E501 - kosten_bemerkung (str): [optional] # noqa: E501 - foerderung (bool): [optional] # noqa: E501 - link (str): [optional] # noqa: E501 - bemerkung (str, none_type): [optional] # noqa: E501 - beginn (str, none_type): [optional] # noqa: E501 - ende (str, none_type): [optional] # noqa: E501 - individueller_einstieg (bool): [optional] # noqa: E501 - anmeldeschluss (str, none_type): [optional] # noqa: E501 - bemerkung_zeit (str, none_type): [optional] # noqa: E501 - teilnehmer_min (str, none_type): [optional] # noqa: E501 - teilnehmer_max (str, none_type): [optional] # noqa: E501 - aktualisierungsdatum (int): [optional] # noqa: E501 - veranstaltungsablaeufe (str): [optional] # noqa: E501 - pruefende_stelle (str, none_type): [optional] # noqa: E501 - eigene_angebotsnummer (str, none_type): [optional] # noqa: E501 - inhouse_firmenseminar (bool): [optional] # noqa: E501 - berufsbegleitend (bool): [optional] # noqa: E501 - praxisanteile (bool): [optional] # noqa: E501 - ansprechpartner ([ResponseEmbeddedTermineInnerAnsprechpartnerInner]): [optional] # noqa: E501 - rehabereich (str, none_type): [optional] # noqa: E501 - abstaende (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInner - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - unterrichtsform (ResponseEmbeddedTermineInnerUnterrichtsform): [optional] # noqa: E501 - unterrichtszeit (ResponseEmbeddedTermineInnerUnterrichtszeit): [optional] # noqa: E501 - dauer (ResponseEmbeddedTermineInnerDauer): [optional] # noqa: E501 - anbieterbewertung (str, none_type): [optional] # noqa: E501 - angebot (ResponseEmbeddedTermineInnerAngebot): [optional] # noqa: E501 - adresse (ResponseEmbeddedTermineInnerAdresse): [optional] # noqa: E501 - unterrichtszeiten (str, none_type): [optional] # noqa: E501 - sonstige_unterrichtsform (str, none_type): [optional] # noqa: E501 - kosten_wert (str, none_type): [optional] # noqa: E501 - kosten_waehrung (str): [optional] # noqa: E501 - kosten_bemerkung (str): [optional] # noqa: E501 - foerderung (bool): [optional] # noqa: E501 - link (str): [optional] # noqa: E501 - bemerkung (str, none_type): [optional] # noqa: E501 - beginn (str, none_type): [optional] # noqa: E501 - ende (str, none_type): [optional] # noqa: E501 - individueller_einstieg (bool): [optional] # noqa: E501 - anmeldeschluss (str, none_type): [optional] # noqa: E501 - bemerkung_zeit (str, none_type): [optional] # noqa: E501 - teilnehmer_min (str, none_type): [optional] # noqa: E501 - teilnehmer_max (str, none_type): [optional] # noqa: E501 - aktualisierungsdatum (int): [optional] # noqa: E501 - veranstaltungsablaeufe (str): [optional] # noqa: E501 - pruefende_stelle (str, none_type): [optional] # noqa: E501 - eigene_angebotsnummer (str, none_type): [optional] # noqa: E501 - inhouse_firmenseminar (bool): [optional] # noqa: E501 - berufsbegleitend (bool): [optional] # noqa: E501 - praxisanteile (bool): [optional] # noqa: E501 - ansprechpartner ([ResponseEmbeddedTermineInnerAnsprechpartnerInner]): [optional] # noqa: E501 - rehabereich (str, none_type): [optional] # noqa: E501 - abstaende (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse.py deleted file mode 100644 index 61e7916..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse.py +++ /dev/null @@ -1,322 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_koordinaten import ( - ResponseEmbeddedTermineInnerAdresseKoordinaten, - ) - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e import ( - ResponseEmbeddedTermineInnerAdresseOrtStraE, - ) - - globals()[ - "ResponseEmbeddedTermineInnerAdresseKoordinaten" - ] = ResponseEmbeddedTermineInnerAdresseKoordinaten - globals()[ - "ResponseEmbeddedTermineInnerAdresseOrtStraE" - ] = ResponseEmbeddedTermineInnerAdresseOrtStraE - - -class ResponseEmbeddedTermineInnerAdresse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "id": (int,), # noqa: E501 - "bezeichnung": (str,), # noqa: E501 - "strasse": (str,), # noqa: E501 - "hinweise": ( - str, - none_type, - ), # noqa: E501 - "ort_strae": (ResponseEmbeddedTermineInnerAdresseOrtStraE,), # noqa: E501 - "koordinaten": ( - ResponseEmbeddedTermineInnerAdresseKoordinaten, - ), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "bezeichnung": "bezeichnung", # noqa: E501 - "strasse": "strasse", # noqa: E501 - "hinweise": "hinweise", # noqa: E501 - "ort_strae": "ortStraße", # noqa: E501 - "koordinaten": "koordinaten", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - strasse (str): [optional] # noqa: E501 - hinweise (str, none_type): [optional] # noqa: E501 - ort_strae (ResponseEmbeddedTermineInnerAdresseOrtStraE): [optional] # noqa: E501 - koordinaten (ResponseEmbeddedTermineInnerAdresseKoordinaten): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - strasse (str): [optional] # noqa: E501 - hinweise (str, none_type): [optional] # noqa: E501 - ort_strae (ResponseEmbeddedTermineInnerAdresseOrtStraE): [optional] # noqa: E501 - koordinaten (ResponseEmbeddedTermineInnerAdresseKoordinaten): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_koordinaten.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_koordinaten.py deleted file mode 100644 index 0438b02..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_koordinaten.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseEmbeddedTermineInnerAdresseKoordinaten(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "lat": (float,), # noqa: E501 - "lon": (float,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "lat": "lat", # noqa: E501 - "lon": "lon", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresseKoordinaten - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - lat (float): [optional] # noqa: E501 - lon (float): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresseKoordinaten - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - lat (float): [optional] # noqa: E501 - lon (float): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e.py deleted file mode 100644 index 7b604b7..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e.py +++ /dev/null @@ -1,303 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e_land import ( - ResponseEmbeddedTermineInnerAdresseOrtStraELand, - ) - - globals()[ - "ResponseEmbeddedTermineInnerAdresseOrtStraELand" - ] = ResponseEmbeddedTermineInnerAdresseOrtStraELand - - -class ResponseEmbeddedTermineInnerAdresseOrtStraE(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "id": (int,), # noqa: E501 - "plz": (int,), # noqa: E501 - "name": (str,), # noqa: E501 - "land": (ResponseEmbeddedTermineInnerAdresseOrtStraELand,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "plz": "plz", # noqa: E501 - "name": "name", # noqa: E501 - "land": "land", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresseOrtStraE - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - plz (int): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - land (ResponseEmbeddedTermineInnerAdresseOrtStraELand): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresseOrtStraE - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - plz (int): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - land (ResponseEmbeddedTermineInnerAdresseOrtStraELand): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e_land.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e_land.py deleted file mode 100644 index e248e57..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_adresse_ort_stra_e_land.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseEmbeddedTermineInnerAdresseOrtStraELand(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "id": (int,), # noqa: E501 - "name": (str,), # noqa: E501 - "laender_code": (str,), # noqa: E501 - "bundesland_code": (str,), # noqa: E501 - "code": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "name": "name", # noqa: E501 - "laender_code": "laenderCode", # noqa: E501 - "bundesland_code": "bundeslandCode", # noqa: E501 - "code": "code", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresseOrtStraELand - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - laender_code (str): [optional] # noqa: E501 - bundesland_code (str): [optional] # noqa: E501 - code (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAdresseOrtStraELand - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - name (str): [optional] # noqa: E501 - laender_code (str): [optional] # noqa: E501 - bundesland_code (str): [optional] # noqa: E501 - code (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_angebot.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_angebot.py deleted file mode 100644 index b5aaf89..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_angebot.py +++ /dev/null @@ -1,335 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseEmbeddedTermineInnerAngebot(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "id": (int,), # noqa: E501 - "titel": (str,), # noqa: E501 - "inhalt": (str,), # noqa: E501 - "abschlussart": (str,), # noqa: E501 - "abschlussbezeichnung": (str,), # noqa: E501 - "foerderung": (str,), # noqa: E501 - "zugang": ( - str, - none_type, - ), # noqa: E501 - "anrechnung": ( - str, - none_type, - ), # noqa: E501 - "berechtigungen": ( - str, - none_type, - ), # noqa: E501 - "zusatzqualifikationen": ( - str, - none_type, - ), # noqa: E501 - "link": (str,), # noqa: E501 - "zielgruppe": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "titel": "titel", # noqa: E501 - "inhalt": "inhalt", # noqa: E501 - "abschlussart": "abschlussart", # noqa: E501 - "abschlussbezeichnung": "abschlussbezeichnung", # noqa: E501 - "foerderung": "foerderung", # noqa: E501 - "zugang": "zugang", # noqa: E501 - "anrechnung": "anrechnung", # noqa: E501 - "berechtigungen": "berechtigungen", # noqa: E501 - "zusatzqualifikationen": "zusatzqualifikationen", # noqa: E501 - "link": "link", # noqa: E501 - "zielgruppe": "zielgruppe", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAngebot - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - titel (str): [optional] # noqa: E501 - inhalt (str): [optional] # noqa: E501 - abschlussart (str): [optional] # noqa: E501 - abschlussbezeichnung (str): [optional] # noqa: E501 - foerderung (str): [optional] # noqa: E501 - zugang (str, none_type): [optional] # noqa: E501 - anrechnung (str, none_type): [optional] # noqa: E501 - berechtigungen (str, none_type): [optional] # noqa: E501 - zusatzqualifikationen (str, none_type): [optional] # noqa: E501 - link (str): [optional] # noqa: E501 - zielgruppe (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAngebot - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - titel (str): [optional] # noqa: E501 - inhalt (str): [optional] # noqa: E501 - abschlussart (str): [optional] # noqa: E501 - abschlussbezeichnung (str): [optional] # noqa: E501 - foerderung (str): [optional] # noqa: E501 - zugang (str, none_type): [optional] # noqa: E501 - anrechnung (str, none_type): [optional] # noqa: E501 - berechtigungen (str, none_type): [optional] # noqa: E501 - zusatzqualifikationen (str, none_type): [optional] # noqa: E501 - link (str): [optional] # noqa: E501 - zielgruppe (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner.py deleted file mode 100644 index 38591fe..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner.py +++ /dev/null @@ -1,340 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner_rollen import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen, - ) - - globals()[ - "ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen" - ] = ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen - - -class ResponseEmbeddedTermineInnerAnsprechpartnerInner(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "id": (int,), # noqa: E501 - "anrede": (str,), # noqa: E501 - "titel": ( - str, - none_type, - ), # noqa: E501 - "nachname": (str,), # noqa: E501 - "vorname": (str,), # noqa: E501 - "telefon_vorwahl": (str,), # noqa: E501 - "telefon_durchwahl": (int,), # noqa: E501 - "fax_vorwahl": (str,), # noqa: E501 - "fax_durchwahl": (int,), # noqa: E501 - "email": (str,), # noqa: E501 - "homepage": (str,), # noqa: E501 - "rollen": ( - ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen, - ), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "anrede": "anrede", # noqa: E501 - "titel": "titel", # noqa: E501 - "nachname": "nachname", # noqa: E501 - "vorname": "vorname", # noqa: E501 - "telefon_vorwahl": "telefonVorwahl", # noqa: E501 - "telefon_durchwahl": "telefonDurchwahl", # noqa: E501 - "fax_vorwahl": "faxVorwahl", # noqa: E501 - "fax_durchwahl": "faxDurchwahl", # noqa: E501 - "email": "email", # noqa: E501 - "homepage": "homepage", # noqa: E501 - "rollen": "rollen", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAnsprechpartnerInner - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - anrede (str): [optional] # noqa: E501 - titel (str, none_type): [optional] # noqa: E501 - nachname (str): [optional] # noqa: E501 - vorname (str): [optional] # noqa: E501 - telefon_vorwahl (str): [optional] # noqa: E501 - telefon_durchwahl (int): [optional] # noqa: E501 - fax_vorwahl (str): [optional] # noqa: E501 - fax_durchwahl (int): [optional] # noqa: E501 - email (str): [optional] # noqa: E501 - homepage (str): [optional] # noqa: E501 - rollen (ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAnsprechpartnerInner - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - anrede (str): [optional] # noqa: E501 - titel (str, none_type): [optional] # noqa: E501 - nachname (str): [optional] # noqa: E501 - vorname (str): [optional] # noqa: E501 - telefon_vorwahl (str): [optional] # noqa: E501 - telefon_durchwahl (int): [optional] # noqa: E501 - fax_vorwahl (str): [optional] # noqa: E501 - fax_durchwahl (int): [optional] # noqa: E501 - email (str): [optional] # noqa: E501 - homepage (str): [optional] # noqa: E501 - rollen (ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner_rollen.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner_rollen.py deleted file mode 100644 index 2edbfb5..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_ansprechpartner_inner_rollen.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "id": (int,), # noqa: E501 - "bezeichnung": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "bezeichnung": "bezeichnung", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_dauer.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_dauer.py deleted file mode 100644 index cc5b7e3..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_dauer.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseEmbeddedTermineInnerDauer(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "id": (int,), # noqa: E501 - "bezeichnung": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "bezeichnung": "bezeichnung", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerDauer - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerDauer - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_unterrichtsform.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_unterrichtsform.py deleted file mode 100644 index 871ca6b..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_unterrichtsform.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseEmbeddedTermineInnerUnterrichtsform(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "id": (int,), # noqa: E501 - "bezeichnung": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "bezeichnung": "bezeichnung", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerUnterrichtsform - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerUnterrichtsform - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_unterrichtszeit.py b/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_unterrichtszeit.py deleted file mode 100644 index d184aa8..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_embedded_termine_inner_unterrichtszeit.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseEmbeddedTermineInnerUnterrichtszeit(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "id": (int,), # noqa: E501 - "bezeichnung": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "id": "id", # noqa: E501 - "bezeichnung": "bezeichnung", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerUnterrichtszeit - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseEmbeddedTermineInnerUnterrichtszeit - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (int): [optional] # noqa: E501 - bezeichnung (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_links.py b/python-client/deutschland/weiterbildungssuche/model/response_links.py deleted file mode 100644 index a6278e9..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_links.py +++ /dev/null @@ -1,311 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -def lazy_import(): - from deutschland.weiterbildungssuche.model.response_links_first import ( - ResponseLinksFirst, - ) - from deutschland.weiterbildungssuche.model.response_links_last import ( - ResponseLinksLast, - ) - from deutschland.weiterbildungssuche.model.response_links_next import ( - ResponseLinksNext, - ) - - globals()["ResponseLinksFirst"] = ResponseLinksFirst - globals()["ResponseLinksLast"] = ResponseLinksLast - globals()["ResponseLinksNext"] = ResponseLinksNext - - -class ResponseLinks(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - "first": (ResponseLinksFirst,), # noqa: E501 - "_self": ( - {str: (bool, date, datetime, dict, float, int, list, str, none_type)}, - ), # noqa: E501 - "next": (ResponseLinksNext,), # noqa: E501 - "last": (ResponseLinksLast,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "first": "first", # noqa: E501 - "_self": "self", # noqa: E501 - "next": "next", # noqa: E501 - "last": "last", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseLinks - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - first (ResponseLinksFirst): [optional] # noqa: E501 - _self ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - next (ResponseLinksNext): [optional] # noqa: E501 - last (ResponseLinksLast): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseLinks - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - first (ResponseLinksFirst): [optional] # noqa: E501 - _self ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - next (ResponseLinksNext): [optional] # noqa: E501 - last (ResponseLinksLast): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_links_first.py b/python-client/deutschland/weiterbildungssuche/model/response_links_first.py deleted file mode 100644 index 179a1ba..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_links_first.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseLinksFirst(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "href": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "href": "href", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseLinksFirst - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - href (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseLinksFirst - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - href (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_links_last.py b/python-client/deutschland/weiterbildungssuche/model/response_links_last.py deleted file mode 100644 index fa7810e..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_links_last.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseLinksLast(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "href": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "href": "href", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseLinksLast - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - href (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseLinksLast - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - href (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_links_next.py b/python-client/deutschland/weiterbildungssuche/model/response_links_next.py deleted file mode 100644 index 6d6b115..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_links_next.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponseLinksNext(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "href": (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "href": "href", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseLinksNext - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - href (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseLinksNext - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - href (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model/response_page.py b/python-client/deutschland/weiterbildungssuche/model/response_page.py deleted file mode 100644 index d73e09c..0000000 --- a/python-client/deutschland/weiterbildungssuche/model/response_page.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from deutschland.weiterbildungssuche.exceptions import ApiAttributeError -from deutschland.weiterbildungssuche.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - OpenApiModel, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) - - -class ResponsePage(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = {} - - validations = {} - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return ( - bool, - date, - datetime, - dict, - float, - int, - list, - str, - none_type, - ) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - "size": (int,), # noqa: E501 - "total_elements": (int,), # noqa: E501 - "total_pages": (int,), # noqa: E501 - "number": (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - attribute_map = { - "size": "size", # noqa: E501 - "total_elements": "totalElements", # noqa: E501 - "total_pages": "totalPages", # noqa: E501 - "number": "number", # noqa: E501 - } - - read_only_vars = {} - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponsePage - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - size (int): [optional] # noqa: E501 - total_elements (int): [optional] # noqa: E501 - total_pages (int): [optional] # noqa: E501 - number (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", True) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set( - [ - "_data_store", - "_check_type", - "_spec_property_naming", - "_path_to_item", - "_configuration", - "_visited_composed_classes", - ] - ) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResponsePage - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - size (int): [optional] # noqa: E501 - total_elements (int): [optional] # noqa: E501 - total_pages (int): [optional] # noqa: E501 - number (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop("_check_type", True) - _spec_property_naming = kwargs.pop("_spec_property_naming", False) - _path_to_item = kwargs.pop("_path_to_item", ()) - _configuration = kwargs.pop("_configuration", None) - _visited_composed_classes = kwargs.pop("_visited_composed_classes", ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." - % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if ( - var_name not in self.attribute_map - and self._configuration is not None - and self._configuration.discard_unknown_keys - and self.additional_properties_type is None - ): - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError( - f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes." - ) diff --git a/python-client/deutschland/weiterbildungssuche/model_utils.py b/python-client/deutschland/weiterbildungssuche/model_utils.py index f11eb8c..adb6b9d 100644 --- a/python-client/deutschland/weiterbildungssuche/model_utils.py +++ b/python-client/deutschland/weiterbildungssuche/model_utils.py @@ -1,14 +1,13 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ - import inspect import io import os @@ -612,9 +611,9 @@ def __setitem__(self, name, value): setattr(model_instance, name, value) if name not in self._var_name_to_model_instances: # we assigned an additional property - self.__dict__["_var_name_to_model_instances"][ - name - ] = self._composed_instances + [self] + self.__dict__["_var_name_to_model_instances"][name] = ( + self._composed_instances + [self] + ) return None __unset_attribute_value__ = object() @@ -1823,6 +1822,7 @@ def get_allof_instances(self, model_args, constant_args): """ composed_instances = [] for allof_class in self._composed_schemas["allOf"]: + try: if constant_args.get("_spec_property_naming"): allof_instance = allof_class._from_openapi_data( diff --git a/python-client/deutschland/weiterbildungssuche/models/__init__.py b/python-client/deutschland/weiterbildungssuche/models/__init__.py index 87f85d8..31b61a3 100644 --- a/python-client/deutschland/weiterbildungssuche/models/__init__.py +++ b/python-client/deutschland/weiterbildungssuche/models/__init__.py @@ -8,64 +8,3 @@ # or import this package, but before doing it, use: # import sys # sys.setrecursionlimit(n) - -from deutschland.weiterbildungssuche.model.response import Response -from deutschland.weiterbildungssuche.model.response_aggregations import ( - ResponseAggregations, -) -from deutschland.weiterbildungssuche.model.response_aggregations_anzahlausgefiltert import ( - ResponseAggregationsANZAHLAUSGEFILTERT, -) -from deutschland.weiterbildungssuche.model.response_aggregations_anzahlgesamt import ( - ResponseAggregationsANZAHLGESAMT, -) -from deutschland.weiterbildungssuche.model.response_aggregations_lernformen import ( - ResponseAggregationsLERNFORMEN, -) -from deutschland.weiterbildungssuche.model.response_aggregations_regionen import ( - ResponseAggregationsREGIONEN, -) -from deutschland.weiterbildungssuche.model.response_aggregations_unterrichstzeit import ( - ResponseAggregationsUNTERRICHSTZEIT, -) -from deutschland.weiterbildungssuche.model.response_embedded import ResponseEmbedded -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner import ( - ResponseEmbeddedTermineInner, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse import ( - ResponseEmbeddedTermineInnerAdresse, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_koordinaten import ( - ResponseEmbeddedTermineInnerAdresseKoordinaten, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e import ( - ResponseEmbeddedTermineInnerAdresseOrtStraE, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e_land import ( - ResponseEmbeddedTermineInnerAdresseOrtStraELand, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_angebot import ( - ResponseEmbeddedTermineInnerAngebot, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInner, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner_rollen import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_dauer import ( - ResponseEmbeddedTermineInnerDauer, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtsform import ( - ResponseEmbeddedTermineInnerUnterrichtsform, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtszeit import ( - ResponseEmbeddedTermineInnerUnterrichtszeit, -) -from deutschland.weiterbildungssuche.model.response_links import ResponseLinks -from deutschland.weiterbildungssuche.model.response_links_first import ( - ResponseLinksFirst, -) -from deutschland.weiterbildungssuche.model.response_links_last import ResponseLinksLast -from deutschland.weiterbildungssuche.model.response_links_next import ResponseLinksNext -from deutschland.weiterbildungssuche.model.response_page import ResponsePage diff --git a/python-client/deutschland/weiterbildungssuche/rest.py b/python-client/deutschland/weiterbildungssuche/rest.py index 692a88f..0f9d6bd 100644 --- a/python-client/deutschland/weiterbildungssuche/rest.py +++ b/python-client/deutschland/weiterbildungssuche/rest.py @@ -1,14 +1,13 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ - import io import ipaddress import json @@ -32,6 +31,7 @@ class RESTResponse(io.IOBase): + def __init__(self, resp): self.urllib3_response = resp self.status = resp.status @@ -48,6 +48,7 @@ def getheader(self, name, default=None): class RESTClientObject(object): + def __init__(self, configuration, pools_size=4, maxsize=None): # urllib3.PoolManager will pass all kw parameters to connectionpool # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 @@ -63,9 +64,9 @@ def __init__(self, configuration, pools_size=4, maxsize=None): addition_pool_args = {} if configuration.assert_hostname is not None: - addition_pool_args[ - "assert_hostname" - ] = configuration.assert_hostname # noqa: E501 + addition_pool_args["assert_hostname"] = ( + configuration.assert_hostname + ) # noqa: E501 if configuration.retries is not None: addition_pool_args["retries"] = configuration.retries diff --git a/python-client/docs/DefaultApi.md b/python-client/docs/DefaultApi.md index 2b6ad7a..850d1b6 100644 --- a/python-client/docs/DefaultApi.md +++ b/python-client/docs/DefaultApi.md @@ -4,25 +4,25 @@ All URIs are relative to *https://rest.arbeitsagentur.de/infosysbub/wbsuche* Method | HTTP request | Description ------------- | ------------- | ------------- -[**weiterbildungssuche**](DefaultApi.md#weiterbildungssuche) | **GET** /pc/v1/bildungsangebot | Weiterbildungssuche +[**facetten**](DefaultApi.md#facetten) | **GET** /pc/v1/facetten | Facetten +[**weiterbildungssuche**](DefaultApi.md#weiterbildungssuche) | **GET** /pc/v2/bildungsangebot | Weiterbildungssuche -# **weiterbildungssuche** -> Response weiterbildungssuche() +# **facetten** +> facetten() -Weiterbildungssuche +Facetten -Die Weiterbildungssuche ermöglicht verfügbare Weiterbildungsangebote mit verschiedenen GET-Parametern zu filtern. +Facetten gibt einen Überblick über verfügbare Weiterbildungsangebote, mit der Möglichkeit nach verschiedenen GET-Parametern zu filtern. ### Example -* OAuth Authentication (clientCredAuth): +* Api Key Authentication (APIKeyHeaders): ```python import time from deutschland import weiterbildungssuche from deutschland.weiterbildungssuche.api import default_api -from deutschland.weiterbildungssuche.model.response import Response from pprint import pprint # Defining the host is optional and defaults to https://rest.arbeitsagentur.de/infosysbub/wbsuche # See configuration.py for a list of all supported configuration parameters. @@ -35,21 +35,130 @@ configuration = weiterbildungssuche.Configuration( # Examples for each auth method are provided below, use the example that # satisfies your auth use case. -# Configure OAuth2 access token for authorization: clientCredAuth +# Configure API key authorization: APIKeyHeaders +configuration.api_key['APIKeyHeaders'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['APIKeyHeaders'] = 'Bearer' + +# Enter a context with an instance of the API client +with weiterbildungssuche.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = default_api.DefaultApi(api_client) + page = 1 # int | Ergebnissseite (optional) + sys = "C" # str | Systematik - C=Berufliche Qualifikation, D=Aufstiegsweiterbildung, CD=Systematiksuche. (optional) + sw = "Teilqualifikation" # str | Suchwort (optional) + ssw = "Teilquali" # str | selektierteSternchenSuchworte (unvollständige Suchworte, z.B. Teilqualifi; pot. mehrere, durch Kommata getrennt). (optional) + ids = 6144 # int | Berufs-ID einer Berufsbezeichnung (z.B. 6133 für Industriemeister/in - Lebensmittel). Mehrere Komma-getrennte Angaben möglich. (optional) + orte = "Erlangen_11.005_49.595" # str | Ortsangabe nebst und Koordinaten (longitude und latitude) jeweils durch Unterstriche getrennt. (optional) + uk = "Bundesweit" # str | Umkreis - Bundesweit=Bundesweit, 25=25 km, 50=50 km, 100=100 km, 150=150 km, 200=200 km. (optional) + re = "BAY" # str | BAW=Baden-Württemberg, BAY=Bayern, BER=Berlin, BRA=Brandenburg, BRE=Bremen, HAM=Hamburg, HES=Hessen, MBV=Mecklenburg-Vorpommern, NDS=Niedersachsen, NRW=Nordrhein-Westfalen, RPF=Rheinland-Pfalz, SAA=Saarland, SAC=Sachsen, SAN=Sachsen-Anhalt, SLH=Schleswig-Holstein, TH%C3%9C=Thüringen, -=überregional, iGB=Großbritannien, iP=Portugal, iCH=Schweiz, iA=Österreich, iE=Spanien. Mehrere Komma-getrennte Angaben möglich (z.B. re=TH%C3%9C,BAW). (optional) + bt = 0 # int | Beginntermin - 0=regelmäßiger Start, 1=diesen Monat, 2=Folgemonat, 3=in zwei Monaten, 4=in drei Monaten, 5=in mehr als drei Monaten (optional) + uz = 1 # int | Unterrichtszeit - 1=Vollzeit, 2=Teilzeit. Mehrere Komma-getrennte Angaben möglich. (optional) + dauer = 0 # int | Dauer - 0=Auf Anfrage, 1,2=bis eine Woche, 1,2,3=bis ein Monat, 1,2,3,4=bis drei Monate, 1,2,3,4,5=bis sechs Monate, 1,2,3,4,5,6=bis ein Jahr, 7,8,9=mehr als ein Jahr. Mehrere Komma-getrennte Angaben sind die Regel. (optional) + uf = 101 # int | Unterrichtsform. 101=Präsenzveranstaltung, 102=Seminar, 103=Workshop, 104=Praxistraining, 105=Sonstige Präsenzveranstaltung, 201=Virtuelles Klassenzimmer, 202=Online-Seminar, 203=Online-Coaching, 204=Selbstlernmodul, 206=Sonstige digitale Lernformen, 301=Blended Learning, 302=Combined Learning, 303=Hybrid Learning, 304=Sonstige kombinierte Lernformen,401=Fernunterricht, 402=Fernlehrgang, 403=Sonstiger Fernunterricht. Mehrere Komma-getrennte Angaben möglich (z.B. uf=101,202). (optional) + ban = 22210 # int | Anbieter-ID (optional) + it = "RC" # str | Integrationstyp - RC=Ausbildung Reha, RD=weiterbildung Reha. Mehrere Komma-getrennte Angaben möglich. (optional) + bg = True # bool | Bildungsgutschein - true=nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen, false=nicht nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen. (optional) + ortsunabhaengig = False # bool | true=Angebote anzeigen die ortsunabhängig sind false=ortsunabhängige orte ausblenden. (optional) + sort = "std" # str | Sortierung anpassen: std=Zufall, ta=Angebotstitel A bis Z, tz=Angebotstitel Z bis A (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Facetten + api_instance.facetten(page=page, sys=sys, sw=sw, ssw=ssw, ids=ids, orte=orte, uk=uk, re=re, bt=bt, uz=uz, dauer=dauer, uf=uf, ban=ban, it=it, bg=bg, ortsunabhaengig=ortsunabhaengig, sort=sort) + except weiterbildungssuche.ApiException as e: + print("Exception when calling DefaultApi->facetten: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **page** | **int**| Ergebnissseite | [optional] + **sys** | **str**| Systematik - C=Berufliche Qualifikation, D=Aufstiegsweiterbildung, CD=Systematiksuche. | [optional] + **sw** | **str**| Suchwort | [optional] + **ssw** | **str**| selektierteSternchenSuchworte (unvollständige Suchworte, z.B. Teilqualifi; pot. mehrere, durch Kommata getrennt). | [optional] + **ids** | **int**| Berufs-ID einer Berufsbezeichnung (z.B. 6133 für Industriemeister/in - Lebensmittel). Mehrere Komma-getrennte Angaben möglich. | [optional] + **orte** | **str**| Ortsangabe nebst und Koordinaten (longitude und latitude) jeweils durch Unterstriche getrennt. | [optional] + **uk** | **str**| Umkreis - Bundesweit=Bundesweit, 25=25 km, 50=50 km, 100=100 km, 150=150 km, 200=200 km. | [optional] + **re** | **str**| BAW=Baden-Württemberg, BAY=Bayern, BER=Berlin, BRA=Brandenburg, BRE=Bremen, HAM=Hamburg, HES=Hessen, MBV=Mecklenburg-Vorpommern, NDS=Niedersachsen, NRW=Nordrhein-Westfalen, RPF=Rheinland-Pfalz, SAA=Saarland, SAC=Sachsen, SAN=Sachsen-Anhalt, SLH=Schleswig-Holstein, TH%C3%9C=Thüringen, -=überregional, iGB=Großbritannien, iP=Portugal, iCH=Schweiz, iA=Österreich, iE=Spanien. Mehrere Komma-getrennte Angaben möglich (z.B. re=TH%C3%9C,BAW). | [optional] + **bt** | **int**| Beginntermin - 0=regelmäßiger Start, 1=diesen Monat, 2=Folgemonat, 3=in zwei Monaten, 4=in drei Monaten, 5=in mehr als drei Monaten | [optional] + **uz** | **int**| Unterrichtszeit - 1=Vollzeit, 2=Teilzeit. Mehrere Komma-getrennte Angaben möglich. | [optional] + **dauer** | **int**| Dauer - 0=Auf Anfrage, 1,2=bis eine Woche, 1,2,3=bis ein Monat, 1,2,3,4=bis drei Monate, 1,2,3,4,5=bis sechs Monate, 1,2,3,4,5,6=bis ein Jahr, 7,8,9=mehr als ein Jahr. Mehrere Komma-getrennte Angaben sind die Regel. | [optional] + **uf** | **int**| Unterrichtsform. 101=Präsenzveranstaltung, 102=Seminar, 103=Workshop, 104=Praxistraining, 105=Sonstige Präsenzveranstaltung, 201=Virtuelles Klassenzimmer, 202=Online-Seminar, 203=Online-Coaching, 204=Selbstlernmodul, 206=Sonstige digitale Lernformen, 301=Blended Learning, 302=Combined Learning, 303=Hybrid Learning, 304=Sonstige kombinierte Lernformen,401=Fernunterricht, 402=Fernlehrgang, 403=Sonstiger Fernunterricht. Mehrere Komma-getrennte Angaben möglich (z.B. uf=101,202). | [optional] + **ban** | **int**| Anbieter-ID | [optional] + **it** | **str**| Integrationstyp - RC=Ausbildung Reha, RD=weiterbildung Reha. Mehrere Komma-getrennte Angaben möglich. | [optional] + **bg** | **bool**| Bildungsgutschein - true=nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen, false=nicht nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen. | [optional] + **ortsunabhaengig** | **bool**| true=Angebote anzeigen die ortsunabhängig sind false=ortsunabhängige orte ausblenden. | [optional] + **sort** | **str**| Sortierung anpassen: std=Zufall, ta=Angebotstitel A bis Z, tz=Angebotstitel Z bis A | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[APIKeyHeaders](../README.md#APIKeyHeaders) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **weiterbildungssuche** +> weiterbildungssuche() + +Weiterbildungssuche + +Die Weiterbildungssuche ermöglicht verfügbare Weiterbildungsangebote mit verschiedenen GET-Parametern zu filtern. + +### Example + +* Api Key Authentication (APIKeyHeaders): + +```python +import time +from deutschland import weiterbildungssuche +from deutschland.weiterbildungssuche.api import default_api +from pprint import pprint +# Defining the host is optional and defaults to https://rest.arbeitsagentur.de/infosysbub/wbsuche +# See configuration.py for a list of all supported configuration parameters. configuration = weiterbildungssuche.Configuration( host = "https://rest.arbeitsagentur.de/infosysbub/wbsuche" ) -configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: APIKeyHeaders +configuration.api_key['APIKeyHeaders'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['APIKeyHeaders'] = 'Bearer' # Enter a context with an instance of the API client with weiterbildungssuche.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = default_api.DefaultApi(api_client) page = 1 # int | Ergebnissseite (optional) - size = 50 # int | Anzahl von Ergebnissen pro Seite(maximal 2000). Insgesamt werden über alle Seiten hinweg maximal 10000 Ergebnisse angezeigt. (optional) sys = "C" # str | Systematik - C=Berufliche Qualifikation, D=Aufstiegsweiterbildung, CD=Systematiksuche. (optional) sw = "Teilqualifikation" # str | Suchwort (optional) ssw = "Teilquali" # str | selektierteSternchenSuchworte (unvollständige Suchworte, z.B. Teilqualifi; pot. mehrere, durch Kommata getrennt). (optional) + ids = 6144 # int | Berufs-ID einer Berufsbezeichnung (z.B. 6133 für Industriemeister/in - Lebensmittel). Mehrere Komma-getrennte Angaben möglich. (optional) orte = "Erlangen_11.005_49.595" # str | Ortsangabe nebst und Koordinaten (longitude und latitude) jeweils durch Unterstriche getrennt. (optional) uk = "Bundesweit" # str | Umkreis - Bundesweit=Bundesweit, 25=25 km, 50=50 km, 100=100 km, 150=150 km, 200=200 km. (optional) re = "BAY" # str | BAW=Baden-Württemberg, BAY=Bayern, BER=Berlin, BRA=Brandenburg, BRE=Bremen, HAM=Hamburg, HES=Hessen, MBV=Mecklenburg-Vorpommern, NDS=Niedersachsen, NRW=Nordrhein-Westfalen, RPF=Rheinland-Pfalz, SAA=Saarland, SAC=Sachsen, SAN=Sachsen-Anhalt, SLH=Schleswig-Holstein, TH%C3%9C=Thüringen, -=überregional, iGB=Großbritannien, iP=Portugal, iCH=Schweiz, iA=Österreich, iE=Spanien. Mehrere Komma-getrennte Angaben möglich (z.B. re=TH%C3%9C,BAW). (optional) @@ -60,13 +169,14 @@ with weiterbildungssuche.ApiClient(configuration) as api_client: ban = 22210 # int | Anbieter-ID (optional) it = "RC" # str | Integrationstyp - RC=Ausbildung Reha, RD=weiterbildung Reha. Mehrere Komma-getrennte Angaben möglich. (optional) bg = True # bool | Bildungsgutschein - true=nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen, false=nicht nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen. (optional) + ortsunabhaengig = False # bool | true=Angebote anzeigen die ortsunabhängig sind false=ortsunabhängige orte ausblenden. (optional) + sort = "std" # str | Sortierung anpassen: std=Zufall, ta=Angebotstitel A bis Z, tz=Angebotstitel Z bis A (optional) # example passing only required values which don't have defaults set # and optional values try: # Weiterbildungssuche - api_response = api_instance.weiterbildungssuche(page=page, size=size, sys=sys, sw=sw, ssw=ssw, orte=orte, uk=uk, re=re, bt=bt, uz=uz, dauer=dauer, uf=uf, ban=ban, it=it, bg=bg) - pprint(api_response) + api_instance.weiterbildungssuche(page=page, sys=sys, sw=sw, ssw=ssw, ids=ids, orte=orte, uk=uk, re=re, bt=bt, uz=uz, dauer=dauer, uf=uf, ban=ban, it=it, bg=bg, ortsunabhaengig=ortsunabhaengig, sort=sort) except weiterbildungssuche.ApiException as e: print("Exception when calling DefaultApi->weiterbildungssuche: %s\n" % e) ``` @@ -77,10 +187,10 @@ with weiterbildungssuche.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **page** | **int**| Ergebnissseite | [optional] - **size** | **int**| Anzahl von Ergebnissen pro Seite(maximal 2000). Insgesamt werden über alle Seiten hinweg maximal 10000 Ergebnisse angezeigt. | [optional] **sys** | **str**| Systematik - C=Berufliche Qualifikation, D=Aufstiegsweiterbildung, CD=Systematiksuche. | [optional] **sw** | **str**| Suchwort | [optional] **ssw** | **str**| selektierteSternchenSuchworte (unvollständige Suchworte, z.B. Teilqualifi; pot. mehrere, durch Kommata getrennt). | [optional] + **ids** | **int**| Berufs-ID einer Berufsbezeichnung (z.B. 6133 für Industriemeister/in - Lebensmittel). Mehrere Komma-getrennte Angaben möglich. | [optional] **orte** | **str**| Ortsangabe nebst und Koordinaten (longitude und latitude) jeweils durch Unterstriche getrennt. | [optional] **uk** | **str**| Umkreis - Bundesweit=Bundesweit, 25=25 km, 50=50 km, 100=100 km, 150=150 km, 200=200 km. | [optional] **re** | **str**| BAW=Baden-Württemberg, BAY=Bayern, BER=Berlin, BRA=Brandenburg, BRE=Bremen, HAM=Hamburg, HES=Hessen, MBV=Mecklenburg-Vorpommern, NDS=Niedersachsen, NRW=Nordrhein-Westfalen, RPF=Rheinland-Pfalz, SAA=Saarland, SAC=Sachsen, SAN=Sachsen-Anhalt, SLH=Schleswig-Holstein, TH%C3%9C=Thüringen, -=überregional, iGB=Großbritannien, iP=Portugal, iCH=Schweiz, iA=Österreich, iE=Spanien. Mehrere Komma-getrennte Angaben möglich (z.B. re=TH%C3%9C,BAW). | [optional] @@ -91,19 +201,21 @@ Name | Type | Description | Notes **ban** | **int**| Anbieter-ID | [optional] **it** | **str**| Integrationstyp - RC=Ausbildung Reha, RD=weiterbildung Reha. Mehrere Komma-getrennte Angaben möglich. | [optional] **bg** | **bool**| Bildungsgutschein - true=nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen, false=nicht nur Angebote mit Zulassung zur Förderung mit Bildungsgutschein anzeigen. | [optional] + **ortsunabhaengig** | **bool**| true=Angebote anzeigen die ortsunabhängig sind false=ortsunabhängige orte ausblenden. | [optional] + **sort** | **str**| Sortierung anpassen: std=Zufall, ta=Angebotstitel A bis Z, tz=Angebotstitel Z bis A | [optional] ### Return type -[**Response**](Response.md) +void (empty response body) ### Authorization -[clientCredAuth](../README.md#clientCredAuth) +[APIKeyHeaders](../README.md#APIKeyHeaders) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details diff --git a/python-client/docs/Response.md b/python-client/docs/Response.md deleted file mode 100644 index 19e684f..0000000 --- a/python-client/docs/Response.md +++ /dev/null @@ -1,15 +0,0 @@ -# Response - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**embedded** | [**ResponseEmbedded**](ResponseEmbedded.md) | | [optional] -**links** | [**ResponseLinks**](ResponseLinks.md) | | [optional] -**page** | [**ResponsePage**](ResponsePage.md) | | [optional] -**aggregations** | [**ResponseAggregations**](ResponseAggregations.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseAggregations.md b/python-client/docs/ResponseAggregations.md deleted file mode 100644 index 2343936..0000000 --- a/python-client/docs/ResponseAggregations.md +++ /dev/null @@ -1,22 +0,0 @@ -# ResponseAggregations - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**anzahl_ausgefiltert** | [**ResponseAggregationsANZAHLAUSGEFILTERT**](ResponseAggregationsANZAHLAUSGEFILTERT.md) | | [optional] -**unterrichstzeit** | [**ResponseAggregationsUNTERRICHSTZEIT**](ResponseAggregationsUNTERRICHSTZEIT.md) | | [optional] -**integration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**anbieter** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | ANBIETER enthält eine lange Liste an Objekten - ein Objekt je Anbieter--ID. Für jede Anbieter-ID (z.B. 1371) sind als integer anzahlErgebnisse und als string name ausgewiesen. | [optional] -**unterrichtsformen** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**dauer** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**beginntermin** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**bildungsgutschein** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**lernformen** | [**ResponseAggregationsLERNFORMEN**](ResponseAggregationsLERNFORMEN.md) | | [optional] -**regionen** | [**ResponseAggregationsREGIONEN**](ResponseAggregationsREGIONEN.md) | | [optional] -**anzahl_gesamt** | [**ResponseAggregationsANZAHLGESAMT**](ResponseAggregationsANZAHLGESAMT.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseAggregationsANZAHLAUSGEFILTERT.md b/python-client/docs/ResponseAggregationsANZAHLAUSGEFILTERT.md deleted file mode 100644 index 53083cf..0000000 --- a/python-client/docs/ResponseAggregationsANZAHLAUSGEFILTERT.md +++ /dev/null @@ -1,12 +0,0 @@ -# ResponseAggregationsANZAHLAUSGEFILTERT - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**count** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseAggregationsANZAHLGESAMT.md b/python-client/docs/ResponseAggregationsANZAHLGESAMT.md deleted file mode 100644 index 963b68a..0000000 --- a/python-client/docs/ResponseAggregationsANZAHLGESAMT.md +++ /dev/null @@ -1,12 +0,0 @@ -# ResponseAggregationsANZAHLGESAMT - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**count** | **int** | Anzahl gesamt | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseAggregationsLERNFORMEN.md b/python-client/docs/ResponseAggregationsLERNFORMEN.md deleted file mode 100644 index 005deb3..0000000 --- a/python-client/docs/ResponseAggregationsLERNFORMEN.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseAggregationsLERNFORMEN - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kombi** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**vorort** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**fern** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**digital** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseAggregationsREGIONEN.md b/python-client/docs/ResponseAggregationsREGIONEN.md deleted file mode 100644 index 033b0a0..0000000 --- a/python-client/docs/ResponseAggregationsREGIONEN.md +++ /dev/null @@ -1,30 +0,0 @@ -# ResponseAggregationsREGIONEN - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mbv** | **str** | Mecklenburg-Vorpommern | [optional] -**san** | **str** | Sachsen-Anhalt | [optional] -**rpf** | **str** | Rheinland-Pfalz | [optional] -**th** | **str** | Thüringen | [optional] -**** | **str** | überregionale Angebote | [optional] -**slh** | **str** | Schleswig-Holstein | [optional] -**ber** | **str** | Berlin | [optional] -**i_ch** | **str** | internationale Angebote aus der Schweiz | [optional] -**bra** | **str** | Brandenburg | [optional] -**nrw** | **str** | Nordrhein-Westfalen | [optional] -**saa** | **str** | Sachsen-Anhalt | [optional] -**sac** | **str** | Sachsen | [optional] -**bre** | **str** | Bremen | [optional] -**ham** | **str** | Hamburg | [optional] -**hes** | **str** | Hessen | [optional] -**baw** | **str** | Baden-Württemberg | [optional] -**i_a** | **str** | internationale Angebote aus Österreich | [optional] -**bay** | **str** | Bayern | [optional] -**nds** | **str** | Niedersachsen | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseAggregationsUNTERRICHSTZEIT.md b/python-client/docs/ResponseAggregationsUNTERRICHSTZEIT.md deleted file mode 100644 index 7758b4d..0000000 --- a/python-client/docs/ResponseAggregationsUNTERRICHSTZEIT.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResponseAggregationsUNTERRICHSTZEIT - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_1** | **int** | | [optional] -**_2** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbedded.md b/python-client/docs/ResponseEmbedded.md deleted file mode 100644 index 7d6c3d8..0000000 --- a/python-client/docs/ResponseEmbedded.md +++ /dev/null @@ -1,12 +0,0 @@ -# ResponseEmbedded - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**termine** | [**[ResponseEmbeddedTermineInner]**](ResponseEmbeddedTermineInner.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInner.md b/python-client/docs/ResponseEmbeddedTermineInner.md deleted file mode 100644 index fafd812..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInner.md +++ /dev/null @@ -1,43 +0,0 @@ -# ResponseEmbeddedTermineInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**unterrichtsform** | [**ResponseEmbeddedTermineInnerUnterrichtsform**](ResponseEmbeddedTermineInnerUnterrichtsform.md) | | [optional] -**unterrichtszeit** | [**ResponseEmbeddedTermineInnerUnterrichtszeit**](ResponseEmbeddedTermineInnerUnterrichtszeit.md) | | [optional] -**dauer** | [**ResponseEmbeddedTermineInnerDauer**](ResponseEmbeddedTermineInnerDauer.md) | | [optional] -**anbieterbewertung** | **str, none_type** | | [optional] -**angebot** | [**ResponseEmbeddedTermineInnerAngebot**](ResponseEmbeddedTermineInnerAngebot.md) | | [optional] -**adresse** | [**ResponseEmbeddedTermineInnerAdresse**](ResponseEmbeddedTermineInnerAdresse.md) | | [optional] -**unterrichtszeiten** | **str, none_type** | | [optional] -**sonstige_unterrichtsform** | **str, none_type** | | [optional] -**kosten_wert** | **str, none_type** | | [optional] -**kosten_waehrung** | **str** | | [optional] -**kosten_bemerkung** | **str** | | [optional] -**foerderung** | **bool** | | [optional] -**link** | **str** | | [optional] -**bemerkung** | **str, none_type** | | [optional] -**beginn** | **str, none_type** | | [optional] -**ende** | **str, none_type** | | [optional] -**individueller_einstieg** | **bool** | | [optional] -**anmeldeschluss** | **str, none_type** | | [optional] -**bemerkung_zeit** | **str, none_type** | | [optional] -**teilnehmer_min** | **str, none_type** | | [optional] -**teilnehmer_max** | **str, none_type** | | [optional] -**aktualisierungsdatum** | **int** | | [optional] -**veranstaltungsablaeufe** | **str** | | [optional] -**pruefende_stelle** | **str, none_type** | | [optional] -**eigene_angebotsnummer** | **str, none_type** | | [optional] -**inhouse_firmenseminar** | **bool** | | [optional] -**berufsbegleitend** | **bool** | | [optional] -**praxisanteile** | **bool** | | [optional] -**ansprechpartner** | [**[ResponseEmbeddedTermineInnerAnsprechpartnerInner]**](ResponseEmbeddedTermineInnerAnsprechpartnerInner.md) | | [optional] -**rehabereich** | **str, none_type** | | [optional] -**abstaende** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerAdresse.md b/python-client/docs/ResponseEmbeddedTermineInnerAdresse.md deleted file mode 100644 index 199e7a0..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerAdresse.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResponseEmbeddedTermineInnerAdresse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**bezeichnung** | **str** | | [optional] -**strasse** | **str** | | [optional] -**hinweise** | **str, none_type** | | [optional] -**ort_strae** | [**ResponseEmbeddedTermineInnerAdresseOrtStraE**](ResponseEmbeddedTermineInnerAdresseOrtStraE.md) | | [optional] -**koordinaten** | [**ResponseEmbeddedTermineInnerAdresseKoordinaten**](ResponseEmbeddedTermineInnerAdresseKoordinaten.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerAdresseKoordinaten.md b/python-client/docs/ResponseEmbeddedTermineInnerAdresseKoordinaten.md deleted file mode 100644 index 91317a9..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerAdresseKoordinaten.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResponseEmbeddedTermineInnerAdresseKoordinaten - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**lat** | **float** | | [optional] -**lon** | **float** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerAdresseOrtStraE.md b/python-client/docs/ResponseEmbeddedTermineInnerAdresseOrtStraE.md deleted file mode 100644 index e18dcf1..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerAdresseOrtStraE.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseEmbeddedTermineInnerAdresseOrtStraE - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**plz** | **int** | | [optional] -**name** | **str** | | [optional] -**land** | [**ResponseEmbeddedTermineInnerAdresseOrtStraELand**](ResponseEmbeddedTermineInnerAdresseOrtStraELand.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerAdresseOrtStraELand.md b/python-client/docs/ResponseEmbeddedTermineInnerAdresseOrtStraELand.md deleted file mode 100644 index cd6a5cb..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerAdresseOrtStraELand.md +++ /dev/null @@ -1,16 +0,0 @@ -# ResponseEmbeddedTermineInnerAdresseOrtStraELand - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**name** | **str** | | [optional] -**laender_code** | **str** | | [optional] -**bundesland_code** | **str** | | [optional] -**code** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerAngebot.md b/python-client/docs/ResponseEmbeddedTermineInnerAngebot.md deleted file mode 100644 index 5c5eb22..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerAngebot.md +++ /dev/null @@ -1,23 +0,0 @@ -# ResponseEmbeddedTermineInnerAngebot - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**titel** | **str** | | [optional] -**inhalt** | **str** | | [optional] -**abschlussart** | **str** | | [optional] -**abschlussbezeichnung** | **str** | | [optional] -**foerderung** | **str** | | [optional] -**zugang** | **str, none_type** | | [optional] -**anrechnung** | **str, none_type** | | [optional] -**berechtigungen** | **str, none_type** | | [optional] -**zusatzqualifikationen** | **str, none_type** | | [optional] -**link** | **str** | | [optional] -**zielgruppe** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerAnsprechpartnerInner.md b/python-client/docs/ResponseEmbeddedTermineInnerAnsprechpartnerInner.md deleted file mode 100644 index bd5aa39..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerAnsprechpartnerInner.md +++ /dev/null @@ -1,23 +0,0 @@ -# ResponseEmbeddedTermineInnerAnsprechpartnerInner - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**anrede** | **str** | | [optional] -**titel** | **str, none_type** | | [optional] -**nachname** | **str** | | [optional] -**vorname** | **str** | | [optional] -**telefon_vorwahl** | **str** | | [optional] -**telefon_durchwahl** | **int** | | [optional] -**fax_vorwahl** | **str** | | [optional] -**fax_durchwahl** | **int** | | [optional] -**email** | **str** | | [optional] -**homepage** | **str** | | [optional] -**rollen** | [**ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen**](ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen.md b/python-client/docs/ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen.md deleted file mode 100644 index e662b7b..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**bezeichnung** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerDauer.md b/python-client/docs/ResponseEmbeddedTermineInnerDauer.md deleted file mode 100644 index 7bd394c..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerDauer.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResponseEmbeddedTermineInnerDauer - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**bezeichnung** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerUnterrichtsform.md b/python-client/docs/ResponseEmbeddedTermineInnerUnterrichtsform.md deleted file mode 100644 index ecfa9a8..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerUnterrichtsform.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResponseEmbeddedTermineInnerUnterrichtsform - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**bezeichnung** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseEmbeddedTermineInnerUnterrichtszeit.md b/python-client/docs/ResponseEmbeddedTermineInnerUnterrichtszeit.md deleted file mode 100644 index 9ba69b5..0000000 --- a/python-client/docs/ResponseEmbeddedTermineInnerUnterrichtszeit.md +++ /dev/null @@ -1,13 +0,0 @@ -# ResponseEmbeddedTermineInnerUnterrichtszeit - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**bezeichnung** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseLinks.md b/python-client/docs/ResponseLinks.md deleted file mode 100644 index 97e7f2d..0000000 --- a/python-client/docs/ResponseLinks.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponseLinks - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**first** | [**ResponseLinksFirst**](ResponseLinksFirst.md) | | [optional] -**_self** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**next** | [**ResponseLinksNext**](ResponseLinksNext.md) | | [optional] -**last** | [**ResponseLinksLast**](ResponseLinksLast.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseLinksFirst.md b/python-client/docs/ResponseLinksFirst.md deleted file mode 100644 index 313319b..0000000 --- a/python-client/docs/ResponseLinksFirst.md +++ /dev/null @@ -1,12 +0,0 @@ -# ResponseLinksFirst - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseLinksLast.md b/python-client/docs/ResponseLinksLast.md deleted file mode 100644 index b7f62e2..0000000 --- a/python-client/docs/ResponseLinksLast.md +++ /dev/null @@ -1,12 +0,0 @@ -# ResponseLinksLast - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponseLinksNext.md b/python-client/docs/ResponseLinksNext.md deleted file mode 100644 index 8e357ab..0000000 --- a/python-client/docs/ResponseLinksNext.md +++ /dev/null @@ -1,12 +0,0 @@ -# ResponseLinksNext - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/docs/ResponsePage.md b/python-client/docs/ResponsePage.md deleted file mode 100644 index b5a2dcb..0000000 --- a/python-client/docs/ResponsePage.md +++ /dev/null @@ -1,15 +0,0 @@ -# ResponsePage - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**size** | **int** | | [optional] -**total_elements** | **int** | | [optional] -**total_pages** | **int** | | [optional] -**number** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/python-client/sphinx-docs/conf.py b/python-client/sphinx-docs/conf.py index 6e94a31..1090530 100644 --- a/python-client/sphinx-docs/conf.py +++ b/python-client/sphinx-docs/conf.py @@ -11,7 +11,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = "weiterbildungssuche-api" -copyright = "2023, AndreasFischer1985" +copyright = "2024, AndreasFischer1985" author = "AndreasFischer1985" version = "0.1.0" diff --git a/python-client/sphinx-docs/source/weiterbildungssuche.model.rst b/python-client/sphinx-docs/source/weiterbildungssuche.model.rst index c4cd10f..1335700 100644 --- a/python-client/sphinx-docs/source/weiterbildungssuche.model.rst +++ b/python-client/sphinx-docs/source/weiterbildungssuche.model.rst @@ -1,201 +1,6 @@ weiterbildungssuche.model package ================================= -Submodules ----------- - -weiterbildungssuche.model.response module ------------------------------------------ - -.. automodule:: weiterbildungssuche.model.response - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_aggregations module -------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_aggregations - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_aggregations\_anzahlausgefiltert module ---------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_aggregations_anzahlausgefiltert - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_aggregations\_anzahlgesamt module ---------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_aggregations_anzahlgesamt - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_aggregations\_lernformen module -------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_aggregations_lernformen - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_aggregations\_regionen module ------------------------------------------------------------------ - -.. automodule:: weiterbildungssuche.model.response_aggregations_regionen - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_aggregations\_unterrichstzeit module ------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_aggregations_unterrichstzeit - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded module ---------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner module -------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_adresse module ----------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_adresse - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_adresse\_koordinaten module ------------------------------------------------------------------------------------------ - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_adresse_koordinaten - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_adresse\_ort\_stra\_e module ------------------------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_adresse\_ort\_stra\_e\_land module ------------------------------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e_land - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_angebot module ----------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_angebot - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_ansprechpartner\_inner module -------------------------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_ansprechpartner\_inner\_rollen module ---------------------------------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner_rollen - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_dauer module --------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_dauer - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_unterrichtsform module ------------------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_unterrichtsform - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_embedded\_termine\_inner\_unterrichtszeit module ------------------------------------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_embedded_termine_inner_unterrichtszeit - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_links module ------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_links - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_links\_first module -------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_links_first - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_links\_last module ------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_links_last - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_links\_next module ------------------------------------------------------- - -.. automodule:: weiterbildungssuche.model.response_links_next - :members: - :undoc-members: - :show-inheritance: - -weiterbildungssuche.model.response\_page module ------------------------------------------------ - -.. automodule:: weiterbildungssuche.model.response_page - :members: - :undoc-members: - :show-inheritance: - Module contents --------------- diff --git a/python-client/test/test_default_api.py b/python-client/test/test_default_api.py index 3e38d11..be235fb 100644 --- a/python-client/test/test_default_api.py +++ b/python-client/test/test_default_api.py @@ -1,14 +1,13 @@ """ Arbeitsagentur Weiterbildungssuche API - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 + Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert über die clientId der Weiterbildungssuche, die einem GET-request an https://web.arbeitsagentur.de/weiterbildungssuche/suche entnommen werden kann: clientId: infosysbub-wbsuche Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501 - The version of the OpenAPI document: 1.0.0 + The version of the OpenAPI document: 2.0.1 Contact: andreasfischer1985@web.de Generated by: https://openapi-generator.tech """ - import unittest from deutschland.weiterbildungssuche.api.default_api import DefaultApi # noqa: E501 @@ -25,6 +24,13 @@ def setUp(self): def tearDown(self): pass + def test_facetten(self): + """Test case for facetten + + Facetten # noqa: E501 + """ + pass + def test_weiterbildungssuche(self): """Test case for weiterbildungssuche diff --git a/python-client/test/test_response.py b/python-client/test/test_response.py deleted file mode 100644 index 73aa891..0000000 --- a/python-client/test/test_response.py +++ /dev/null @@ -1,48 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_aggregations import ( - ResponseAggregations, -) -from deutschland.weiterbildungssuche.model.response_embedded import ResponseEmbedded -from deutschland.weiterbildungssuche.model.response_links import ResponseLinks -from deutschland.weiterbildungssuche.model.response_page import ResponsePage - -from deutschland import weiterbildungssuche - -globals()["ResponseAggregations"] = ResponseAggregations -globals()["ResponseEmbedded"] = ResponseEmbedded -globals()["ResponseLinks"] = ResponseLinks -globals()["ResponsePage"] = ResponsePage -from deutschland.weiterbildungssuche.model.response import Response - - -class TestResponse(unittest.TestCase): - """Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponse(self): - """Test Response""" - # FIXME: construct object with mandatory attributes with example values - # model = Response() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_aggregations.py b/python-client/test/test_response_aggregations.py deleted file mode 100644 index eb097f4..0000000 --- a/python-client/test/test_response_aggregations.py +++ /dev/null @@ -1,62 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_aggregations_anzahlausgefiltert import ( - ResponseAggregationsANZAHLAUSGEFILTERT, -) -from deutschland.weiterbildungssuche.model.response_aggregations_anzahlgesamt import ( - ResponseAggregationsANZAHLGESAMT, -) -from deutschland.weiterbildungssuche.model.response_aggregations_lernformen import ( - ResponseAggregationsLERNFORMEN, -) -from deutschland.weiterbildungssuche.model.response_aggregations_regionen import ( - ResponseAggregationsREGIONEN, -) -from deutschland.weiterbildungssuche.model.response_aggregations_unterrichstzeit import ( - ResponseAggregationsUNTERRICHSTZEIT, -) - -from deutschland import weiterbildungssuche - -globals()[ - "ResponseAggregationsANZAHLAUSGEFILTERT" -] = ResponseAggregationsANZAHLAUSGEFILTERT -globals()["ResponseAggregationsANZAHLGESAMT"] = ResponseAggregationsANZAHLGESAMT -globals()["ResponseAggregationsLERNFORMEN"] = ResponseAggregationsLERNFORMEN -globals()["ResponseAggregationsREGIONEN"] = ResponseAggregationsREGIONEN -globals()["ResponseAggregationsUNTERRICHSTZEIT"] = ResponseAggregationsUNTERRICHSTZEIT -from deutschland.weiterbildungssuche.model.response_aggregations import ( - ResponseAggregations, -) - - -class TestResponseAggregations(unittest.TestCase): - """ResponseAggregations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseAggregations(self): - """Test ResponseAggregations""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseAggregations() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_aggregations_anzahlausgefiltert.py b/python-client/test/test_response_aggregations_anzahlausgefiltert.py deleted file mode 100644 index 21444c5..0000000 --- a/python-client/test/test_response_aggregations_anzahlausgefiltert.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_aggregations_anzahlausgefiltert import ( - ResponseAggregationsANZAHLAUSGEFILTERT, -) - -from deutschland import weiterbildungssuche - - -class TestResponseAggregationsANZAHLAUSGEFILTERT(unittest.TestCase): - """ResponseAggregationsANZAHLAUSGEFILTERT unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseAggregationsANZAHLAUSGEFILTERT(self): - """Test ResponseAggregationsANZAHLAUSGEFILTERT""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseAggregationsANZAHLAUSGEFILTERT() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_aggregations_anzahlgesamt.py b/python-client/test/test_response_aggregations_anzahlgesamt.py deleted file mode 100644 index ea79b14..0000000 --- a/python-client/test/test_response_aggregations_anzahlgesamt.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_aggregations_anzahlgesamt import ( - ResponseAggregationsANZAHLGESAMT, -) - -from deutschland import weiterbildungssuche - - -class TestResponseAggregationsANZAHLGESAMT(unittest.TestCase): - """ResponseAggregationsANZAHLGESAMT unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseAggregationsANZAHLGESAMT(self): - """Test ResponseAggregationsANZAHLGESAMT""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseAggregationsANZAHLGESAMT() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_aggregations_lernformen.py b/python-client/test/test_response_aggregations_lernformen.py deleted file mode 100644 index 1ded56a..0000000 --- a/python-client/test/test_response_aggregations_lernformen.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_aggregations_lernformen import ( - ResponseAggregationsLERNFORMEN, -) - -from deutschland import weiterbildungssuche - - -class TestResponseAggregationsLERNFORMEN(unittest.TestCase): - """ResponseAggregationsLERNFORMEN unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseAggregationsLERNFORMEN(self): - """Test ResponseAggregationsLERNFORMEN""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseAggregationsLERNFORMEN() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_aggregations_regionen.py b/python-client/test/test_response_aggregations_regionen.py deleted file mode 100644 index ff90f0b..0000000 --- a/python-client/test/test_response_aggregations_regionen.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_aggregations_regionen import ( - ResponseAggregationsREGIONEN, -) - -from deutschland import weiterbildungssuche - - -class TestResponseAggregationsREGIONEN(unittest.TestCase): - """ResponseAggregationsREGIONEN unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseAggregationsREGIONEN(self): - """Test ResponseAggregationsREGIONEN""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseAggregationsREGIONEN() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_aggregations_unterrichstzeit.py b/python-client/test/test_response_aggregations_unterrichstzeit.py deleted file mode 100644 index 44d2a6b..0000000 --- a/python-client/test/test_response_aggregations_unterrichstzeit.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_aggregations_unterrichstzeit import ( - ResponseAggregationsUNTERRICHSTZEIT, -) - -from deutschland import weiterbildungssuche - - -class TestResponseAggregationsUNTERRICHSTZEIT(unittest.TestCase): - """ResponseAggregationsUNTERRICHSTZEIT unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseAggregationsUNTERRICHSTZEIT(self): - """Test ResponseAggregationsUNTERRICHSTZEIT""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseAggregationsUNTERRICHSTZEIT() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded.py b/python-client/test/test_response_embedded.py deleted file mode 100644 index 45c7b36..0000000 --- a/python-client/test/test_response_embedded.py +++ /dev/null @@ -1,42 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner import ( - ResponseEmbeddedTermineInner, -) - -from deutschland import weiterbildungssuche - -globals()["ResponseEmbeddedTermineInner"] = ResponseEmbeddedTermineInner -from deutschland.weiterbildungssuche.model.response_embedded import ResponseEmbedded - - -class TestResponseEmbedded(unittest.TestCase): - """ResponseEmbedded unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbedded(self): - """Test ResponseEmbedded""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbedded() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner.py b/python-client/test/test_response_embedded_termine_inner.py deleted file mode 100644 index 45c3bce..0000000 --- a/python-client/test/test_response_embedded_termine_inner.py +++ /dev/null @@ -1,70 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse import ( - ResponseEmbeddedTermineInnerAdresse, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_angebot import ( - ResponseEmbeddedTermineInnerAngebot, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInner, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_dauer import ( - ResponseEmbeddedTermineInnerDauer, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtsform import ( - ResponseEmbeddedTermineInnerUnterrichtsform, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtszeit import ( - ResponseEmbeddedTermineInnerUnterrichtszeit, -) - -from deutschland import weiterbildungssuche - -globals()["ResponseEmbeddedTermineInnerAdresse"] = ResponseEmbeddedTermineInnerAdresse -globals()["ResponseEmbeddedTermineInnerAngebot"] = ResponseEmbeddedTermineInnerAngebot -globals()[ - "ResponseEmbeddedTermineInnerAnsprechpartnerInner" -] = ResponseEmbeddedTermineInnerAnsprechpartnerInner -globals()["ResponseEmbeddedTermineInnerDauer"] = ResponseEmbeddedTermineInnerDauer -globals()[ - "ResponseEmbeddedTermineInnerUnterrichtsform" -] = ResponseEmbeddedTermineInnerUnterrichtsform -globals()[ - "ResponseEmbeddedTermineInnerUnterrichtszeit" -] = ResponseEmbeddedTermineInnerUnterrichtszeit -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner import ( - ResponseEmbeddedTermineInner, -) - - -class TestResponseEmbeddedTermineInner(unittest.TestCase): - """ResponseEmbeddedTermineInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInner(self): - """Test ResponseEmbeddedTermineInner""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInner() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_adresse.py b/python-client/test/test_response_embedded_termine_inner_adresse.py deleted file mode 100644 index ccfe0c0..0000000 --- a/python-client/test/test_response_embedded_termine_inner_adresse.py +++ /dev/null @@ -1,52 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_koordinaten import ( - ResponseEmbeddedTermineInnerAdresseKoordinaten, -) -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e import ( - ResponseEmbeddedTermineInnerAdresseOrtStraE, -) - -from deutschland import weiterbildungssuche - -globals()[ - "ResponseEmbeddedTermineInnerAdresseKoordinaten" -] = ResponseEmbeddedTermineInnerAdresseKoordinaten -globals()[ - "ResponseEmbeddedTermineInnerAdresseOrtStraE" -] = ResponseEmbeddedTermineInnerAdresseOrtStraE -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse import ( - ResponseEmbeddedTermineInnerAdresse, -) - - -class TestResponseEmbeddedTermineInnerAdresse(unittest.TestCase): - """ResponseEmbeddedTermineInnerAdresse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerAdresse(self): - """Test ResponseEmbeddedTermineInnerAdresse""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerAdresse() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_adresse_koordinaten.py b/python-client/test/test_response_embedded_termine_inner_adresse_koordinaten.py deleted file mode 100644 index a36c265..0000000 --- a/python-client/test/test_response_embedded_termine_inner_adresse_koordinaten.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_koordinaten import ( - ResponseEmbeddedTermineInnerAdresseKoordinaten, -) - -from deutschland import weiterbildungssuche - - -class TestResponseEmbeddedTermineInnerAdresseKoordinaten(unittest.TestCase): - """ResponseEmbeddedTermineInnerAdresseKoordinaten unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerAdresseKoordinaten(self): - """Test ResponseEmbeddedTermineInnerAdresseKoordinaten""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerAdresseKoordinaten() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_adresse_ort_stra_e.py b/python-client/test/test_response_embedded_termine_inner_adresse_ort_stra_e.py deleted file mode 100644 index 9ba4c9a..0000000 --- a/python-client/test/test_response_embedded_termine_inner_adresse_ort_stra_e.py +++ /dev/null @@ -1,46 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e_land import ( - ResponseEmbeddedTermineInnerAdresseOrtStraELand, -) - -from deutschland import weiterbildungssuche - -globals()[ - "ResponseEmbeddedTermineInnerAdresseOrtStraELand" -] = ResponseEmbeddedTermineInnerAdresseOrtStraELand -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e import ( - ResponseEmbeddedTermineInnerAdresseOrtStraE, -) - - -class TestResponseEmbeddedTermineInnerAdresseOrtStraE(unittest.TestCase): - """ResponseEmbeddedTermineInnerAdresseOrtStraE unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerAdresseOrtStraE(self): - """Test ResponseEmbeddedTermineInnerAdresseOrtStraE""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerAdresseOrtStraE() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_adresse_ort_stra_e_land.py b/python-client/test/test_response_embedded_termine_inner_adresse_ort_stra_e_land.py deleted file mode 100644 index 6864a04..0000000 --- a/python-client/test/test_response_embedded_termine_inner_adresse_ort_stra_e_land.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_adresse_ort_stra_e_land import ( - ResponseEmbeddedTermineInnerAdresseOrtStraELand, -) - -from deutschland import weiterbildungssuche - - -class TestResponseEmbeddedTermineInnerAdresseOrtStraELand(unittest.TestCase): - """ResponseEmbeddedTermineInnerAdresseOrtStraELand unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerAdresseOrtStraELand(self): - """Test ResponseEmbeddedTermineInnerAdresseOrtStraELand""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerAdresseOrtStraELand() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_angebot.py b/python-client/test/test_response_embedded_termine_inner_angebot.py deleted file mode 100644 index 71ed61e..0000000 --- a/python-client/test/test_response_embedded_termine_inner_angebot.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_angebot import ( - ResponseEmbeddedTermineInnerAngebot, -) - -from deutschland import weiterbildungssuche - - -class TestResponseEmbeddedTermineInnerAngebot(unittest.TestCase): - """ResponseEmbeddedTermineInnerAngebot unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerAngebot(self): - """Test ResponseEmbeddedTermineInnerAngebot""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerAngebot() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_ansprechpartner_inner.py b/python-client/test/test_response_embedded_termine_inner_ansprechpartner_inner.py deleted file mode 100644 index 7cb2aef..0000000 --- a/python-client/test/test_response_embedded_termine_inner_ansprechpartner_inner.py +++ /dev/null @@ -1,46 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner_rollen import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen, -) - -from deutschland import weiterbildungssuche - -globals()[ - "ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen" -] = ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInner, -) - - -class TestResponseEmbeddedTermineInnerAnsprechpartnerInner(unittest.TestCase): - """ResponseEmbeddedTermineInnerAnsprechpartnerInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerAnsprechpartnerInner(self): - """Test ResponseEmbeddedTermineInnerAnsprechpartnerInner""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerAnsprechpartnerInner() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_ansprechpartner_inner_rollen.py b/python-client/test/test_response_embedded_termine_inner_ansprechpartner_inner_rollen.py deleted file mode 100644 index 67773a0..0000000 --- a/python-client/test/test_response_embedded_termine_inner_ansprechpartner_inner_rollen.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_ansprechpartner_inner_rollen import ( - ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen, -) - -from deutschland import weiterbildungssuche - - -class TestResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen(unittest.TestCase): - """ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen(self): - """Test ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerAnsprechpartnerInnerRollen() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_dauer.py b/python-client/test/test_response_embedded_termine_inner_dauer.py deleted file mode 100644 index e660568..0000000 --- a/python-client/test/test_response_embedded_termine_inner_dauer.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_dauer import ( - ResponseEmbeddedTermineInnerDauer, -) - -from deutschland import weiterbildungssuche - - -class TestResponseEmbeddedTermineInnerDauer(unittest.TestCase): - """ResponseEmbeddedTermineInnerDauer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerDauer(self): - """Test ResponseEmbeddedTermineInnerDauer""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerDauer() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_unterrichtsform.py b/python-client/test/test_response_embedded_termine_inner_unterrichtsform.py deleted file mode 100644 index 947ba9b..0000000 --- a/python-client/test/test_response_embedded_termine_inner_unterrichtsform.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtsform import ( - ResponseEmbeddedTermineInnerUnterrichtsform, -) - -from deutschland import weiterbildungssuche - - -class TestResponseEmbeddedTermineInnerUnterrichtsform(unittest.TestCase): - """ResponseEmbeddedTermineInnerUnterrichtsform unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerUnterrichtsform(self): - """Test ResponseEmbeddedTermineInnerUnterrichtsform""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerUnterrichtsform() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_embedded_termine_inner_unterrichtszeit.py b/python-client/test/test_response_embedded_termine_inner_unterrichtszeit.py deleted file mode 100644 index f9daed1..0000000 --- a/python-client/test/test_response_embedded_termine_inner_unterrichtszeit.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_embedded_termine_inner_unterrichtszeit import ( - ResponseEmbeddedTermineInnerUnterrichtszeit, -) - -from deutschland import weiterbildungssuche - - -class TestResponseEmbeddedTermineInnerUnterrichtszeit(unittest.TestCase): - """ResponseEmbeddedTermineInnerUnterrichtszeit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseEmbeddedTermineInnerUnterrichtszeit(self): - """Test ResponseEmbeddedTermineInnerUnterrichtszeit""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseEmbeddedTermineInnerUnterrichtszeit() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_links.py b/python-client/test/test_response_links.py deleted file mode 100644 index 50a9fd5..0000000 --- a/python-client/test/test_response_links.py +++ /dev/null @@ -1,46 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_links_first import ( - ResponseLinksFirst, -) -from deutschland.weiterbildungssuche.model.response_links_last import ResponseLinksLast -from deutschland.weiterbildungssuche.model.response_links_next import ResponseLinksNext - -from deutschland import weiterbildungssuche - -globals()["ResponseLinksFirst"] = ResponseLinksFirst -globals()["ResponseLinksLast"] = ResponseLinksLast -globals()["ResponseLinksNext"] = ResponseLinksNext -from deutschland.weiterbildungssuche.model.response_links import ResponseLinks - - -class TestResponseLinks(unittest.TestCase): - """ResponseLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseLinks(self): - """Test ResponseLinks""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseLinks() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_links_first.py b/python-client/test/test_response_links_first.py deleted file mode 100644 index e71c768..0000000 --- a/python-client/test/test_response_links_first.py +++ /dev/null @@ -1,39 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_links_first import ( - ResponseLinksFirst, -) - -from deutschland import weiterbildungssuche - - -class TestResponseLinksFirst(unittest.TestCase): - """ResponseLinksFirst unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseLinksFirst(self): - """Test ResponseLinksFirst""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseLinksFirst() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_links_last.py b/python-client/test/test_response_links_last.py deleted file mode 100644 index 2c5baaa..0000000 --- a/python-client/test/test_response_links_last.py +++ /dev/null @@ -1,37 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_links_last import ResponseLinksLast - -from deutschland import weiterbildungssuche - - -class TestResponseLinksLast(unittest.TestCase): - """ResponseLinksLast unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseLinksLast(self): - """Test ResponseLinksLast""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseLinksLast() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_links_next.py b/python-client/test/test_response_links_next.py deleted file mode 100644 index c20ad2a..0000000 --- a/python-client/test/test_response_links_next.py +++ /dev/null @@ -1,37 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_links_next import ResponseLinksNext - -from deutschland import weiterbildungssuche - - -class TestResponseLinksNext(unittest.TestCase): - """ResponseLinksNext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponseLinksNext(self): - """Test ResponseLinksNext""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponseLinksNext() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/python-client/test/test_response_page.py b/python-client/test/test_response_page.py deleted file mode 100644 index 3c9f461..0000000 --- a/python-client/test/test_response_page.py +++ /dev/null @@ -1,37 +0,0 @@ -""" - Arbeitsagentur Weiterbildungssuche API - - Eine der größten Weiterbildungsdatenbanken Deutschlands durchsuchen. Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden: **ClientID:** 38053956-6618-4953-b670-b4ae7a2360b1 **ClientSecret:** c385073c-3b97-42a9-b916-08fd8a5d1795. **Achtung**: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden. # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: andreasfischer1985@web.de - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -from deutschland.weiterbildungssuche.model.response_page import ResponsePage - -from deutschland import weiterbildungssuche - - -class TestResponsePage(unittest.TestCase): - """ResponsePage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResponsePage(self): - """Test ResponsePage""" - # FIXME: construct object with mandatory attributes with example values - # model = ResponsePage() # noqa: E501 - pass - - -if __name__ == "__main__": - unittest.main()