11 |
12 |
13 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/python-client/.openapi-generator-ignore:
--------------------------------------------------------------------------------
1 | # OpenAPI Generator Ignore
2 | # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3 |
4 | # Use this file to prevent files from being overwritten by the generator.
5 | # The patterns follow closely to .gitignore or .dockerignore.
6 |
7 | # As an example, the C# client generator defines ApiClient.cs.
8 | # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9 | #ApiClient.cs
10 |
11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12 | #foo/*/qux
13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14 |
15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16 | #foo/**/qux
17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18 |
19 | # You can also negate patterns with an exclamation (!).
20 | # For example, you can ignore all files in a docs folder with the file extension .md:
21 | #docs/*.md
22 | # Then explicitly reverse the ignore rule for a single file:
23 | #!docs/README.md
24 |
--------------------------------------------------------------------------------
/python-client/.openapi-generator/FILES:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .gitlab-ci.yml
3 | .openapi-generator-ignore
4 | .travis.yml
5 | README.md
6 | create_doc.py
7 | docs/DefaultApi.md
8 | docs/JobDetails.md
9 | docs/JobDetailsArbeitgeberAdresse.md
10 | docs/JobDetailsArbeitsorteInner.md
11 | docs/JobDetailsArbeitsorteInnerKoordinaten.md
12 | docs/JobDetailsFertigkeitenInner.md
13 | docs/JobDetailsFuehrungskompetenzen.md
14 | docs/JobDetailsMobilitaet.md
15 | docs/JobSearchResponse.md
16 | docs/JobSearchResponseFacettenInner.md
17 | docs/JobSearchResponseFacettenInnerBefristung.md
18 | docs/JobSearchResponseStellenangeboteInner.md
19 | docs/JobSearchResponseStellenangeboteInnerArbeitsort.md
20 | docs/JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten.md
21 | git_push.sh
22 | jobsuche/__init__.py
23 | jobsuche/api/__init__.py
24 | jobsuche/api/default_api.py
25 | jobsuche/api_client.py
26 | jobsuche/apis/__init__.py
27 | jobsuche/configuration.py
28 | jobsuche/exceptions.py
29 | jobsuche/model/__init__.py
30 | jobsuche/model/job_details.py
31 | jobsuche/model/job_details_arbeitgeber_adresse.py
32 | jobsuche/model/job_details_arbeitsorte_inner.py
33 | jobsuche/model/job_details_arbeitsorte_inner_koordinaten.py
34 | jobsuche/model/job_details_fertigkeiten_inner.py
35 | jobsuche/model/job_details_fuehrungskompetenzen.py
36 | jobsuche/model/job_details_mobilitaet.py
37 | jobsuche/model/job_search_response.py
38 | jobsuche/model/job_search_response_facetten_inner.py
39 | jobsuche/model/job_search_response_facetten_inner_befristung.py
40 | jobsuche/model/job_search_response_stellenangebote_inner.py
41 | jobsuche/model/job_search_response_stellenangebote_inner_arbeitsort.py
42 | jobsuche/model/job_search_response_stellenangebote_inner_arbeitsort_koordinaten.py
43 | jobsuche/model_utils.py
44 | jobsuche/models/__init__.py
45 | jobsuche/rest.py
46 | pyproject.toml
47 | rename_generated_code.py
48 | requirements.txt
49 | requirements.txt
50 | setup.cfg
51 | setup.py
52 | test-requirements.txt
53 | test/__init__.py
54 | test/test_default_api.py
55 | test/test_job_details.py
56 | test/test_job_details_arbeitgeber_adresse.py
57 | test/test_job_details_arbeitsorte_inner.py
58 | test/test_job_details_arbeitsorte_inner_koordinaten.py
59 | test/test_job_details_fertigkeiten_inner.py
60 | test/test_job_details_fuehrungskompetenzen.py
61 | test/test_job_details_mobilitaet.py
62 | test/test_job_search_response.py
63 | test/test_job_search_response_facetten_inner.py
64 | test/test_job_search_response_facetten_inner_befristung.py
65 | test/test_job_search_response_stellenangebote_inner.py
66 | test/test_job_search_response_stellenangebote_inner_arbeitsort.py
67 | test/test_job_search_response_stellenangebote_inner_arbeitsort_koordinaten.py
68 | tox.ini
69 |
--------------------------------------------------------------------------------
/python-client/.openapi-generator/VERSION:
--------------------------------------------------------------------------------
1 | 6.1.0
--------------------------------------------------------------------------------
/python-client/README.md:
--------------------------------------------------------------------------------
1 | # jobsuche
2 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben.
3 |
4 | This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5 |
6 | - API version: 2.0.2
7 | - Package version: 0.1.0
8 | - Build package: org.openapitools.codegen.languages.PythonClientCodegen
9 |
10 | ## Requirements.
11 |
12 | Python >= 3.6
13 |
14 | ## Installation & Usage
15 | ### pip install
16 |
17 | ```sh
18 | pip install deutschland[jobsuche]
19 | ```
20 |
21 | ### poetry install
22 |
23 | ```sh
24 | poetry add deutschland -E jobsuche
25 | ```
26 |
27 | ### Setuptools
28 |
29 | Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
30 |
31 | ```sh
32 | python setup.py install --user
33 | ```
34 | (or `sudo python setup.py install` to install the package for all users)
35 |
36 | ## Usage
37 |
38 | Import the package:
39 | ```python
40 | from deutschland import jobsuche
41 | ```
42 |
43 | ## Getting Started
44 |
45 | Please follow the [installation procedure](#installation--usage) and then run the following:
46 |
47 | ```python
48 |
49 | import time
50 | from deutschland import jobsuche
51 | from pprint import pprint
52 | from deutschland.jobsuche.api import default_api
53 | from deutschland.jobsuche.model.job_search_response import JobSearchResponse
54 | # Defining the host is optional and defaults to https://rest.arbeitsagentur.de/jobboerse/jobsuche-service
55 | # See configuration.py for a list of all supported configuration parameters.
56 | configuration = jobsuche.Configuration(
57 | host = "https://rest.arbeitsagentur.de/jobboerse/jobsuche-service"
58 | )
59 |
60 | # The client must configure the authentication and authorization parameters
61 | # in accordance with the API server security policy.
62 | # Examples for each auth method are provided below, use the example that
63 | # satisfies your auth use case.
64 |
65 | # Configure API key authorization: APIKeyHeaders
66 | configuration.api_key['APIKeyHeaders'] = 'YOUR_API_KEY'
67 |
68 | # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
69 | # configuration.api_key_prefix['APIKeyHeaders'] = 'Bearer'
70 |
71 |
72 | # Enter a context with an instance of the API client
73 | with jobsuche.ApiClient(configuration) as api_client:
74 | # Create an instance of the API class
75 | api_instance = default_api.DefaultApi(api_client)
76 | hash_id = "VK2qoXBe0s-UAdH_qxLDRrZrY5iY8a1PJt3MjJCXsdo=" # str |
77 |
78 | try:
79 | # Unternehmen Logo
80 | api_response = api_instance.ed_v1_arbeitgeberlogo_hash_id_get(hash_id)
81 | pprint(api_response)
82 | except jobsuche.ApiException as e:
83 | print("Exception when calling DefaultApi->ed_v1_arbeitgeberlogo_hash_id_get: %s\n" % e)
84 | ```
85 |
86 | ## Documentation for API Endpoints
87 |
88 | All URIs are relative to *https://rest.arbeitsagentur.de/jobboerse/jobsuche-service*
89 |
90 | Class | Method | HTTP request | Description
91 | ------------ | ------------- | ------------- | -------------
92 | *DefaultApi* | [**ed_v1_arbeitgeberlogo_hash_id_get**](docs/DefaultApi.md#ed_v1_arbeitgeberlogo_hash_id_get) | **GET** /ed/v1/arbeitgeberlogo/{hashID} | Unternehmen Logo
93 | *DefaultApi* | [**pc_v4_app_jobs_get**](docs/DefaultApi.md#pc_v4_app_jobs_get) | **GET** /pc/v4/app/jobs | Jobsuche via App
94 | *DefaultApi* | [**pc_v4_jobs_get**](docs/DefaultApi.md#pc_v4_jobs_get) | **GET** /pc/v4/jobs | Jobsuche
95 |
96 |
97 | ## Documentation For Models
98 |
99 | - [JobDetails](docs/JobDetails.md)
100 | - [JobDetailsArbeitgeberAdresse](docs/JobDetailsArbeitgeberAdresse.md)
101 | - [JobDetailsArbeitsorteInner](docs/JobDetailsArbeitsorteInner.md)
102 | - [JobDetailsArbeitsorteInnerKoordinaten](docs/JobDetailsArbeitsorteInnerKoordinaten.md)
103 | - [JobDetailsFertigkeitenInner](docs/JobDetailsFertigkeitenInner.md)
104 | - [JobDetailsFuehrungskompetenzen](docs/JobDetailsFuehrungskompetenzen.md)
105 | - [JobDetailsMobilitaet](docs/JobDetailsMobilitaet.md)
106 | - [JobSearchResponse](docs/JobSearchResponse.md)
107 | - [JobSearchResponseFacettenInner](docs/JobSearchResponseFacettenInner.md)
108 | - [JobSearchResponseFacettenInnerBefristung](docs/JobSearchResponseFacettenInnerBefristung.md)
109 | - [JobSearchResponseStellenangeboteInner](docs/JobSearchResponseStellenangeboteInner.md)
110 | - [JobSearchResponseStellenangeboteInnerArbeitsort](docs/JobSearchResponseStellenangeboteInnerArbeitsort.md)
111 | - [JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten](docs/JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten.md)
112 |
113 |
114 | ## Documentation For Authorization
115 |
116 |
117 | ## APIKeyHeaders
118 |
119 | - **Type**: API key
120 | - **API key parameter name**: X-API-Key
121 | - **Location**: HTTP header
122 |
123 |
124 | ## Author
125 |
126 | kontakt@bund.dev
127 |
128 |
129 | ## Notes for Large OpenAPI documents
130 | If the OpenAPI document is large, imports in jobsuche.apis and jobsuche.models may fail with a
131 | RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
132 |
133 | Solution 1:
134 | Use specific imports for apis and models like:
135 | - `from deutschland.jobsuche.api.default_api import DefaultApi`
136 | - `from deutschland.jobsuche.model.pet import Pet`
137 |
138 | Solution 2:
139 | Before importing the package, adjust the maximum recursion limit as shown below:
140 | ```
141 | import sys
142 | sys.setrecursionlimit(1500)
143 | from deutschland import jobsuche
144 | from deutschland.jobsuche.apis import *
145 | from deutschland.jobsuche.models import *
146 | ```
147 |
148 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/__init__.py:
--------------------------------------------------------------------------------
1 | # flake8: noqa
2 |
3 | """
4 | Arbeitsagentur Jobsuche API
5 |
6 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
7 |
8 | The version of the OpenAPI document: 2.0.2
9 | Contact: kontakt@bund.dev
10 | Generated by: https://openapi-generator.tech
11 | """
12 |
13 |
14 | __version__ = "0.1.0"
15 |
16 | # import ApiClient
17 | from deutschland.jobsuche.api_client import ApiClient
18 |
19 | # import Configuration
20 | from deutschland.jobsuche.configuration import Configuration
21 |
22 | # import exceptions
23 | from deutschland.jobsuche.exceptions import (
24 | ApiAttributeError,
25 | ApiException,
26 | ApiKeyError,
27 | ApiTypeError,
28 | ApiValueError,
29 | OpenApiException,
30 | )
31 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/api/__init__.py:
--------------------------------------------------------------------------------
1 | # do not import all apis into this module because that uses a lot of memory and stack frames
2 | # if you need the ability to import all apis from one package, import them with
3 | # from deutschland.jobsuche.apis import DefaultApi
4 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/apis/__init__.py:
--------------------------------------------------------------------------------
1 | # flake8: noqa
2 |
3 | # Import all APIs into this package.
4 | # If you have many APIs here with many many models used in each API this may
5 | # raise a `RecursionError`.
6 | # In order to avoid this, import only the API that you directly need like:
7 | #
8 | # from deutschland.jobsuche.api.default_api import DefaultApi
9 | #
10 | # or import this package, but before doing it, use:
11 | #
12 | # import sys
13 | # sys.setrecursionlimit(n)
14 |
15 | # Import APIs into API package:
16 | from deutschland.jobsuche.api.default_api import DefaultApi
17 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/exceptions.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | class OpenApiException(Exception):
13 | """The base exception class for all OpenAPIExceptions"""
14 |
15 |
16 | class ApiTypeError(OpenApiException, TypeError):
17 | def __init__(self, msg, path_to_item=None, valid_classes=None, key_type=None):
18 | """Raises an exception for TypeErrors
19 |
20 | Args:
21 | msg (str): the exception message
22 |
23 | Keyword Args:
24 | path_to_item (list): a list of keys an indices to get to the
25 | current_item
26 | None if unset
27 | valid_classes (tuple): the primitive classes that current item
28 | should be an instance of
29 | None if unset
30 | key_type (bool): False if our value is a value in a dict
31 | True if it is a key in a dict
32 | False if our item is an item in a list
33 | None if unset
34 | """
35 | self.path_to_item = path_to_item
36 | self.valid_classes = valid_classes
37 | self.key_type = key_type
38 | full_msg = msg
39 | if path_to_item:
40 | full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
41 | super(ApiTypeError, self).__init__(full_msg)
42 |
43 |
44 | class ApiValueError(OpenApiException, ValueError):
45 | def __init__(self, msg, path_to_item=None):
46 | """
47 | Args:
48 | msg (str): the exception message
49 |
50 | Keyword Args:
51 | path_to_item (list) the path to the exception in the
52 | received_data dict. None if unset
53 | """
54 |
55 | self.path_to_item = path_to_item
56 | full_msg = msg
57 | if path_to_item:
58 | full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
59 | super(ApiValueError, self).__init__(full_msg)
60 |
61 |
62 | class ApiAttributeError(OpenApiException, AttributeError):
63 | def __init__(self, msg, path_to_item=None):
64 | """
65 | Raised when an attribute reference or assignment fails.
66 |
67 | Args:
68 | msg (str): the exception message
69 |
70 | Keyword Args:
71 | path_to_item (None/list) the path to the exception in the
72 | received_data dict
73 | """
74 | self.path_to_item = path_to_item
75 | full_msg = msg
76 | if path_to_item:
77 | full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
78 | super(ApiAttributeError, self).__init__(full_msg)
79 |
80 |
81 | class ApiKeyError(OpenApiException, KeyError):
82 | def __init__(self, msg, path_to_item=None):
83 | """
84 | Args:
85 | msg (str): the exception message
86 |
87 | Keyword Args:
88 | path_to_item (None/list) the path to the exception in the
89 | received_data dict
90 | """
91 | self.path_to_item = path_to_item
92 | full_msg = msg
93 | if path_to_item:
94 | full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
95 | super(ApiKeyError, self).__init__(full_msg)
96 |
97 |
98 | class ApiException(OpenApiException):
99 |
100 | def __init__(self, status=None, reason=None, http_resp=None):
101 | if http_resp:
102 | self.status = http_resp.status
103 | self.reason = http_resp.reason
104 | self.body = http_resp.data
105 | self.headers = http_resp.getheaders()
106 | else:
107 | self.status = status
108 | self.reason = reason
109 | self.body = None
110 | self.headers = None
111 |
112 | def __str__(self):
113 | """Custom error messages for exception"""
114 | error_message = "Status Code: {0}\n" "Reason: {1}\n".format(
115 | self.status, self.reason
116 | )
117 | if self.headers:
118 | error_message += "HTTP response headers: {0}\n".format(self.headers)
119 |
120 | if self.body:
121 | error_message += "HTTP response body: {0}\n".format(self.body)
122 |
123 | return error_message
124 |
125 |
126 | class NotFoundException(ApiException):
127 |
128 | def __init__(self, status=None, reason=None, http_resp=None):
129 | super(NotFoundException, self).__init__(status, reason, http_resp)
130 |
131 |
132 | class UnauthorizedException(ApiException):
133 |
134 | def __init__(self, status=None, reason=None, http_resp=None):
135 | super(UnauthorizedException, self).__init__(status, reason, http_resp)
136 |
137 |
138 | class ForbiddenException(ApiException):
139 |
140 | def __init__(self, status=None, reason=None, http_resp=None):
141 | super(ForbiddenException, self).__init__(status, reason, http_resp)
142 |
143 |
144 | class ServiceException(ApiException):
145 |
146 | def __init__(self, status=None, reason=None, http_resp=None):
147 | super(ServiceException, self).__init__(status, reason, http_resp)
148 |
149 |
150 | def render_path(path_to_item):
151 | """Returns a string representation of a path"""
152 | result = ""
153 | for pth in path_to_item:
154 | if isinstance(pth, int):
155 | result += "[{0}]".format(pth)
156 | else:
157 | result += "['{0}']".format(pth)
158 | return result
159 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/__init__.py:
--------------------------------------------------------------------------------
1 | # we can not import model classes here because that would create a circular
2 | # reference which would not work in python2
3 | # do not import all models into this module because that uses a lot of memory and stack frames
4 | # if you need the ability to import all models from one package, import them with
5 | # from deutschland.jobsuche.models import ModelA, ModelB
6 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_details_arbeitgeber_adresse.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | class JobDetailsArbeitgeberAdresse(ModelNormal):
33 | """NOTE: This class is auto generated by OpenAPI Generator.
34 | Ref: https://openapi-generator.tech
35 |
36 | Do not edit the class manually.
37 |
38 | Attributes:
39 | allowed_values (dict): The key is the tuple path to the attribute
40 | and the for var_name this is (var_name,). The value is a dict
41 | with a capitalized key describing the allowed value and an allowed
42 | value. These dicts store the allowed enum values.
43 | attribute_map (dict): The key is attribute name
44 | and the value is json key in definition.
45 | discriminator_value_class_map (dict): A dict to go from the discriminator
46 | variable value to the discriminator class name.
47 | validations (dict): The key is the tuple path to the attribute
48 | and the for var_name this is (var_name,). The value is a dict
49 | that stores validations for max_length, min_length, max_items,
50 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
51 | inclusive_minimum, and regex.
52 | additional_properties_type (tuple): A tuple of classes accepted
53 | as additional properties values.
54 | """
55 |
56 | allowed_values = {}
57 |
58 | validations = {}
59 |
60 | @cached_property
61 | def additional_properties_type():
62 | """
63 | This must be a method because a model may have properties that are
64 | of type self, this must run after the class is loaded
65 | """
66 | return (
67 | bool,
68 | date,
69 | datetime,
70 | dict,
71 | float,
72 | int,
73 | list,
74 | str,
75 | none_type,
76 | ) # noqa: E501
77 |
78 | _nullable = False
79 |
80 | @cached_property
81 | def openapi_types():
82 | """
83 | This must be a method because a model may have properties that are
84 | of type self, this must run after the class is loaded
85 |
86 | Returns
87 | openapi_types (dict): The key is attribute name
88 | and the value is attribute type.
89 | """
90 | return {
91 | "land": (str,), # noqa: E501
92 | "region": (str,), # noqa: E501
93 | "plz": (str,), # noqa: E501
94 | "ort": (str,), # noqa: E501
95 | "strasse": (str,), # noqa: E501
96 | "strasse_hausnummer": (str,), # noqa: E501
97 | }
98 |
99 | @cached_property
100 | def discriminator():
101 | return None
102 |
103 | attribute_map = {
104 | "land": "land", # noqa: E501
105 | "region": "region", # noqa: E501
106 | "plz": "plz", # noqa: E501
107 | "ort": "ort", # noqa: E501
108 | "strasse": "strasse", # noqa: E501
109 | "strasse_hausnummer": "strasseHausnummer", # noqa: E501
110 | }
111 |
112 | read_only_vars = {}
113 |
114 | _composed_schemas = {}
115 |
116 | @classmethod
117 | @convert_js_args_to_python_args
118 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
119 | """JobDetailsArbeitgeberAdresse - a model defined in OpenAPI
120 |
121 | Keyword Args:
122 | _check_type (bool): if True, values for parameters in openapi_types
123 | will be type checked and a TypeError will be
124 | raised if the wrong type is input.
125 | Defaults to True
126 | _path_to_item (tuple/list): This is a list of keys or values to
127 | drill down to the model in received_data
128 | when deserializing a response
129 | _spec_property_naming (bool): True if the variable names in the input data
130 | are serialized names, as specified in the OpenAPI document.
131 | False if the variable names in the input data
132 | are pythonic names, e.g. snake case (default)
133 | _configuration (Configuration): the instance to use when
134 | deserializing a file_type parameter.
135 | If passed, type conversion is attempted
136 | If omitted no type conversion is done.
137 | _visited_composed_classes (tuple): This stores a tuple of
138 | classes that we have traveled through so that
139 | if we see that class again we will not use its
140 | discriminator again.
141 | When traveling through a discriminator, the
142 | composed schema that is
143 | is traveled through is added to this set.
144 | For example if Animal has a discriminator
145 | petType and we pass in "Dog", and the class Dog
146 | allOf includes Animal, we move through Animal
147 | once using the discriminator, and pick Dog.
148 | Then in Dog, we will make an instance of the
149 | Animal class but this time we won't travel
150 | through its discriminator because we passed in
151 | _visited_composed_classes = (Animal,)
152 | land (str): [optional] # noqa: E501
153 | region (str): [optional] # noqa: E501
154 | plz (str): [optional] # noqa: E501
155 | ort (str): [optional] # noqa: E501
156 | strasse (str): [optional] # noqa: E501
157 | strasse_hausnummer (str): [optional] # noqa: E501
158 | """
159 |
160 | _check_type = kwargs.pop("_check_type", True)
161 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
162 | _path_to_item = kwargs.pop("_path_to_item", ())
163 | _configuration = kwargs.pop("_configuration", None)
164 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
165 |
166 | self = super(OpenApiModel, cls).__new__(cls)
167 |
168 | if args:
169 | for arg in args:
170 | if isinstance(arg, dict):
171 | kwargs.update(arg)
172 | else:
173 | raise ApiTypeError(
174 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
175 | % (
176 | args,
177 | self.__class__.__name__,
178 | ),
179 | path_to_item=_path_to_item,
180 | valid_classes=(self.__class__,),
181 | )
182 |
183 | self._data_store = {}
184 | self._check_type = _check_type
185 | self._spec_property_naming = _spec_property_naming
186 | self._path_to_item = _path_to_item
187 | self._configuration = _configuration
188 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
189 |
190 | for var_name, var_value in kwargs.items():
191 | if (
192 | var_name not in self.attribute_map
193 | and self._configuration is not None
194 | and self._configuration.discard_unknown_keys
195 | and self.additional_properties_type is None
196 | ):
197 | # discard variable.
198 | continue
199 | setattr(self, var_name, var_value)
200 | return self
201 |
202 | required_properties = set(
203 | [
204 | "_data_store",
205 | "_check_type",
206 | "_spec_property_naming",
207 | "_path_to_item",
208 | "_configuration",
209 | "_visited_composed_classes",
210 | ]
211 | )
212 |
213 | @convert_js_args_to_python_args
214 | def __init__(self, *args, **kwargs): # noqa: E501
215 | """JobDetailsArbeitgeberAdresse - a model defined in OpenAPI
216 |
217 | Keyword Args:
218 | _check_type (bool): if True, values for parameters in openapi_types
219 | will be type checked and a TypeError will be
220 | raised if the wrong type is input.
221 | Defaults to True
222 | _path_to_item (tuple/list): This is a list of keys or values to
223 | drill down to the model in received_data
224 | when deserializing a response
225 | _spec_property_naming (bool): True if the variable names in the input data
226 | are serialized names, as specified in the OpenAPI document.
227 | False if the variable names in the input data
228 | are pythonic names, e.g. snake case (default)
229 | _configuration (Configuration): the instance to use when
230 | deserializing a file_type parameter.
231 | If passed, type conversion is attempted
232 | If omitted no type conversion is done.
233 | _visited_composed_classes (tuple): This stores a tuple of
234 | classes that we have traveled through so that
235 | if we see that class again we will not use its
236 | discriminator again.
237 | When traveling through a discriminator, the
238 | composed schema that is
239 | is traveled through is added to this set.
240 | For example if Animal has a discriminator
241 | petType and we pass in "Dog", and the class Dog
242 | allOf includes Animal, we move through Animal
243 | once using the discriminator, and pick Dog.
244 | Then in Dog, we will make an instance of the
245 | Animal class but this time we won't travel
246 | through its discriminator because we passed in
247 | _visited_composed_classes = (Animal,)
248 | land (str): [optional] # noqa: E501
249 | region (str): [optional] # noqa: E501
250 | plz (str): [optional] # noqa: E501
251 | ort (str): [optional] # noqa: E501
252 | strasse (str): [optional] # noqa: E501
253 | strasse_hausnummer (str): [optional] # noqa: E501
254 | """
255 |
256 | _check_type = kwargs.pop("_check_type", True)
257 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
258 | _path_to_item = kwargs.pop("_path_to_item", ())
259 | _configuration = kwargs.pop("_configuration", None)
260 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
261 |
262 | if args:
263 | for arg in args:
264 | if isinstance(arg, dict):
265 | kwargs.update(arg)
266 | else:
267 | raise ApiTypeError(
268 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
269 | % (
270 | args,
271 | self.__class__.__name__,
272 | ),
273 | path_to_item=_path_to_item,
274 | valid_classes=(self.__class__,),
275 | )
276 |
277 | self._data_store = {}
278 | self._check_type = _check_type
279 | self._spec_property_naming = _spec_property_naming
280 | self._path_to_item = _path_to_item
281 | self._configuration = _configuration
282 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
283 |
284 | for var_name, var_value in kwargs.items():
285 | if (
286 | var_name not in self.attribute_map
287 | and self._configuration is not None
288 | and self._configuration.discard_unknown_keys
289 | and self.additional_properties_type is None
290 | ):
291 | # discard variable.
292 | continue
293 | setattr(self, var_name, var_value)
294 | if var_name in self.read_only_vars:
295 | raise ApiAttributeError(
296 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
297 | f"class with read only attributes."
298 | )
299 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_details_arbeitsorte_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | def lazy_import():
33 | from deutschland.jobsuche.model.job_details_arbeitsorte_inner_koordinaten import (
34 | JobDetailsArbeitsorteInnerKoordinaten,
35 | )
36 |
37 | globals()[
38 | "JobDetailsArbeitsorteInnerKoordinaten"
39 | ] = JobDetailsArbeitsorteInnerKoordinaten
40 |
41 |
42 | class JobDetailsArbeitsorteInner(ModelNormal):
43 | """NOTE: This class is auto generated by OpenAPI Generator.
44 | Ref: https://openapi-generator.tech
45 |
46 | Do not edit the class manually.
47 |
48 | Attributes:
49 | allowed_values (dict): The key is the tuple path to the attribute
50 | and the for var_name this is (var_name,). The value is a dict
51 | with a capitalized key describing the allowed value and an allowed
52 | value. These dicts store the allowed enum values.
53 | attribute_map (dict): The key is attribute name
54 | and the value is json key in definition.
55 | discriminator_value_class_map (dict): A dict to go from the discriminator
56 | variable value to the discriminator class name.
57 | validations (dict): The key is the tuple path to the attribute
58 | and the for var_name this is (var_name,). The value is a dict
59 | that stores validations for max_length, min_length, max_items,
60 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
61 | inclusive_minimum, and regex.
62 | additional_properties_type (tuple): A tuple of classes accepted
63 | as additional properties values.
64 | """
65 |
66 | allowed_values = {}
67 |
68 | validations = {}
69 |
70 | @cached_property
71 | def additional_properties_type():
72 | """
73 | This must be a method because a model may have properties that are
74 | of type self, this must run after the class is loaded
75 | """
76 | lazy_import()
77 | return (
78 | bool,
79 | date,
80 | datetime,
81 | dict,
82 | float,
83 | int,
84 | list,
85 | str,
86 | none_type,
87 | ) # noqa: E501
88 |
89 | _nullable = False
90 |
91 | @cached_property
92 | def openapi_types():
93 | """
94 | This must be a method because a model may have properties that are
95 | of type self, this must run after the class is loaded
96 |
97 | Returns
98 | openapi_types (dict): The key is attribute name
99 | and the value is attribute type.
100 | """
101 | lazy_import()
102 | return {
103 | "land": (str,), # noqa: E501
104 | "region": (str,), # noqa: E501
105 | "plz": (str,), # noqa: E501
106 | "ort": (str,), # noqa: E501
107 | "strasse": (str,), # noqa: E501
108 | "koordinaten": (JobDetailsArbeitsorteInnerKoordinaten,), # noqa: E501
109 | }
110 |
111 | @cached_property
112 | def discriminator():
113 | return None
114 |
115 | attribute_map = {
116 | "land": "land", # noqa: E501
117 | "region": "region", # noqa: E501
118 | "plz": "plz", # noqa: E501
119 | "ort": "ort", # noqa: E501
120 | "strasse": "strasse", # noqa: E501
121 | "koordinaten": "koordinaten", # noqa: E501
122 | }
123 |
124 | read_only_vars = {}
125 |
126 | _composed_schemas = {}
127 |
128 | @classmethod
129 | @convert_js_args_to_python_args
130 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
131 | """JobDetailsArbeitsorteInner - a model defined in OpenAPI
132 |
133 | Keyword Args:
134 | _check_type (bool): if True, values for parameters in openapi_types
135 | will be type checked and a TypeError will be
136 | raised if the wrong type is input.
137 | Defaults to True
138 | _path_to_item (tuple/list): This is a list of keys or values to
139 | drill down to the model in received_data
140 | when deserializing a response
141 | _spec_property_naming (bool): True if the variable names in the input data
142 | are serialized names, as specified in the OpenAPI document.
143 | False if the variable names in the input data
144 | are pythonic names, e.g. snake case (default)
145 | _configuration (Configuration): the instance to use when
146 | deserializing a file_type parameter.
147 | If passed, type conversion is attempted
148 | If omitted no type conversion is done.
149 | _visited_composed_classes (tuple): This stores a tuple of
150 | classes that we have traveled through so that
151 | if we see that class again we will not use its
152 | discriminator again.
153 | When traveling through a discriminator, the
154 | composed schema that is
155 | is traveled through is added to this set.
156 | For example if Animal has a discriminator
157 | petType and we pass in "Dog", and the class Dog
158 | allOf includes Animal, we move through Animal
159 | once using the discriminator, and pick Dog.
160 | Then in Dog, we will make an instance of the
161 | Animal class but this time we won't travel
162 | through its discriminator because we passed in
163 | _visited_composed_classes = (Animal,)
164 | land (str): [optional] # noqa: E501
165 | region (str): [optional] # noqa: E501
166 | plz (str): [optional] # noqa: E501
167 | ort (str): [optional] # noqa: E501
168 | strasse (str): [optional] # noqa: E501
169 | koordinaten (JobDetailsArbeitsorteInnerKoordinaten): [optional] # noqa: E501
170 | """
171 |
172 | _check_type = kwargs.pop("_check_type", True)
173 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
174 | _path_to_item = kwargs.pop("_path_to_item", ())
175 | _configuration = kwargs.pop("_configuration", None)
176 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
177 |
178 | self = super(OpenApiModel, cls).__new__(cls)
179 |
180 | if args:
181 | for arg in args:
182 | if isinstance(arg, dict):
183 | kwargs.update(arg)
184 | else:
185 | raise ApiTypeError(
186 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
187 | % (
188 | args,
189 | self.__class__.__name__,
190 | ),
191 | path_to_item=_path_to_item,
192 | valid_classes=(self.__class__,),
193 | )
194 |
195 | self._data_store = {}
196 | self._check_type = _check_type
197 | self._spec_property_naming = _spec_property_naming
198 | self._path_to_item = _path_to_item
199 | self._configuration = _configuration
200 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
201 |
202 | for var_name, var_value in kwargs.items():
203 | if (
204 | var_name not in self.attribute_map
205 | and self._configuration is not None
206 | and self._configuration.discard_unknown_keys
207 | and self.additional_properties_type is None
208 | ):
209 | # discard variable.
210 | continue
211 | setattr(self, var_name, var_value)
212 | return self
213 |
214 | required_properties = set(
215 | [
216 | "_data_store",
217 | "_check_type",
218 | "_spec_property_naming",
219 | "_path_to_item",
220 | "_configuration",
221 | "_visited_composed_classes",
222 | ]
223 | )
224 |
225 | @convert_js_args_to_python_args
226 | def __init__(self, *args, **kwargs): # noqa: E501
227 | """JobDetailsArbeitsorteInner - a model defined in OpenAPI
228 |
229 | Keyword Args:
230 | _check_type (bool): if True, values for parameters in openapi_types
231 | will be type checked and a TypeError will be
232 | raised if the wrong type is input.
233 | Defaults to True
234 | _path_to_item (tuple/list): This is a list of keys or values to
235 | drill down to the model in received_data
236 | when deserializing a response
237 | _spec_property_naming (bool): True if the variable names in the input data
238 | are serialized names, as specified in the OpenAPI document.
239 | False if the variable names in the input data
240 | are pythonic names, e.g. snake case (default)
241 | _configuration (Configuration): the instance to use when
242 | deserializing a file_type parameter.
243 | If passed, type conversion is attempted
244 | If omitted no type conversion is done.
245 | _visited_composed_classes (tuple): This stores a tuple of
246 | classes that we have traveled through so that
247 | if we see that class again we will not use its
248 | discriminator again.
249 | When traveling through a discriminator, the
250 | composed schema that is
251 | is traveled through is added to this set.
252 | For example if Animal has a discriminator
253 | petType and we pass in "Dog", and the class Dog
254 | allOf includes Animal, we move through Animal
255 | once using the discriminator, and pick Dog.
256 | Then in Dog, we will make an instance of the
257 | Animal class but this time we won't travel
258 | through its discriminator because we passed in
259 | _visited_composed_classes = (Animal,)
260 | land (str): [optional] # noqa: E501
261 | region (str): [optional] # noqa: E501
262 | plz (str): [optional] # noqa: E501
263 | ort (str): [optional] # noqa: E501
264 | strasse (str): [optional] # noqa: E501
265 | koordinaten (JobDetailsArbeitsorteInnerKoordinaten): [optional] # noqa: E501
266 | """
267 |
268 | _check_type = kwargs.pop("_check_type", True)
269 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
270 | _path_to_item = kwargs.pop("_path_to_item", ())
271 | _configuration = kwargs.pop("_configuration", None)
272 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
273 |
274 | if args:
275 | for arg in args:
276 | if isinstance(arg, dict):
277 | kwargs.update(arg)
278 | else:
279 | raise ApiTypeError(
280 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
281 | % (
282 | args,
283 | self.__class__.__name__,
284 | ),
285 | path_to_item=_path_to_item,
286 | valid_classes=(self.__class__,),
287 | )
288 |
289 | self._data_store = {}
290 | self._check_type = _check_type
291 | self._spec_property_naming = _spec_property_naming
292 | self._path_to_item = _path_to_item
293 | self._configuration = _configuration
294 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
295 |
296 | for var_name, var_value in kwargs.items():
297 | if (
298 | var_name not in self.attribute_map
299 | and self._configuration is not None
300 | and self._configuration.discard_unknown_keys
301 | and self.additional_properties_type is None
302 | ):
303 | # discard variable.
304 | continue
305 | setattr(self, var_name, var_value)
306 | if var_name in self.read_only_vars:
307 | raise ApiAttributeError(
308 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
309 | f"class with read only attributes."
310 | )
311 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_details_arbeitsorte_inner_koordinaten.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | class JobDetailsArbeitsorteInnerKoordinaten(ModelNormal):
33 | """NOTE: This class is auto generated by OpenAPI Generator.
34 | Ref: https://openapi-generator.tech
35 |
36 | Do not edit the class manually.
37 |
38 | Attributes:
39 | allowed_values (dict): The key is the tuple path to the attribute
40 | and the for var_name this is (var_name,). The value is a dict
41 | with a capitalized key describing the allowed value and an allowed
42 | value. These dicts store the allowed enum values.
43 | attribute_map (dict): The key is attribute name
44 | and the value is json key in definition.
45 | discriminator_value_class_map (dict): A dict to go from the discriminator
46 | variable value to the discriminator class name.
47 | validations (dict): The key is the tuple path to the attribute
48 | and the for var_name this is (var_name,). The value is a dict
49 | that stores validations for max_length, min_length, max_items,
50 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
51 | inclusive_minimum, and regex.
52 | additional_properties_type (tuple): A tuple of classes accepted
53 | as additional properties values.
54 | """
55 |
56 | allowed_values = {}
57 |
58 | validations = {}
59 |
60 | @cached_property
61 | def additional_properties_type():
62 | """
63 | This must be a method because a model may have properties that are
64 | of type self, this must run after the class is loaded
65 | """
66 | return (
67 | bool,
68 | date,
69 | datetime,
70 | dict,
71 | float,
72 | int,
73 | list,
74 | str,
75 | none_type,
76 | ) # noqa: E501
77 |
78 | _nullable = False
79 |
80 | @cached_property
81 | def openapi_types():
82 | """
83 | This must be a method because a model may have properties that are
84 | of type self, this must run after the class is loaded
85 |
86 | Returns
87 | openapi_types (dict): The key is attribute name
88 | and the value is attribute type.
89 | """
90 | return {
91 | "lat": (float,), # noqa: E501
92 | "lon": (float,), # noqa: E501
93 | }
94 |
95 | @cached_property
96 | def discriminator():
97 | return None
98 |
99 | attribute_map = {
100 | "lat": "lat", # noqa: E501
101 | "lon": "lon", # noqa: E501
102 | }
103 |
104 | read_only_vars = {}
105 |
106 | _composed_schemas = {}
107 |
108 | @classmethod
109 | @convert_js_args_to_python_args
110 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111 | """JobDetailsArbeitsorteInnerKoordinaten - a model defined in OpenAPI
112 |
113 | Keyword Args:
114 | _check_type (bool): if True, values for parameters in openapi_types
115 | will be type checked and a TypeError will be
116 | raised if the wrong type is input.
117 | Defaults to True
118 | _path_to_item (tuple/list): This is a list of keys or values to
119 | drill down to the model in received_data
120 | when deserializing a response
121 | _spec_property_naming (bool): True if the variable names in the input data
122 | are serialized names, as specified in the OpenAPI document.
123 | False if the variable names in the input data
124 | are pythonic names, e.g. snake case (default)
125 | _configuration (Configuration): the instance to use when
126 | deserializing a file_type parameter.
127 | If passed, type conversion is attempted
128 | If omitted no type conversion is done.
129 | _visited_composed_classes (tuple): This stores a tuple of
130 | classes that we have traveled through so that
131 | if we see that class again we will not use its
132 | discriminator again.
133 | When traveling through a discriminator, the
134 | composed schema that is
135 | is traveled through is added to this set.
136 | For example if Animal has a discriminator
137 | petType and we pass in "Dog", and the class Dog
138 | allOf includes Animal, we move through Animal
139 | once using the discriminator, and pick Dog.
140 | Then in Dog, we will make an instance of the
141 | Animal class but this time we won't travel
142 | through its discriminator because we passed in
143 | _visited_composed_classes = (Animal,)
144 | lat (float): [optional] # noqa: E501
145 | lon (float): [optional] # noqa: E501
146 | """
147 |
148 | _check_type = kwargs.pop("_check_type", True)
149 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
150 | _path_to_item = kwargs.pop("_path_to_item", ())
151 | _configuration = kwargs.pop("_configuration", None)
152 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
153 |
154 | self = super(OpenApiModel, cls).__new__(cls)
155 |
156 | if args:
157 | for arg in args:
158 | if isinstance(arg, dict):
159 | kwargs.update(arg)
160 | else:
161 | raise ApiTypeError(
162 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
163 | % (
164 | args,
165 | self.__class__.__name__,
166 | ),
167 | path_to_item=_path_to_item,
168 | valid_classes=(self.__class__,),
169 | )
170 |
171 | self._data_store = {}
172 | self._check_type = _check_type
173 | self._spec_property_naming = _spec_property_naming
174 | self._path_to_item = _path_to_item
175 | self._configuration = _configuration
176 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
177 |
178 | for var_name, var_value in kwargs.items():
179 | if (
180 | var_name not in self.attribute_map
181 | and self._configuration is not None
182 | and self._configuration.discard_unknown_keys
183 | and self.additional_properties_type is None
184 | ):
185 | # discard variable.
186 | continue
187 | setattr(self, var_name, var_value)
188 | return self
189 |
190 | required_properties = set(
191 | [
192 | "_data_store",
193 | "_check_type",
194 | "_spec_property_naming",
195 | "_path_to_item",
196 | "_configuration",
197 | "_visited_composed_classes",
198 | ]
199 | )
200 |
201 | @convert_js_args_to_python_args
202 | def __init__(self, *args, **kwargs): # noqa: E501
203 | """JobDetailsArbeitsorteInnerKoordinaten - a model defined in OpenAPI
204 |
205 | Keyword Args:
206 | _check_type (bool): if True, values for parameters in openapi_types
207 | will be type checked and a TypeError will be
208 | raised if the wrong type is input.
209 | Defaults to True
210 | _path_to_item (tuple/list): This is a list of keys or values to
211 | drill down to the model in received_data
212 | when deserializing a response
213 | _spec_property_naming (bool): True if the variable names in the input data
214 | are serialized names, as specified in the OpenAPI document.
215 | False if the variable names in the input data
216 | are pythonic names, e.g. snake case (default)
217 | _configuration (Configuration): the instance to use when
218 | deserializing a file_type parameter.
219 | If passed, type conversion is attempted
220 | If omitted no type conversion is done.
221 | _visited_composed_classes (tuple): This stores a tuple of
222 | classes that we have traveled through so that
223 | if we see that class again we will not use its
224 | discriminator again.
225 | When traveling through a discriminator, the
226 | composed schema that is
227 | is traveled through is added to this set.
228 | For example if Animal has a discriminator
229 | petType and we pass in "Dog", and the class Dog
230 | allOf includes Animal, we move through Animal
231 | once using the discriminator, and pick Dog.
232 | Then in Dog, we will make an instance of the
233 | Animal class but this time we won't travel
234 | through its discriminator because we passed in
235 | _visited_composed_classes = (Animal,)
236 | lat (float): [optional] # noqa: E501
237 | lon (float): [optional] # noqa: E501
238 | """
239 |
240 | _check_type = kwargs.pop("_check_type", True)
241 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
242 | _path_to_item = kwargs.pop("_path_to_item", ())
243 | _configuration = kwargs.pop("_configuration", None)
244 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
245 |
246 | if args:
247 | for arg in args:
248 | if isinstance(arg, dict):
249 | kwargs.update(arg)
250 | else:
251 | raise ApiTypeError(
252 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
253 | % (
254 | args,
255 | self.__class__.__name__,
256 | ),
257 | path_to_item=_path_to_item,
258 | valid_classes=(self.__class__,),
259 | )
260 |
261 | self._data_store = {}
262 | self._check_type = _check_type
263 | self._spec_property_naming = _spec_property_naming
264 | self._path_to_item = _path_to_item
265 | self._configuration = _configuration
266 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
267 |
268 | for var_name, var_value in kwargs.items():
269 | if (
270 | var_name not in self.attribute_map
271 | and self._configuration is not None
272 | and self._configuration.discard_unknown_keys
273 | and self.additional_properties_type is None
274 | ):
275 | # discard variable.
276 | continue
277 | setattr(self, var_name, var_value)
278 | if var_name in self.read_only_vars:
279 | raise ApiAttributeError(
280 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
281 | f"class with read only attributes."
282 | )
283 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_details_fertigkeiten_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | class JobDetailsFertigkeitenInner(ModelNormal):
33 | """NOTE: This class is auto generated by OpenAPI Generator.
34 | Ref: https://openapi-generator.tech
35 |
36 | Do not edit the class manually.
37 |
38 | Attributes:
39 | allowed_values (dict): The key is the tuple path to the attribute
40 | and the for var_name this is (var_name,). The value is a dict
41 | with a capitalized key describing the allowed value and an allowed
42 | value. These dicts store the allowed enum values.
43 | attribute_map (dict): The key is attribute name
44 | and the value is json key in definition.
45 | discriminator_value_class_map (dict): A dict to go from the discriminator
46 | variable value to the discriminator class name.
47 | validations (dict): The key is the tuple path to the attribute
48 | and the for var_name this is (var_name,). The value is a dict
49 | that stores validations for max_length, min_length, max_items,
50 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
51 | inclusive_minimum, and regex.
52 | additional_properties_type (tuple): A tuple of classes accepted
53 | as additional properties values.
54 | """
55 |
56 | allowed_values = {}
57 |
58 | validations = {}
59 |
60 | @cached_property
61 | def additional_properties_type():
62 | """
63 | This must be a method because a model may have properties that are
64 | of type self, this must run after the class is loaded
65 | """
66 | return (
67 | bool,
68 | date,
69 | datetime,
70 | dict,
71 | float,
72 | int,
73 | list,
74 | str,
75 | none_type,
76 | ) # noqa: E501
77 |
78 | _nullable = False
79 |
80 | @cached_property
81 | def openapi_types():
82 | """
83 | This must be a method because a model may have properties that are
84 | of type self, this must run after the class is loaded
85 |
86 | Returns
87 | openapi_types (dict): The key is attribute name
88 | and the value is attribute type.
89 | """
90 | return {
91 | "hierarchie_name": (str,), # noqa: E501
92 | "auspraegungen": (
93 | {str: (bool, date, datetime, dict, float, int, list, str, none_type)},
94 | ), # noqa: E501
95 | }
96 |
97 | @cached_property
98 | def discriminator():
99 | return None
100 |
101 | attribute_map = {
102 | "hierarchie_name": "hierarchieName", # noqa: E501
103 | "auspraegungen": "auspraegungen", # noqa: E501
104 | }
105 |
106 | read_only_vars = {}
107 |
108 | _composed_schemas = {}
109 |
110 | @classmethod
111 | @convert_js_args_to_python_args
112 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
113 | """JobDetailsFertigkeitenInner - a model defined in OpenAPI
114 |
115 | Keyword Args:
116 | _check_type (bool): if True, values for parameters in openapi_types
117 | will be type checked and a TypeError will be
118 | raised if the wrong type is input.
119 | Defaults to True
120 | _path_to_item (tuple/list): This is a list of keys or values to
121 | drill down to the model in received_data
122 | when deserializing a response
123 | _spec_property_naming (bool): True if the variable names in the input data
124 | are serialized names, as specified in the OpenAPI document.
125 | False if the variable names in the input data
126 | are pythonic names, e.g. snake case (default)
127 | _configuration (Configuration): the instance to use when
128 | deserializing a file_type parameter.
129 | If passed, type conversion is attempted
130 | If omitted no type conversion is done.
131 | _visited_composed_classes (tuple): This stores a tuple of
132 | classes that we have traveled through so that
133 | if we see that class again we will not use its
134 | discriminator again.
135 | When traveling through a discriminator, the
136 | composed schema that is
137 | is traveled through is added to this set.
138 | For example if Animal has a discriminator
139 | petType and we pass in "Dog", and the class Dog
140 | allOf includes Animal, we move through Animal
141 | once using the discriminator, and pick Dog.
142 | Then in Dog, we will make an instance of the
143 | Animal class but this time we won't travel
144 | through its discriminator because we passed in
145 | _visited_composed_classes = (Animal,)
146 | hierarchie_name (str): [optional] # noqa: E501
147 | auspraegungen ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501
148 | """
149 |
150 | _check_type = kwargs.pop("_check_type", True)
151 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
152 | _path_to_item = kwargs.pop("_path_to_item", ())
153 | _configuration = kwargs.pop("_configuration", None)
154 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
155 |
156 | self = super(OpenApiModel, cls).__new__(cls)
157 |
158 | if args:
159 | for arg in args:
160 | if isinstance(arg, dict):
161 | kwargs.update(arg)
162 | else:
163 | raise ApiTypeError(
164 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
165 | % (
166 | args,
167 | self.__class__.__name__,
168 | ),
169 | path_to_item=_path_to_item,
170 | valid_classes=(self.__class__,),
171 | )
172 |
173 | self._data_store = {}
174 | self._check_type = _check_type
175 | self._spec_property_naming = _spec_property_naming
176 | self._path_to_item = _path_to_item
177 | self._configuration = _configuration
178 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
179 |
180 | for var_name, var_value in kwargs.items():
181 | if (
182 | var_name not in self.attribute_map
183 | and self._configuration is not None
184 | and self._configuration.discard_unknown_keys
185 | and self.additional_properties_type is None
186 | ):
187 | # discard variable.
188 | continue
189 | setattr(self, var_name, var_value)
190 | return self
191 |
192 | required_properties = set(
193 | [
194 | "_data_store",
195 | "_check_type",
196 | "_spec_property_naming",
197 | "_path_to_item",
198 | "_configuration",
199 | "_visited_composed_classes",
200 | ]
201 | )
202 |
203 | @convert_js_args_to_python_args
204 | def __init__(self, *args, **kwargs): # noqa: E501
205 | """JobDetailsFertigkeitenInner - a model defined in OpenAPI
206 |
207 | Keyword Args:
208 | _check_type (bool): if True, values for parameters in openapi_types
209 | will be type checked and a TypeError will be
210 | raised if the wrong type is input.
211 | Defaults to True
212 | _path_to_item (tuple/list): This is a list of keys or values to
213 | drill down to the model in received_data
214 | when deserializing a response
215 | _spec_property_naming (bool): True if the variable names in the input data
216 | are serialized names, as specified in the OpenAPI document.
217 | False if the variable names in the input data
218 | are pythonic names, e.g. snake case (default)
219 | _configuration (Configuration): the instance to use when
220 | deserializing a file_type parameter.
221 | If passed, type conversion is attempted
222 | If omitted no type conversion is done.
223 | _visited_composed_classes (tuple): This stores a tuple of
224 | classes that we have traveled through so that
225 | if we see that class again we will not use its
226 | discriminator again.
227 | When traveling through a discriminator, the
228 | composed schema that is
229 | is traveled through is added to this set.
230 | For example if Animal has a discriminator
231 | petType and we pass in "Dog", and the class Dog
232 | allOf includes Animal, we move through Animal
233 | once using the discriminator, and pick Dog.
234 | Then in Dog, we will make an instance of the
235 | Animal class but this time we won't travel
236 | through its discriminator because we passed in
237 | _visited_composed_classes = (Animal,)
238 | hierarchie_name (str): [optional] # noqa: E501
239 | auspraegungen ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501
240 | """
241 |
242 | _check_type = kwargs.pop("_check_type", True)
243 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
244 | _path_to_item = kwargs.pop("_path_to_item", ())
245 | _configuration = kwargs.pop("_configuration", None)
246 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
247 |
248 | if args:
249 | for arg in args:
250 | if isinstance(arg, dict):
251 | kwargs.update(arg)
252 | else:
253 | raise ApiTypeError(
254 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
255 | % (
256 | args,
257 | self.__class__.__name__,
258 | ),
259 | path_to_item=_path_to_item,
260 | valid_classes=(self.__class__,),
261 | )
262 |
263 | self._data_store = {}
264 | self._check_type = _check_type
265 | self._spec_property_naming = _spec_property_naming
266 | self._path_to_item = _path_to_item
267 | self._configuration = _configuration
268 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
269 |
270 | for var_name, var_value in kwargs.items():
271 | if (
272 | var_name not in self.attribute_map
273 | and self._configuration is not None
274 | and self._configuration.discard_unknown_keys
275 | and self.additional_properties_type is None
276 | ):
277 | # discard variable.
278 | continue
279 | setattr(self, var_name, var_value)
280 | if var_name in self.read_only_vars:
281 | raise ApiAttributeError(
282 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
283 | f"class with read only attributes."
284 | )
285 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_details_fuehrungskompetenzen.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | class JobDetailsFuehrungskompetenzen(ModelNormal):
33 | """NOTE: This class is auto generated by OpenAPI Generator.
34 | Ref: https://openapi-generator.tech
35 |
36 | Do not edit the class manually.
37 |
38 | Attributes:
39 | allowed_values (dict): The key is the tuple path to the attribute
40 | and the for var_name this is (var_name,). The value is a dict
41 | with a capitalized key describing the allowed value and an allowed
42 | value. These dicts store the allowed enum values.
43 | attribute_map (dict): The key is attribute name
44 | and the value is json key in definition.
45 | discriminator_value_class_map (dict): A dict to go from the discriminator
46 | variable value to the discriminator class name.
47 | validations (dict): The key is the tuple path to the attribute
48 | and the for var_name this is (var_name,). The value is a dict
49 | that stores validations for max_length, min_length, max_items,
50 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
51 | inclusive_minimum, and regex.
52 | additional_properties_type (tuple): A tuple of classes accepted
53 | as additional properties values.
54 | """
55 |
56 | allowed_values = {}
57 |
58 | validations = {}
59 |
60 | @cached_property
61 | def additional_properties_type():
62 | """
63 | This must be a method because a model may have properties that are
64 | of type self, this must run after the class is loaded
65 | """
66 | return (
67 | bool,
68 | date,
69 | datetime,
70 | dict,
71 | float,
72 | int,
73 | list,
74 | str,
75 | none_type,
76 | ) # noqa: E501
77 |
78 | _nullable = False
79 |
80 | @cached_property
81 | def openapi_types():
82 | """
83 | This must be a method because a model may have properties that are
84 | of type self, this must run after the class is loaded
85 |
86 | Returns
87 | openapi_types (dict): The key is attribute name
88 | and the value is attribute type.
89 | """
90 | return {
91 | "hat_vollmacht": (bool,), # noqa: E501
92 | "hat_budgetverantwortung": (bool,), # noqa: E501
93 | }
94 |
95 | @cached_property
96 | def discriminator():
97 | return None
98 |
99 | attribute_map = {
100 | "hat_vollmacht": "hatVollmacht", # noqa: E501
101 | "hat_budgetverantwortung": "hatBudgetverantwortung", # noqa: E501
102 | }
103 |
104 | read_only_vars = {}
105 |
106 | _composed_schemas = {}
107 |
108 | @classmethod
109 | @convert_js_args_to_python_args
110 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111 | """JobDetailsFuehrungskompetenzen - a model defined in OpenAPI
112 |
113 | Keyword Args:
114 | _check_type (bool): if True, values for parameters in openapi_types
115 | will be type checked and a TypeError will be
116 | raised if the wrong type is input.
117 | Defaults to True
118 | _path_to_item (tuple/list): This is a list of keys or values to
119 | drill down to the model in received_data
120 | when deserializing a response
121 | _spec_property_naming (bool): True if the variable names in the input data
122 | are serialized names, as specified in the OpenAPI document.
123 | False if the variable names in the input data
124 | are pythonic names, e.g. snake case (default)
125 | _configuration (Configuration): the instance to use when
126 | deserializing a file_type parameter.
127 | If passed, type conversion is attempted
128 | If omitted no type conversion is done.
129 | _visited_composed_classes (tuple): This stores a tuple of
130 | classes that we have traveled through so that
131 | if we see that class again we will not use its
132 | discriminator again.
133 | When traveling through a discriminator, the
134 | composed schema that is
135 | is traveled through is added to this set.
136 | For example if Animal has a discriminator
137 | petType and we pass in "Dog", and the class Dog
138 | allOf includes Animal, we move through Animal
139 | once using the discriminator, and pick Dog.
140 | Then in Dog, we will make an instance of the
141 | Animal class but this time we won't travel
142 | through its discriminator because we passed in
143 | _visited_composed_classes = (Animal,)
144 | hat_vollmacht (bool): [optional] # noqa: E501
145 | hat_budgetverantwortung (bool): [optional] # noqa: E501
146 | """
147 |
148 | _check_type = kwargs.pop("_check_type", True)
149 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
150 | _path_to_item = kwargs.pop("_path_to_item", ())
151 | _configuration = kwargs.pop("_configuration", None)
152 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
153 |
154 | self = super(OpenApiModel, cls).__new__(cls)
155 |
156 | if args:
157 | for arg in args:
158 | if isinstance(arg, dict):
159 | kwargs.update(arg)
160 | else:
161 | raise ApiTypeError(
162 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
163 | % (
164 | args,
165 | self.__class__.__name__,
166 | ),
167 | path_to_item=_path_to_item,
168 | valid_classes=(self.__class__,),
169 | )
170 |
171 | self._data_store = {}
172 | self._check_type = _check_type
173 | self._spec_property_naming = _spec_property_naming
174 | self._path_to_item = _path_to_item
175 | self._configuration = _configuration
176 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
177 |
178 | for var_name, var_value in kwargs.items():
179 | if (
180 | var_name not in self.attribute_map
181 | and self._configuration is not None
182 | and self._configuration.discard_unknown_keys
183 | and self.additional_properties_type is None
184 | ):
185 | # discard variable.
186 | continue
187 | setattr(self, var_name, var_value)
188 | return self
189 |
190 | required_properties = set(
191 | [
192 | "_data_store",
193 | "_check_type",
194 | "_spec_property_naming",
195 | "_path_to_item",
196 | "_configuration",
197 | "_visited_composed_classes",
198 | ]
199 | )
200 |
201 | @convert_js_args_to_python_args
202 | def __init__(self, *args, **kwargs): # noqa: E501
203 | """JobDetailsFuehrungskompetenzen - a model defined in OpenAPI
204 |
205 | Keyword Args:
206 | _check_type (bool): if True, values for parameters in openapi_types
207 | will be type checked and a TypeError will be
208 | raised if the wrong type is input.
209 | Defaults to True
210 | _path_to_item (tuple/list): This is a list of keys or values to
211 | drill down to the model in received_data
212 | when deserializing a response
213 | _spec_property_naming (bool): True if the variable names in the input data
214 | are serialized names, as specified in the OpenAPI document.
215 | False if the variable names in the input data
216 | are pythonic names, e.g. snake case (default)
217 | _configuration (Configuration): the instance to use when
218 | deserializing a file_type parameter.
219 | If passed, type conversion is attempted
220 | If omitted no type conversion is done.
221 | _visited_composed_classes (tuple): This stores a tuple of
222 | classes that we have traveled through so that
223 | if we see that class again we will not use its
224 | discriminator again.
225 | When traveling through a discriminator, the
226 | composed schema that is
227 | is traveled through is added to this set.
228 | For example if Animal has a discriminator
229 | petType and we pass in "Dog", and the class Dog
230 | allOf includes Animal, we move through Animal
231 | once using the discriminator, and pick Dog.
232 | Then in Dog, we will make an instance of the
233 | Animal class but this time we won't travel
234 | through its discriminator because we passed in
235 | _visited_composed_classes = (Animal,)
236 | hat_vollmacht (bool): [optional] # noqa: E501
237 | hat_budgetverantwortung (bool): [optional] # noqa: E501
238 | """
239 |
240 | _check_type = kwargs.pop("_check_type", True)
241 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
242 | _path_to_item = kwargs.pop("_path_to_item", ())
243 | _configuration = kwargs.pop("_configuration", None)
244 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
245 |
246 | if args:
247 | for arg in args:
248 | if isinstance(arg, dict):
249 | kwargs.update(arg)
250 | else:
251 | raise ApiTypeError(
252 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
253 | % (
254 | args,
255 | self.__class__.__name__,
256 | ),
257 | path_to_item=_path_to_item,
258 | valid_classes=(self.__class__,),
259 | )
260 |
261 | self._data_store = {}
262 | self._check_type = _check_type
263 | self._spec_property_naming = _spec_property_naming
264 | self._path_to_item = _path_to_item
265 | self._configuration = _configuration
266 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
267 |
268 | for var_name, var_value in kwargs.items():
269 | if (
270 | var_name not in self.attribute_map
271 | and self._configuration is not None
272 | and self._configuration.discard_unknown_keys
273 | and self.additional_properties_type is None
274 | ):
275 | # discard variable.
276 | continue
277 | setattr(self, var_name, var_value)
278 | if var_name in self.read_only_vars:
279 | raise ApiAttributeError(
280 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
281 | f"class with read only attributes."
282 | )
283 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_details_mobilitaet.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | class JobDetailsMobilitaet(ModelNormal):
33 | """NOTE: This class is auto generated by OpenAPI Generator.
34 | Ref: https://openapi-generator.tech
35 |
36 | Do not edit the class manually.
37 |
38 | Attributes:
39 | allowed_values (dict): The key is the tuple path to the attribute
40 | and the for var_name this is (var_name,). The value is a dict
41 | with a capitalized key describing the allowed value and an allowed
42 | value. These dicts store the allowed enum values.
43 | attribute_map (dict): The key is attribute name
44 | and the value is json key in definition.
45 | discriminator_value_class_map (dict): A dict to go from the discriminator
46 | variable value to the discriminator class name.
47 | validations (dict): The key is the tuple path to the attribute
48 | and the for var_name this is (var_name,). The value is a dict
49 | that stores validations for max_length, min_length, max_items,
50 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
51 | inclusive_minimum, and regex.
52 | additional_properties_type (tuple): A tuple of classes accepted
53 | as additional properties values.
54 | """
55 |
56 | allowed_values = {}
57 |
58 | validations = {}
59 |
60 | @cached_property
61 | def additional_properties_type():
62 | """
63 | This must be a method because a model may have properties that are
64 | of type self, this must run after the class is loaded
65 | """
66 | return (
67 | bool,
68 | date,
69 | datetime,
70 | dict,
71 | float,
72 | int,
73 | list,
74 | str,
75 | none_type,
76 | ) # noqa: E501
77 |
78 | _nullable = False
79 |
80 | @cached_property
81 | def openapi_types():
82 | """
83 | This must be a method because a model may have properties that are
84 | of type self, this must run after the class is loaded
85 |
86 | Returns
87 | openapi_types (dict): The key is attribute name
88 | and the value is attribute type.
89 | """
90 | return {
91 | "reisebereitschaft": (str,), # noqa: E501
92 | }
93 |
94 | @cached_property
95 | def discriminator():
96 | return None
97 |
98 | attribute_map = {
99 | "reisebereitschaft": "reisebereitschaft", # noqa: E501
100 | }
101 |
102 | read_only_vars = {}
103 |
104 | _composed_schemas = {}
105 |
106 | @classmethod
107 | @convert_js_args_to_python_args
108 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
109 | """JobDetailsMobilitaet - a model defined in OpenAPI
110 |
111 | Keyword Args:
112 | _check_type (bool): if True, values for parameters in openapi_types
113 | will be type checked and a TypeError will be
114 | raised if the wrong type is input.
115 | Defaults to True
116 | _path_to_item (tuple/list): This is a list of keys or values to
117 | drill down to the model in received_data
118 | when deserializing a response
119 | _spec_property_naming (bool): True if the variable names in the input data
120 | are serialized names, as specified in the OpenAPI document.
121 | False if the variable names in the input data
122 | are pythonic names, e.g. snake case (default)
123 | _configuration (Configuration): the instance to use when
124 | deserializing a file_type parameter.
125 | If passed, type conversion is attempted
126 | If omitted no type conversion is done.
127 | _visited_composed_classes (tuple): This stores a tuple of
128 | classes that we have traveled through so that
129 | if we see that class again we will not use its
130 | discriminator again.
131 | When traveling through a discriminator, the
132 | composed schema that is
133 | is traveled through is added to this set.
134 | For example if Animal has a discriminator
135 | petType and we pass in "Dog", and the class Dog
136 | allOf includes Animal, we move through Animal
137 | once using the discriminator, and pick Dog.
138 | Then in Dog, we will make an instance of the
139 | Animal class but this time we won't travel
140 | through its discriminator because we passed in
141 | _visited_composed_classes = (Animal,)
142 | reisebereitschaft (str): [optional] # noqa: E501
143 | """
144 |
145 | _check_type = kwargs.pop("_check_type", True)
146 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
147 | _path_to_item = kwargs.pop("_path_to_item", ())
148 | _configuration = kwargs.pop("_configuration", None)
149 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
150 |
151 | self = super(OpenApiModel, cls).__new__(cls)
152 |
153 | if args:
154 | for arg in args:
155 | if isinstance(arg, dict):
156 | kwargs.update(arg)
157 | else:
158 | raise ApiTypeError(
159 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
160 | % (
161 | args,
162 | self.__class__.__name__,
163 | ),
164 | path_to_item=_path_to_item,
165 | valid_classes=(self.__class__,),
166 | )
167 |
168 | self._data_store = {}
169 | self._check_type = _check_type
170 | self._spec_property_naming = _spec_property_naming
171 | self._path_to_item = _path_to_item
172 | self._configuration = _configuration
173 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
174 |
175 | for var_name, var_value in kwargs.items():
176 | if (
177 | var_name not in self.attribute_map
178 | and self._configuration is not None
179 | and self._configuration.discard_unknown_keys
180 | and self.additional_properties_type is None
181 | ):
182 | # discard variable.
183 | continue
184 | setattr(self, var_name, var_value)
185 | return self
186 |
187 | required_properties = set(
188 | [
189 | "_data_store",
190 | "_check_type",
191 | "_spec_property_naming",
192 | "_path_to_item",
193 | "_configuration",
194 | "_visited_composed_classes",
195 | ]
196 | )
197 |
198 | @convert_js_args_to_python_args
199 | def __init__(self, *args, **kwargs): # noqa: E501
200 | """JobDetailsMobilitaet - a model defined in OpenAPI
201 |
202 | Keyword Args:
203 | _check_type (bool): if True, values for parameters in openapi_types
204 | will be type checked and a TypeError will be
205 | raised if the wrong type is input.
206 | Defaults to True
207 | _path_to_item (tuple/list): This is a list of keys or values to
208 | drill down to the model in received_data
209 | when deserializing a response
210 | _spec_property_naming (bool): True if the variable names in the input data
211 | are serialized names, as specified in the OpenAPI document.
212 | False if the variable names in the input data
213 | are pythonic names, e.g. snake case (default)
214 | _configuration (Configuration): the instance to use when
215 | deserializing a file_type parameter.
216 | If passed, type conversion is attempted
217 | If omitted no type conversion is done.
218 | _visited_composed_classes (tuple): This stores a tuple of
219 | classes that we have traveled through so that
220 | if we see that class again we will not use its
221 | discriminator again.
222 | When traveling through a discriminator, the
223 | composed schema that is
224 | is traveled through is added to this set.
225 | For example if Animal has a discriminator
226 | petType and we pass in "Dog", and the class Dog
227 | allOf includes Animal, we move through Animal
228 | once using the discriminator, and pick Dog.
229 | Then in Dog, we will make an instance of the
230 | Animal class but this time we won't travel
231 | through its discriminator because we passed in
232 | _visited_composed_classes = (Animal,)
233 | reisebereitschaft (str): [optional] # noqa: E501
234 | """
235 |
236 | _check_type = kwargs.pop("_check_type", True)
237 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
238 | _path_to_item = kwargs.pop("_path_to_item", ())
239 | _configuration = kwargs.pop("_configuration", None)
240 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
241 |
242 | if args:
243 | for arg in args:
244 | if isinstance(arg, dict):
245 | kwargs.update(arg)
246 | else:
247 | raise ApiTypeError(
248 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
249 | % (
250 | args,
251 | self.__class__.__name__,
252 | ),
253 | path_to_item=_path_to_item,
254 | valid_classes=(self.__class__,),
255 | )
256 |
257 | self._data_store = {}
258 | self._check_type = _check_type
259 | self._spec_property_naming = _spec_property_naming
260 | self._path_to_item = _path_to_item
261 | self._configuration = _configuration
262 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
263 |
264 | for var_name, var_value in kwargs.items():
265 | if (
266 | var_name not in self.attribute_map
267 | and self._configuration is not None
268 | and self._configuration.discard_unknown_keys
269 | and self.additional_properties_type is None
270 | ):
271 | # discard variable.
272 | continue
273 | setattr(self, var_name, var_value)
274 | if var_name in self.read_only_vars:
275 | raise ApiAttributeError(
276 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
277 | f"class with read only attributes."
278 | )
279 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_search_response.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | def lazy_import():
33 | from deutschland.jobsuche.model.job_search_response_facetten_inner import (
34 | JobSearchResponseFacettenInner,
35 | )
36 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner import (
37 | JobSearchResponseStellenangeboteInner,
38 | )
39 |
40 | globals()["JobSearchResponseFacettenInner"] = JobSearchResponseFacettenInner
41 | globals()[
42 | "JobSearchResponseStellenangeboteInner"
43 | ] = JobSearchResponseStellenangeboteInner
44 |
45 |
46 | class JobSearchResponse(ModelNormal):
47 | """NOTE: This class is auto generated by OpenAPI Generator.
48 | Ref: https://openapi-generator.tech
49 |
50 | Do not edit the class manually.
51 |
52 | Attributes:
53 | allowed_values (dict): The key is the tuple path to the attribute
54 | and the for var_name this is (var_name,). The value is a dict
55 | with a capitalized key describing the allowed value and an allowed
56 | value. These dicts store the allowed enum values.
57 | attribute_map (dict): The key is attribute name
58 | and the value is json key in definition.
59 | discriminator_value_class_map (dict): A dict to go from the discriminator
60 | variable value to the discriminator class name.
61 | validations (dict): The key is the tuple path to the attribute
62 | and the for var_name this is (var_name,). The value is a dict
63 | that stores validations for max_length, min_length, max_items,
64 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
65 | inclusive_minimum, and regex.
66 | additional_properties_type (tuple): A tuple of classes accepted
67 | as additional properties values.
68 | """
69 |
70 | allowed_values = {}
71 |
72 | validations = {}
73 |
74 | @cached_property
75 | def additional_properties_type():
76 | """
77 | This must be a method because a model may have properties that are
78 | of type self, this must run after the class is loaded
79 | """
80 | lazy_import()
81 | return (
82 | bool,
83 | date,
84 | datetime,
85 | dict,
86 | float,
87 | int,
88 | list,
89 | str,
90 | none_type,
91 | ) # noqa: E501
92 |
93 | _nullable = False
94 |
95 | @cached_property
96 | def openapi_types():
97 | """
98 | This must be a method because a model may have properties that are
99 | of type self, this must run after the class is loaded
100 |
101 | Returns
102 | openapi_types (dict): The key is attribute name
103 | and the value is attribute type.
104 | """
105 | lazy_import()
106 | return {
107 | "stellenangebote": ([JobSearchResponseStellenangeboteInner],), # noqa: E501
108 | "max_ergebnisse": (str,), # noqa: E501
109 | "page": (str,), # noqa: E501
110 | "size": (str,), # noqa: E501
111 | "facetten": ([JobSearchResponseFacettenInner],), # noqa: E501
112 | }
113 |
114 | @cached_property
115 | def discriminator():
116 | return None
117 |
118 | attribute_map = {
119 | "stellenangebote": "stellenangebote", # noqa: E501
120 | "max_ergebnisse": "maxErgebnisse", # noqa: E501
121 | "page": "page", # noqa: E501
122 | "size": "size", # noqa: E501
123 | "facetten": "facetten", # noqa: E501
124 | }
125 |
126 | read_only_vars = {}
127 |
128 | _composed_schemas = {}
129 |
130 | @classmethod
131 | @convert_js_args_to_python_args
132 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
133 | """JobSearchResponse - a model defined in OpenAPI
134 |
135 | Keyword Args:
136 | _check_type (bool): if True, values for parameters in openapi_types
137 | will be type checked and a TypeError will be
138 | raised if the wrong type is input.
139 | Defaults to True
140 | _path_to_item (tuple/list): This is a list of keys or values to
141 | drill down to the model in received_data
142 | when deserializing a response
143 | _spec_property_naming (bool): True if the variable names in the input data
144 | are serialized names, as specified in the OpenAPI document.
145 | False if the variable names in the input data
146 | are pythonic names, e.g. snake case (default)
147 | _configuration (Configuration): the instance to use when
148 | deserializing a file_type parameter.
149 | If passed, type conversion is attempted
150 | If omitted no type conversion is done.
151 | _visited_composed_classes (tuple): This stores a tuple of
152 | classes that we have traveled through so that
153 | if we see that class again we will not use its
154 | discriminator again.
155 | When traveling through a discriminator, the
156 | composed schema that is
157 | is traveled through is added to this set.
158 | For example if Animal has a discriminator
159 | petType and we pass in "Dog", and the class Dog
160 | allOf includes Animal, we move through Animal
161 | once using the discriminator, and pick Dog.
162 | Then in Dog, we will make an instance of the
163 | Animal class but this time we won't travel
164 | through its discriminator because we passed in
165 | _visited_composed_classes = (Animal,)
166 | stellenangebote ([JobSearchResponseStellenangeboteInner]): [optional] # noqa: E501
167 | max_ergebnisse (str): [optional] # noqa: E501
168 | page (str): [optional] # noqa: E501
169 | size (str): [optional] # noqa: E501
170 | facetten ([JobSearchResponseFacettenInner]): [optional] # noqa: E501
171 | """
172 |
173 | _check_type = kwargs.pop("_check_type", True)
174 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
175 | _path_to_item = kwargs.pop("_path_to_item", ())
176 | _configuration = kwargs.pop("_configuration", None)
177 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
178 |
179 | self = super(OpenApiModel, cls).__new__(cls)
180 |
181 | if args:
182 | for arg in args:
183 | if isinstance(arg, dict):
184 | kwargs.update(arg)
185 | else:
186 | raise ApiTypeError(
187 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
188 | % (
189 | args,
190 | self.__class__.__name__,
191 | ),
192 | path_to_item=_path_to_item,
193 | valid_classes=(self.__class__,),
194 | )
195 |
196 | self._data_store = {}
197 | self._check_type = _check_type
198 | self._spec_property_naming = _spec_property_naming
199 | self._path_to_item = _path_to_item
200 | self._configuration = _configuration
201 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
202 |
203 | for var_name, var_value in kwargs.items():
204 | if (
205 | var_name not in self.attribute_map
206 | and self._configuration is not None
207 | and self._configuration.discard_unknown_keys
208 | and self.additional_properties_type is None
209 | ):
210 | # discard variable.
211 | continue
212 | setattr(self, var_name, var_value)
213 | return self
214 |
215 | required_properties = set(
216 | [
217 | "_data_store",
218 | "_check_type",
219 | "_spec_property_naming",
220 | "_path_to_item",
221 | "_configuration",
222 | "_visited_composed_classes",
223 | ]
224 | )
225 |
226 | @convert_js_args_to_python_args
227 | def __init__(self, *args, **kwargs): # noqa: E501
228 | """JobSearchResponse - a model defined in OpenAPI
229 |
230 | Keyword Args:
231 | _check_type (bool): if True, values for parameters in openapi_types
232 | will be type checked and a TypeError will be
233 | raised if the wrong type is input.
234 | Defaults to True
235 | _path_to_item (tuple/list): This is a list of keys or values to
236 | drill down to the model in received_data
237 | when deserializing a response
238 | _spec_property_naming (bool): True if the variable names in the input data
239 | are serialized names, as specified in the OpenAPI document.
240 | False if the variable names in the input data
241 | are pythonic names, e.g. snake case (default)
242 | _configuration (Configuration): the instance to use when
243 | deserializing a file_type parameter.
244 | If passed, type conversion is attempted
245 | If omitted no type conversion is done.
246 | _visited_composed_classes (tuple): This stores a tuple of
247 | classes that we have traveled through so that
248 | if we see that class again we will not use its
249 | discriminator again.
250 | When traveling through a discriminator, the
251 | composed schema that is
252 | is traveled through is added to this set.
253 | For example if Animal has a discriminator
254 | petType and we pass in "Dog", and the class Dog
255 | allOf includes Animal, we move through Animal
256 | once using the discriminator, and pick Dog.
257 | Then in Dog, we will make an instance of the
258 | Animal class but this time we won't travel
259 | through its discriminator because we passed in
260 | _visited_composed_classes = (Animal,)
261 | stellenangebote ([JobSearchResponseStellenangeboteInner]): [optional] # noqa: E501
262 | max_ergebnisse (str): [optional] # noqa: E501
263 | page (str): [optional] # noqa: E501
264 | size (str): [optional] # noqa: E501
265 | facetten ([JobSearchResponseFacettenInner]): [optional] # noqa: E501
266 | """
267 |
268 | _check_type = kwargs.pop("_check_type", True)
269 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
270 | _path_to_item = kwargs.pop("_path_to_item", ())
271 | _configuration = kwargs.pop("_configuration", None)
272 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
273 |
274 | if args:
275 | for arg in args:
276 | if isinstance(arg, dict):
277 | kwargs.update(arg)
278 | else:
279 | raise ApiTypeError(
280 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
281 | % (
282 | args,
283 | self.__class__.__name__,
284 | ),
285 | path_to_item=_path_to_item,
286 | valid_classes=(self.__class__,),
287 | )
288 |
289 | self._data_store = {}
290 | self._check_type = _check_type
291 | self._spec_property_naming = _spec_property_naming
292 | self._path_to_item = _path_to_item
293 | self._configuration = _configuration
294 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
295 |
296 | for var_name, var_value in kwargs.items():
297 | if (
298 | var_name not in self.attribute_map
299 | and self._configuration is not None
300 | and self._configuration.discard_unknown_keys
301 | and self.additional_properties_type is None
302 | ):
303 | # discard variable.
304 | continue
305 | setattr(self, var_name, var_value)
306 | if var_name in self.read_only_vars:
307 | raise ApiAttributeError(
308 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
309 | f"class with read only attributes."
310 | )
311 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_search_response_facetten_inner_befristung.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | class JobSearchResponseFacettenInnerBefristung(ModelNormal):
33 | """NOTE: This class is auto generated by OpenAPI Generator.
34 | Ref: https://openapi-generator.tech
35 |
36 | Do not edit the class manually.
37 |
38 | Attributes:
39 | allowed_values (dict): The key is the tuple path to the attribute
40 | and the for var_name this is (var_name,). The value is a dict
41 | with a capitalized key describing the allowed value and an allowed
42 | value. These dicts store the allowed enum values.
43 | attribute_map (dict): The key is attribute name
44 | and the value is json key in definition.
45 | discriminator_value_class_map (dict): A dict to go from the discriminator
46 | variable value to the discriminator class name.
47 | validations (dict): The key is the tuple path to the attribute
48 | and the for var_name this is (var_name,). The value is a dict
49 | that stores validations for max_length, min_length, max_items,
50 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
51 | inclusive_minimum, and regex.
52 | additional_properties_type (tuple): A tuple of classes accepted
53 | as additional properties values.
54 | """
55 |
56 | allowed_values = {}
57 |
58 | validations = {}
59 |
60 | @cached_property
61 | def additional_properties_type():
62 | """
63 | This must be a method because a model may have properties that are
64 | of type self, this must run after the class is loaded
65 | """
66 | return (
67 | bool,
68 | date,
69 | datetime,
70 | dict,
71 | float,
72 | int,
73 | list,
74 | str,
75 | none_type,
76 | ) # noqa: E501
77 |
78 | _nullable = False
79 |
80 | @cached_property
81 | def openapi_types():
82 | """
83 | This must be a method because a model may have properties that are
84 | of type self, this must run after the class is loaded
85 |
86 | Returns
87 | openapi_types (dict): The key is attribute name
88 | and the value is attribute type.
89 | """
90 | return {
91 | "counts": (
92 | {str: (bool, date, datetime, dict, float, int, list, str, none_type)},
93 | ), # noqa: E501
94 | "max_count": (int,), # noqa: E501
95 | }
96 |
97 | @cached_property
98 | def discriminator():
99 | return None
100 |
101 | attribute_map = {
102 | "counts": "counts", # noqa: E501
103 | "max_count": "maxCount", # noqa: E501
104 | }
105 |
106 | read_only_vars = {}
107 |
108 | _composed_schemas = {}
109 |
110 | @classmethod
111 | @convert_js_args_to_python_args
112 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
113 | """JobSearchResponseFacettenInnerBefristung - a model defined in OpenAPI
114 |
115 | Keyword Args:
116 | _check_type (bool): if True, values for parameters in openapi_types
117 | will be type checked and a TypeError will be
118 | raised if the wrong type is input.
119 | Defaults to True
120 | _path_to_item (tuple/list): This is a list of keys or values to
121 | drill down to the model in received_data
122 | when deserializing a response
123 | _spec_property_naming (bool): True if the variable names in the input data
124 | are serialized names, as specified in the OpenAPI document.
125 | False if the variable names in the input data
126 | are pythonic names, e.g. snake case (default)
127 | _configuration (Configuration): the instance to use when
128 | deserializing a file_type parameter.
129 | If passed, type conversion is attempted
130 | If omitted no type conversion is done.
131 | _visited_composed_classes (tuple): This stores a tuple of
132 | classes that we have traveled through so that
133 | if we see that class again we will not use its
134 | discriminator again.
135 | When traveling through a discriminator, the
136 | composed schema that is
137 | is traveled through is added to this set.
138 | For example if Animal has a discriminator
139 | petType and we pass in "Dog", and the class Dog
140 | allOf includes Animal, we move through Animal
141 | once using the discriminator, and pick Dog.
142 | Then in Dog, we will make an instance of the
143 | Animal class but this time we won't travel
144 | through its discriminator because we passed in
145 | _visited_composed_classes = (Animal,)
146 | counts ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501
147 | max_count (int): [optional] # noqa: E501
148 | """
149 |
150 | _check_type = kwargs.pop("_check_type", True)
151 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
152 | _path_to_item = kwargs.pop("_path_to_item", ())
153 | _configuration = kwargs.pop("_configuration", None)
154 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
155 |
156 | self = super(OpenApiModel, cls).__new__(cls)
157 |
158 | if args:
159 | for arg in args:
160 | if isinstance(arg, dict):
161 | kwargs.update(arg)
162 | else:
163 | raise ApiTypeError(
164 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
165 | % (
166 | args,
167 | self.__class__.__name__,
168 | ),
169 | path_to_item=_path_to_item,
170 | valid_classes=(self.__class__,),
171 | )
172 |
173 | self._data_store = {}
174 | self._check_type = _check_type
175 | self._spec_property_naming = _spec_property_naming
176 | self._path_to_item = _path_to_item
177 | self._configuration = _configuration
178 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
179 |
180 | for var_name, var_value in kwargs.items():
181 | if (
182 | var_name not in self.attribute_map
183 | and self._configuration is not None
184 | and self._configuration.discard_unknown_keys
185 | and self.additional_properties_type is None
186 | ):
187 | # discard variable.
188 | continue
189 | setattr(self, var_name, var_value)
190 | return self
191 |
192 | required_properties = set(
193 | [
194 | "_data_store",
195 | "_check_type",
196 | "_spec_property_naming",
197 | "_path_to_item",
198 | "_configuration",
199 | "_visited_composed_classes",
200 | ]
201 | )
202 |
203 | @convert_js_args_to_python_args
204 | def __init__(self, *args, **kwargs): # noqa: E501
205 | """JobSearchResponseFacettenInnerBefristung - a model defined in OpenAPI
206 |
207 | Keyword Args:
208 | _check_type (bool): if True, values for parameters in openapi_types
209 | will be type checked and a TypeError will be
210 | raised if the wrong type is input.
211 | Defaults to True
212 | _path_to_item (tuple/list): This is a list of keys or values to
213 | drill down to the model in received_data
214 | when deserializing a response
215 | _spec_property_naming (bool): True if the variable names in the input data
216 | are serialized names, as specified in the OpenAPI document.
217 | False if the variable names in the input data
218 | are pythonic names, e.g. snake case (default)
219 | _configuration (Configuration): the instance to use when
220 | deserializing a file_type parameter.
221 | If passed, type conversion is attempted
222 | If omitted no type conversion is done.
223 | _visited_composed_classes (tuple): This stores a tuple of
224 | classes that we have traveled through so that
225 | if we see that class again we will not use its
226 | discriminator again.
227 | When traveling through a discriminator, the
228 | composed schema that is
229 | is traveled through is added to this set.
230 | For example if Animal has a discriminator
231 | petType and we pass in "Dog", and the class Dog
232 | allOf includes Animal, we move through Animal
233 | once using the discriminator, and pick Dog.
234 | Then in Dog, we will make an instance of the
235 | Animal class but this time we won't travel
236 | through its discriminator because we passed in
237 | _visited_composed_classes = (Animal,)
238 | counts ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501
239 | max_count (int): [optional] # noqa: E501
240 | """
241 |
242 | _check_type = kwargs.pop("_check_type", True)
243 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
244 | _path_to_item = kwargs.pop("_path_to_item", ())
245 | _configuration = kwargs.pop("_configuration", None)
246 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
247 |
248 | if args:
249 | for arg in args:
250 | if isinstance(arg, dict):
251 | kwargs.update(arg)
252 | else:
253 | raise ApiTypeError(
254 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
255 | % (
256 | args,
257 | self.__class__.__name__,
258 | ),
259 | path_to_item=_path_to_item,
260 | valid_classes=(self.__class__,),
261 | )
262 |
263 | self._data_store = {}
264 | self._check_type = _check_type
265 | self._spec_property_naming = _spec_property_naming
266 | self._path_to_item = _path_to_item
267 | self._configuration = _configuration
268 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
269 |
270 | for var_name, var_value in kwargs.items():
271 | if (
272 | var_name not in self.attribute_map
273 | and self._configuration is not None
274 | and self._configuration.discard_unknown_keys
275 | and self.additional_properties_type is None
276 | ):
277 | # discard variable.
278 | continue
279 | setattr(self, var_name, var_value)
280 | if var_name in self.read_only_vars:
281 | raise ApiAttributeError(
282 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
283 | f"class with read only attributes."
284 | )
285 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_search_response_stellenangebote_inner_arbeitsort.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | def lazy_import():
33 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort_koordinaten import (
34 | JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten,
35 | )
36 |
37 | globals()[
38 | "JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten"
39 | ] = JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten
40 |
41 |
42 | class JobSearchResponseStellenangeboteInnerArbeitsort(ModelNormal):
43 | """NOTE: This class is auto generated by OpenAPI Generator.
44 | Ref: https://openapi-generator.tech
45 |
46 | Do not edit the class manually.
47 |
48 | Attributes:
49 | allowed_values (dict): The key is the tuple path to the attribute
50 | and the for var_name this is (var_name,). The value is a dict
51 | with a capitalized key describing the allowed value and an allowed
52 | value. These dicts store the allowed enum values.
53 | attribute_map (dict): The key is attribute name
54 | and the value is json key in definition.
55 | discriminator_value_class_map (dict): A dict to go from the discriminator
56 | variable value to the discriminator class name.
57 | validations (dict): The key is the tuple path to the attribute
58 | and the for var_name this is (var_name,). The value is a dict
59 | that stores validations for max_length, min_length, max_items,
60 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
61 | inclusive_minimum, and regex.
62 | additional_properties_type (tuple): A tuple of classes accepted
63 | as additional properties values.
64 | """
65 |
66 | allowed_values = {}
67 |
68 | validations = {}
69 |
70 | @cached_property
71 | def additional_properties_type():
72 | """
73 | This must be a method because a model may have properties that are
74 | of type self, this must run after the class is loaded
75 | """
76 | lazy_import()
77 | return (
78 | bool,
79 | date,
80 | datetime,
81 | dict,
82 | float,
83 | int,
84 | list,
85 | str,
86 | none_type,
87 | ) # noqa: E501
88 |
89 | _nullable = False
90 |
91 | @cached_property
92 | def openapi_types():
93 | """
94 | This must be a method because a model may have properties that are
95 | of type self, this must run after the class is loaded
96 |
97 | Returns
98 | openapi_types (dict): The key is attribute name
99 | and the value is attribute type.
100 | """
101 | lazy_import()
102 | return {
103 | "plz": (int,), # noqa: E501
104 | "ort": (str,), # noqa: E501
105 | "strasse": (str,), # noqa: E501
106 | "region": (str,), # noqa: E501
107 | "land": (str,), # noqa: E501
108 | "koordinaten": (
109 | JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten,
110 | ), # noqa: E501
111 | }
112 |
113 | @cached_property
114 | def discriminator():
115 | return None
116 |
117 | attribute_map = {
118 | "plz": "plz", # noqa: E501
119 | "ort": "ort", # noqa: E501
120 | "strasse": "strasse", # noqa: E501
121 | "region": "region", # noqa: E501
122 | "land": "land", # noqa: E501
123 | "koordinaten": "koordinaten", # noqa: E501
124 | }
125 |
126 | read_only_vars = {}
127 |
128 | _composed_schemas = {}
129 |
130 | @classmethod
131 | @convert_js_args_to_python_args
132 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
133 | """JobSearchResponseStellenangeboteInnerArbeitsort - a model defined in OpenAPI
134 |
135 | Keyword Args:
136 | _check_type (bool): if True, values for parameters in openapi_types
137 | will be type checked and a TypeError will be
138 | raised if the wrong type is input.
139 | Defaults to True
140 | _path_to_item (tuple/list): This is a list of keys or values to
141 | drill down to the model in received_data
142 | when deserializing a response
143 | _spec_property_naming (bool): True if the variable names in the input data
144 | are serialized names, as specified in the OpenAPI document.
145 | False if the variable names in the input data
146 | are pythonic names, e.g. snake case (default)
147 | _configuration (Configuration): the instance to use when
148 | deserializing a file_type parameter.
149 | If passed, type conversion is attempted
150 | If omitted no type conversion is done.
151 | _visited_composed_classes (tuple): This stores a tuple of
152 | classes that we have traveled through so that
153 | if we see that class again we will not use its
154 | discriminator again.
155 | When traveling through a discriminator, the
156 | composed schema that is
157 | is traveled through is added to this set.
158 | For example if Animal has a discriminator
159 | petType and we pass in "Dog", and the class Dog
160 | allOf includes Animal, we move through Animal
161 | once using the discriminator, and pick Dog.
162 | Then in Dog, we will make an instance of the
163 | Animal class but this time we won't travel
164 | through its discriminator because we passed in
165 | _visited_composed_classes = (Animal,)
166 | plz (int): [optional] # noqa: E501
167 | ort (str): [optional] # noqa: E501
168 | strasse (str): [optional] # noqa: E501
169 | region (str): [optional] # noqa: E501
170 | land (str): [optional] # noqa: E501
171 | koordinaten (JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten): [optional] # noqa: E501
172 | """
173 |
174 | _check_type = kwargs.pop("_check_type", True)
175 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
176 | _path_to_item = kwargs.pop("_path_to_item", ())
177 | _configuration = kwargs.pop("_configuration", None)
178 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
179 |
180 | self = super(OpenApiModel, cls).__new__(cls)
181 |
182 | if args:
183 | for arg in args:
184 | if isinstance(arg, dict):
185 | kwargs.update(arg)
186 | else:
187 | raise ApiTypeError(
188 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
189 | % (
190 | args,
191 | self.__class__.__name__,
192 | ),
193 | path_to_item=_path_to_item,
194 | valid_classes=(self.__class__,),
195 | )
196 |
197 | self._data_store = {}
198 | self._check_type = _check_type
199 | self._spec_property_naming = _spec_property_naming
200 | self._path_to_item = _path_to_item
201 | self._configuration = _configuration
202 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
203 |
204 | for var_name, var_value in kwargs.items():
205 | if (
206 | var_name not in self.attribute_map
207 | and self._configuration is not None
208 | and self._configuration.discard_unknown_keys
209 | and self.additional_properties_type is None
210 | ):
211 | # discard variable.
212 | continue
213 | setattr(self, var_name, var_value)
214 | return self
215 |
216 | required_properties = set(
217 | [
218 | "_data_store",
219 | "_check_type",
220 | "_spec_property_naming",
221 | "_path_to_item",
222 | "_configuration",
223 | "_visited_composed_classes",
224 | ]
225 | )
226 |
227 | @convert_js_args_to_python_args
228 | def __init__(self, *args, **kwargs): # noqa: E501
229 | """JobSearchResponseStellenangeboteInnerArbeitsort - a model defined in OpenAPI
230 |
231 | Keyword Args:
232 | _check_type (bool): if True, values for parameters in openapi_types
233 | will be type checked and a TypeError will be
234 | raised if the wrong type is input.
235 | Defaults to True
236 | _path_to_item (tuple/list): This is a list of keys or values to
237 | drill down to the model in received_data
238 | when deserializing a response
239 | _spec_property_naming (bool): True if the variable names in the input data
240 | are serialized names, as specified in the OpenAPI document.
241 | False if the variable names in the input data
242 | are pythonic names, e.g. snake case (default)
243 | _configuration (Configuration): the instance to use when
244 | deserializing a file_type parameter.
245 | If passed, type conversion is attempted
246 | If omitted no type conversion is done.
247 | _visited_composed_classes (tuple): This stores a tuple of
248 | classes that we have traveled through so that
249 | if we see that class again we will not use its
250 | discriminator again.
251 | When traveling through a discriminator, the
252 | composed schema that is
253 | is traveled through is added to this set.
254 | For example if Animal has a discriminator
255 | petType and we pass in "Dog", and the class Dog
256 | allOf includes Animal, we move through Animal
257 | once using the discriminator, and pick Dog.
258 | Then in Dog, we will make an instance of the
259 | Animal class but this time we won't travel
260 | through its discriminator because we passed in
261 | _visited_composed_classes = (Animal,)
262 | plz (int): [optional] # noqa: E501
263 | ort (str): [optional] # noqa: E501
264 | strasse (str): [optional] # noqa: E501
265 | region (str): [optional] # noqa: E501
266 | land (str): [optional] # noqa: E501
267 | koordinaten (JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten): [optional] # noqa: E501
268 | """
269 |
270 | _check_type = kwargs.pop("_check_type", True)
271 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
272 | _path_to_item = kwargs.pop("_path_to_item", ())
273 | _configuration = kwargs.pop("_configuration", None)
274 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
275 |
276 | if args:
277 | for arg in args:
278 | if isinstance(arg, dict):
279 | kwargs.update(arg)
280 | else:
281 | raise ApiTypeError(
282 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
283 | % (
284 | args,
285 | self.__class__.__name__,
286 | ),
287 | path_to_item=_path_to_item,
288 | valid_classes=(self.__class__,),
289 | )
290 |
291 | self._data_store = {}
292 | self._check_type = _check_type
293 | self._spec_property_naming = _spec_property_naming
294 | self._path_to_item = _path_to_item
295 | self._configuration = _configuration
296 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
297 |
298 | for var_name, var_value in kwargs.items():
299 | if (
300 | var_name not in self.attribute_map
301 | and self._configuration is not None
302 | and self._configuration.discard_unknown_keys
303 | and self.additional_properties_type is None
304 | ):
305 | # discard variable.
306 | continue
307 | setattr(self, var_name, var_value)
308 | if var_name in self.read_only_vars:
309 | raise ApiAttributeError(
310 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
311 | f"class with read only attributes."
312 | )
313 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/model/job_search_response_stellenangebote_inner_arbeitsort_koordinaten.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import re # noqa: F401
12 | import sys # noqa: F401
13 |
14 | from deutschland.jobsuche.exceptions import ApiAttributeError
15 | from deutschland.jobsuche.model_utils import ( # noqa: F401
16 | ApiTypeError,
17 | ModelComposed,
18 | ModelNormal,
19 | ModelSimple,
20 | OpenApiModel,
21 | cached_property,
22 | change_keys_js_to_python,
23 | convert_js_args_to_python_args,
24 | date,
25 | datetime,
26 | file_type,
27 | none_type,
28 | validate_get_composed_info,
29 | )
30 |
31 |
32 | class JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten(ModelNormal):
33 | """NOTE: This class is auto generated by OpenAPI Generator.
34 | Ref: https://openapi-generator.tech
35 |
36 | Do not edit the class manually.
37 |
38 | Attributes:
39 | allowed_values (dict): The key is the tuple path to the attribute
40 | and the for var_name this is (var_name,). The value is a dict
41 | with a capitalized key describing the allowed value and an allowed
42 | value. These dicts store the allowed enum values.
43 | attribute_map (dict): The key is attribute name
44 | and the value is json key in definition.
45 | discriminator_value_class_map (dict): A dict to go from the discriminator
46 | variable value to the discriminator class name.
47 | validations (dict): The key is the tuple path to the attribute
48 | and the for var_name this is (var_name,). The value is a dict
49 | that stores validations for max_length, min_length, max_items,
50 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
51 | inclusive_minimum, and regex.
52 | additional_properties_type (tuple): A tuple of classes accepted
53 | as additional properties values.
54 | """
55 |
56 | allowed_values = {}
57 |
58 | validations = {}
59 |
60 | @cached_property
61 | def additional_properties_type():
62 | """
63 | This must be a method because a model may have properties that are
64 | of type self, this must run after the class is loaded
65 | """
66 | return (
67 | bool,
68 | date,
69 | datetime,
70 | dict,
71 | float,
72 | int,
73 | list,
74 | str,
75 | none_type,
76 | ) # noqa: E501
77 |
78 | _nullable = False
79 |
80 | @cached_property
81 | def openapi_types():
82 | """
83 | This must be a method because a model may have properties that are
84 | of type self, this must run after the class is loaded
85 |
86 | Returns
87 | openapi_types (dict): The key is attribute name
88 | and the value is attribute type.
89 | """
90 | return {
91 | "lat": (float,), # noqa: E501
92 | "lon": (float,), # noqa: E501
93 | }
94 |
95 | @cached_property
96 | def discriminator():
97 | return None
98 |
99 | attribute_map = {
100 | "lat": "lat", # noqa: E501
101 | "lon": "lon", # noqa: E501
102 | }
103 |
104 | read_only_vars = {}
105 |
106 | _composed_schemas = {}
107 |
108 | @classmethod
109 | @convert_js_args_to_python_args
110 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111 | """JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten - a model defined in OpenAPI
112 |
113 | Keyword Args:
114 | _check_type (bool): if True, values for parameters in openapi_types
115 | will be type checked and a TypeError will be
116 | raised if the wrong type is input.
117 | Defaults to True
118 | _path_to_item (tuple/list): This is a list of keys or values to
119 | drill down to the model in received_data
120 | when deserializing a response
121 | _spec_property_naming (bool): True if the variable names in the input data
122 | are serialized names, as specified in the OpenAPI document.
123 | False if the variable names in the input data
124 | are pythonic names, e.g. snake case (default)
125 | _configuration (Configuration): the instance to use when
126 | deserializing a file_type parameter.
127 | If passed, type conversion is attempted
128 | If omitted no type conversion is done.
129 | _visited_composed_classes (tuple): This stores a tuple of
130 | classes that we have traveled through so that
131 | if we see that class again we will not use its
132 | discriminator again.
133 | When traveling through a discriminator, the
134 | composed schema that is
135 | is traveled through is added to this set.
136 | For example if Animal has a discriminator
137 | petType and we pass in "Dog", and the class Dog
138 | allOf includes Animal, we move through Animal
139 | once using the discriminator, and pick Dog.
140 | Then in Dog, we will make an instance of the
141 | Animal class but this time we won't travel
142 | through its discriminator because we passed in
143 | _visited_composed_classes = (Animal,)
144 | lat (float): [optional] # noqa: E501
145 | lon (float): [optional] # noqa: E501
146 | """
147 |
148 | _check_type = kwargs.pop("_check_type", True)
149 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
150 | _path_to_item = kwargs.pop("_path_to_item", ())
151 | _configuration = kwargs.pop("_configuration", None)
152 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
153 |
154 | self = super(OpenApiModel, cls).__new__(cls)
155 |
156 | if args:
157 | for arg in args:
158 | if isinstance(arg, dict):
159 | kwargs.update(arg)
160 | else:
161 | raise ApiTypeError(
162 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
163 | % (
164 | args,
165 | self.__class__.__name__,
166 | ),
167 | path_to_item=_path_to_item,
168 | valid_classes=(self.__class__,),
169 | )
170 |
171 | self._data_store = {}
172 | self._check_type = _check_type
173 | self._spec_property_naming = _spec_property_naming
174 | self._path_to_item = _path_to_item
175 | self._configuration = _configuration
176 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
177 |
178 | for var_name, var_value in kwargs.items():
179 | if (
180 | var_name not in self.attribute_map
181 | and self._configuration is not None
182 | and self._configuration.discard_unknown_keys
183 | and self.additional_properties_type is None
184 | ):
185 | # discard variable.
186 | continue
187 | setattr(self, var_name, var_value)
188 | return self
189 |
190 | required_properties = set(
191 | [
192 | "_data_store",
193 | "_check_type",
194 | "_spec_property_naming",
195 | "_path_to_item",
196 | "_configuration",
197 | "_visited_composed_classes",
198 | ]
199 | )
200 |
201 | @convert_js_args_to_python_args
202 | def __init__(self, *args, **kwargs): # noqa: E501
203 | """JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten - a model defined in OpenAPI
204 |
205 | Keyword Args:
206 | _check_type (bool): if True, values for parameters in openapi_types
207 | will be type checked and a TypeError will be
208 | raised if the wrong type is input.
209 | Defaults to True
210 | _path_to_item (tuple/list): This is a list of keys or values to
211 | drill down to the model in received_data
212 | when deserializing a response
213 | _spec_property_naming (bool): True if the variable names in the input data
214 | are serialized names, as specified in the OpenAPI document.
215 | False if the variable names in the input data
216 | are pythonic names, e.g. snake case (default)
217 | _configuration (Configuration): the instance to use when
218 | deserializing a file_type parameter.
219 | If passed, type conversion is attempted
220 | If omitted no type conversion is done.
221 | _visited_composed_classes (tuple): This stores a tuple of
222 | classes that we have traveled through so that
223 | if we see that class again we will not use its
224 | discriminator again.
225 | When traveling through a discriminator, the
226 | composed schema that is
227 | is traveled through is added to this set.
228 | For example if Animal has a discriminator
229 | petType and we pass in "Dog", and the class Dog
230 | allOf includes Animal, we move through Animal
231 | once using the discriminator, and pick Dog.
232 | Then in Dog, we will make an instance of the
233 | Animal class but this time we won't travel
234 | through its discriminator because we passed in
235 | _visited_composed_classes = (Animal,)
236 | lat (float): [optional] # noqa: E501
237 | lon (float): [optional] # noqa: E501
238 | """
239 |
240 | _check_type = kwargs.pop("_check_type", True)
241 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
242 | _path_to_item = kwargs.pop("_path_to_item", ())
243 | _configuration = kwargs.pop("_configuration", None)
244 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
245 |
246 | if args:
247 | for arg in args:
248 | if isinstance(arg, dict):
249 | kwargs.update(arg)
250 | else:
251 | raise ApiTypeError(
252 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
253 | % (
254 | args,
255 | self.__class__.__name__,
256 | ),
257 | path_to_item=_path_to_item,
258 | valid_classes=(self.__class__,),
259 | )
260 |
261 | self._data_store = {}
262 | self._check_type = _check_type
263 | self._spec_property_naming = _spec_property_naming
264 | self._path_to_item = _path_to_item
265 | self._configuration = _configuration
266 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
267 |
268 | for var_name, var_value in kwargs.items():
269 | if (
270 | var_name not in self.attribute_map
271 | and self._configuration is not None
272 | and self._configuration.discard_unknown_keys
273 | and self.additional_properties_type is None
274 | ):
275 | # discard variable.
276 | continue
277 | setattr(self, var_name, var_value)
278 | if var_name in self.read_only_vars:
279 | raise ApiAttributeError(
280 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
281 | f"class with read only attributes."
282 | )
283 |
--------------------------------------------------------------------------------
/python-client/deutschland/jobsuche/models/__init__.py:
--------------------------------------------------------------------------------
1 | # flake8: noqa
2 |
3 | # import all models into this package
4 | # if you have many models here with many references from one model to another this may
5 | # raise a RecursionError
6 | # to avoid this, import only the models that you directly need like:
7 | # from from deutschland.jobsuche.model.pet import Pet
8 | # or import this package, but before doing it, use:
9 | # import sys
10 | # sys.setrecursionlimit(n)
11 |
12 | from deutschland.jobsuche.model.job_details import JobDetails
13 | from deutschland.jobsuche.model.job_details_arbeitgeber_adresse import (
14 | JobDetailsArbeitgeberAdresse,
15 | )
16 | from deutschland.jobsuche.model.job_details_arbeitsorte_inner import (
17 | JobDetailsArbeitsorteInner,
18 | )
19 | from deutschland.jobsuche.model.job_details_arbeitsorte_inner_koordinaten import (
20 | JobDetailsArbeitsorteInnerKoordinaten,
21 | )
22 | from deutschland.jobsuche.model.job_details_fertigkeiten_inner import (
23 | JobDetailsFertigkeitenInner,
24 | )
25 | from deutschland.jobsuche.model.job_details_fuehrungskompetenzen import (
26 | JobDetailsFuehrungskompetenzen,
27 | )
28 | from deutschland.jobsuche.model.job_details_mobilitaet import JobDetailsMobilitaet
29 | from deutschland.jobsuche.model.job_search_response import JobSearchResponse
30 | from deutschland.jobsuche.model.job_search_response_facetten_inner import (
31 | JobSearchResponseFacettenInner,
32 | )
33 | from deutschland.jobsuche.model.job_search_response_facetten_inner_befristung import (
34 | JobSearchResponseFacettenInnerBefristung,
35 | )
36 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner import (
37 | JobSearchResponseStellenangeboteInner,
38 | )
39 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort import (
40 | JobSearchResponseStellenangeboteInnerArbeitsort,
41 | )
42 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort_koordinaten import (
43 | JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten,
44 | )
45 |
--------------------------------------------------------------------------------
/python-client/docs/JobDetails.md:
--------------------------------------------------------------------------------
1 | # JobDetails
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **aktuelle_veroeffentlichungsdatum** | **date** | | [optional]
8 | **angebotsart** | **str** | | [optional]
9 | **arbeitgeber** | **str** | | [optional]
10 | **branchengruppe** | **str** | | [optional]
11 | **branche** | **str** | | [optional]
12 | **arbeitgeber_hash_id** | **str** | | [optional]
13 | **arbeitsorte** | [**[JobDetailsArbeitsorteInner]**](JobDetailsArbeitsorteInner.md) | | [optional]
14 | **arbeitszeitmodelle** | **[str]** | | [optional]
15 | **befristung** | **str** | | [optional]
16 | **uebernahme** | **bool** | | [optional]
17 | **betriebsgroesse** | **str** | | [optional]
18 | **eintrittsdatum** | **date** | | [optional]
19 | **erste_veroeffentlichungsdatum** | **date** | | [optional]
20 | **allianzpartner** | **str** | | [optional]
21 | **allianzpartner_url** | **str** | | [optional]
22 | **titel** | **str** | | [optional]
23 | **hash_id** | **str** | | [optional]
24 | **beruf** | **str** | | [optional]
25 | **modifikations_timestamp** | **str** | | [optional]
26 | **stellenbeschreibung** | **str** | | [optional]
27 | **refnr** | **str** | | [optional]
28 | **fuer_fluechtlinge_geeignet** | **bool** | | [optional]
29 | **nur_fuer_schwerbehinderte** | **bool** | | [optional]
30 | **anzahl_offene_stellen** | **int** | | [optional]
31 | **arbeitgeber_adresse** | [**JobDetailsArbeitgeberAdresse**](JobDetailsArbeitgeberAdresse.md) | | [optional]
32 | **fertigkeiten** | [**[JobDetailsFertigkeitenInner]**](JobDetailsFertigkeitenInner.md) | | [optional]
33 | **mobilitaet** | [**JobDetailsMobilitaet**](JobDetailsMobilitaet.md) | | [optional]
34 | **fuehrungskompetenzen** | [**JobDetailsFuehrungskompetenzen**](JobDetailsFuehrungskompetenzen.md) | | [optional]
35 | **verguetung** | **str** | | [optional]
36 | **arbeitgeberdarstellung_url** | **str** | | [optional]
37 | **arbeitgeberdarstellung** | **str** | | [optional]
38 | **haupt_dkz** | **str** | | [optional]
39 | **ist_betreut** | **bool** | | [optional]
40 | **ist_google_jobs_relevant** | **bool** | | [optional]
41 | **anzeige_anonym** | **bool** | | [optional]
42 | **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]
43 |
44 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
45 |
46 |
47 |
--------------------------------------------------------------------------------
/python-client/docs/JobDetailsArbeitgeberAdresse.md:
--------------------------------------------------------------------------------
1 | # JobDetailsArbeitgeberAdresse
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **land** | **str** | | [optional]
8 | **region** | **str** | | [optional]
9 | **plz** | **str** | | [optional]
10 | **ort** | **str** | | [optional]
11 | **strasse** | **str** | | [optional]
12 | **strasse_hausnummer** | **str** | | [optional]
13 | **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]
14 |
15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16 |
17 |
18 |
--------------------------------------------------------------------------------
/python-client/docs/JobDetailsArbeitsorteInner.md:
--------------------------------------------------------------------------------
1 | # JobDetailsArbeitsorteInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **land** | **str** | | [optional]
8 | **region** | **str** | | [optional]
9 | **plz** | **str** | | [optional]
10 | **ort** | **str** | | [optional]
11 | **strasse** | **str** | | [optional]
12 | **koordinaten** | [**JobDetailsArbeitsorteInnerKoordinaten**](JobDetailsArbeitsorteInnerKoordinaten.md) | | [optional]
13 | **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]
14 |
15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16 |
17 |
18 |
--------------------------------------------------------------------------------
/python-client/docs/JobDetailsArbeitsorteInnerKoordinaten.md:
--------------------------------------------------------------------------------
1 | # JobDetailsArbeitsorteInnerKoordinaten
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **lat** | **float** | | [optional]
8 | **lon** | **float** | | [optional]
9 | **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]
10 |
11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12 |
13 |
14 |
--------------------------------------------------------------------------------
/python-client/docs/JobDetailsFertigkeitenInner.md:
--------------------------------------------------------------------------------
1 | # JobDetailsFertigkeitenInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **hierarchie_name** | **str** | | [optional]
8 | **auspraegungen** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
9 | **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]
10 |
11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12 |
13 |
14 |
--------------------------------------------------------------------------------
/python-client/docs/JobDetailsFuehrungskompetenzen.md:
--------------------------------------------------------------------------------
1 | # JobDetailsFuehrungskompetenzen
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **hat_vollmacht** | **bool** | | [optional]
8 | **hat_budgetverantwortung** | **bool** | | [optional]
9 | **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]
10 |
11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12 |
13 |
14 |
--------------------------------------------------------------------------------
/python-client/docs/JobDetailsMobilitaet.md:
--------------------------------------------------------------------------------
1 | # JobDetailsMobilitaet
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **reisebereitschaft** | **str** | | [optional]
8 | **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]
9 |
10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11 |
12 |
13 |
--------------------------------------------------------------------------------
/python-client/docs/JobSearchResponse.md:
--------------------------------------------------------------------------------
1 | # JobSearchResponse
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **stellenangebote** | [**[JobSearchResponseStellenangeboteInner]**](JobSearchResponseStellenangeboteInner.md) | | [optional]
8 | **max_ergebnisse** | **str** | | [optional]
9 | **page** | **str** | | [optional]
10 | **size** | **str** | | [optional]
11 | **facetten** | [**[JobSearchResponseFacettenInner]**](JobSearchResponseFacettenInner.md) | | [optional]
12 | **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]
13 |
14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15 |
16 |
17 |
--------------------------------------------------------------------------------
/python-client/docs/JobSearchResponseFacettenInner.md:
--------------------------------------------------------------------------------
1 | # JobSearchResponseFacettenInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **befristung** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
8 | **behinderung** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
9 | **pav** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
10 | **berufsfeld** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
11 | **arbeitsort** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
12 | **ausbildungsart** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
13 | **veroeffentlichtseit** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
14 | **schulbildung** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
15 | **arbeitsort_plz** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
16 | **arbeitgeber** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
17 | **beruf** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
18 | **branche** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
19 | **arbeitszeit** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
20 | **eintrittsdatum** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
21 | **zeitarbeit** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
22 | **corona** | [**JobSearchResponseFacettenInnerBefristung**](JobSearchResponseFacettenInnerBefristung.md) | | [optional]
23 | **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]
24 |
25 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
26 |
27 |
28 |
--------------------------------------------------------------------------------
/python-client/docs/JobSearchResponseFacettenInnerBefristung.md:
--------------------------------------------------------------------------------
1 | # JobSearchResponseFacettenInnerBefristung
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **counts** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
8 | **max_count** | **int** | | [optional]
9 | **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]
10 |
11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12 |
13 |
14 |
--------------------------------------------------------------------------------
/python-client/docs/JobSearchResponseStellenangeboteInner.md:
--------------------------------------------------------------------------------
1 | # JobSearchResponseStellenangeboteInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **hash_id** | **str** | | [optional]
8 | **beruf** | **str** | | [optional]
9 | **refnr** | **str** | | [optional]
10 | **arbeitgeber** | **str** | | [optional]
11 | **aktuelle_veroeffentlichungsdatum** | **date** | | [optional]
12 | **eintrittsdatum** | **date** | | [optional]
13 | **arbeitsort** | [**JobSearchResponseStellenangeboteInnerArbeitsort**](JobSearchResponseStellenangeboteInnerArbeitsort.md) | | [optional]
14 | **modifikations_timestamp** | **str** | | [optional]
15 | **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]
16 |
17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
18 |
19 |
20 |
--------------------------------------------------------------------------------
/python-client/docs/JobSearchResponseStellenangeboteInnerArbeitsort.md:
--------------------------------------------------------------------------------
1 | # JobSearchResponseStellenangeboteInnerArbeitsort
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **plz** | **int** | | [optional]
8 | **ort** | **str** | | [optional]
9 | **strasse** | **str** | | [optional]
10 | **region** | **str** | | [optional]
11 | **land** | **str** | | [optional]
12 | **koordinaten** | [**JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten**](JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten.md) | | [optional]
13 | **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]
14 |
15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16 |
17 |
18 |
--------------------------------------------------------------------------------
/python-client/docs/JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten.md:
--------------------------------------------------------------------------------
1 | # JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **lat** | **float** | | [optional]
8 | **lon** | **float** | | [optional]
9 | **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]
10 |
11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12 |
13 |
14 |
--------------------------------------------------------------------------------
/python-client/pyproject.toml:
--------------------------------------------------------------------------------
1 | [tool]
2 | [tool.poetry]
3 | name = "de-jobsuche"
4 | version = "0.1.0"
5 | description = "Arbeitsagentur Jobsuche API"
6 | keywords = ["OpenAPI", "OpenAPI-Generator", "jobsuche", "App", "API"]
7 | homepage = "https://github.com/bundesAPI/jobsuche-api"
8 | authors = ["BundesAPI "]
9 | packages = [
10 | { include = "deutschland"}
11 | ]
12 | license = "Apache-2.0"
13 | readme = "README.md"
14 |
15 | [tool.poetry.dependencies]
16 | python = ">=3.6"
17 | python-dateutil = "*"
18 | urllib3 = ">=1.25.3"
19 |
20 | [tool.poetry.urls]
21 | "Bug Tracker" = "https://github.com/bundesAPI/jobsuche-api/issues"
22 |
23 | [tool.poetry.dev-dependencies]
24 | black = "^21.7b0"
25 | pytest = "^6.2.4"
26 |
27 |
28 | [build-system]
29 | requires = ["poetry-core>=1.0.0"]
30 | build-backend = "poetry.core.masonry.api"
31 |
32 |
--------------------------------------------------------------------------------
/python-client/requirements.txt:
--------------------------------------------------------------------------------
1 | python_dateutil >= 2.5.3
2 | setuptools >= 59.0.0
3 | urllib3 >= 1.25.3
4 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/Makefile:
--------------------------------------------------------------------------------
1 | # Minimal makefile for Sphinx documentation
2 | #
3 |
4 | # You can set these variables from the command line, and also
5 | # from the environment for the first two.
6 | SPHINXOPTS ?=
7 | SPHINXBUILD ?= sphinx-build
8 | SOURCEDIR = .
9 | BUILDDIR = _build
10 |
11 | # Put it first so that "make" without argument is like "make help".
12 | help:
13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14 |
15 | .PHONY: help Makefile
16 |
17 | # Catch-all target: route all unknown targets to Sphinx using the new
18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19 | %: Makefile
20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/conf.py:
--------------------------------------------------------------------------------
1 | import os
2 | import sys
3 |
4 | sys.path.insert(0, os.path.abspath("../"))
5 | # Configuration file for the Sphinx documentation builder.
6 | #
7 | # For the full list of built-in configuration values, see the documentation:
8 | # https://www.sphinx-doc.org/en/master/usage/configuration.html
9 |
10 | # -- Project information -----------------------------------------------------
11 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
12 |
13 | project = "jobsuche-api"
14 | copyright = "2024, BundesAPI"
15 | author = "BundesAPI"
16 |
17 | version = "0.1.0"
18 | release = "0.1.0"
19 |
20 | # -- General configuration ---------------------------------------------------
21 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
22 |
23 | extensions = [
24 | "m2r2",
25 | "sphinx.ext.autodoc",
26 | "sphinx.ext.napoleon",
27 | "sphinx.ext.autosummary",
28 | ]
29 |
30 | templates_path = ["_templates"]
31 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
32 |
33 | language = "de"
34 |
35 | # -- Options for HTML output -------------------------------------------------
36 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
37 |
38 | html_theme = "alabaster"
39 | html_static_path = ["_static"]
40 |
41 | source_extensions = [".rst", ".md"]
42 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/index.rst:
--------------------------------------------------------------------------------
1 | jobsuche-api Documentation
2 | ==========================
3 |
4 | .. toctree::
5 | :glob:
6 |
7 | source/*
8 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/make.bat:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 |
3 | pushd %~dp0
4 |
5 | REM Command file for Sphinx documentation
6 |
7 | if "%SPHINXBUILD%" == "" (
8 | set SPHINXBUILD=sphinx-build
9 | )
10 | set SOURCEDIR=.
11 | set BUILDDIR=_build
12 |
13 | %SPHINXBUILD% >NUL 2>NUL
14 | if errorlevel 9009 (
15 | echo.
16 | echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17 | echo.installed, then set the SPHINXBUILD environment variable to point
18 | echo.to the full path of the 'sphinx-build' executable. Alternatively you
19 | echo.may add the Sphinx directory to PATH.
20 | echo.
21 | echo.If you don't have Sphinx installed, grab it from
22 | echo.https://www.sphinx-doc.org/
23 | exit /b 1
24 | )
25 |
26 | if "%1" == "" goto help
27 |
28 | %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29 | goto end
30 |
31 | :help
32 | %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33 |
34 | :end
35 | popd
36 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/jobsuche.api.rst:
--------------------------------------------------------------------------------
1 | jobsuche.api package
2 | ====================
3 |
4 | Submodules
5 | ----------
6 |
7 | jobsuche.api.default\_api module
8 | --------------------------------
9 |
10 | .. automodule:: jobsuche.api.default_api
11 | :members:
12 | :undoc-members:
13 | :show-inheritance:
14 |
15 | Module contents
16 | ---------------
17 |
18 | .. automodule:: jobsuche.api
19 | :members:
20 | :undoc-members:
21 | :show-inheritance:
22 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/jobsuche.apis.rst:
--------------------------------------------------------------------------------
1 | jobsuche.apis package
2 | =====================
3 |
4 | Module contents
5 | ---------------
6 |
7 | .. automodule:: jobsuche.apis
8 | :members:
9 | :undoc-members:
10 | :show-inheritance:
11 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/jobsuche.model.rst:
--------------------------------------------------------------------------------
1 | jobsuche.model package
2 | ======================
3 |
4 | Submodules
5 | ----------
6 |
7 | jobsuche.model.job\_details module
8 | ----------------------------------
9 |
10 | .. automodule:: jobsuche.model.job_details
11 | :members:
12 | :undoc-members:
13 | :show-inheritance:
14 |
15 | jobsuche.model.job\_details\_arbeitgeber\_adresse module
16 | --------------------------------------------------------
17 |
18 | .. automodule:: jobsuche.model.job_details_arbeitgeber_adresse
19 | :members:
20 | :undoc-members:
21 | :show-inheritance:
22 |
23 | jobsuche.model.job\_details\_arbeitsorte\_inner module
24 | ------------------------------------------------------
25 |
26 | .. automodule:: jobsuche.model.job_details_arbeitsorte_inner
27 | :members:
28 | :undoc-members:
29 | :show-inheritance:
30 |
31 | jobsuche.model.job\_details\_arbeitsorte\_inner\_koordinaten module
32 | -------------------------------------------------------------------
33 |
34 | .. automodule:: jobsuche.model.job_details_arbeitsorte_inner_koordinaten
35 | :members:
36 | :undoc-members:
37 | :show-inheritance:
38 |
39 | jobsuche.model.job\_details\_fertigkeiten\_inner module
40 | -------------------------------------------------------
41 |
42 | .. automodule:: jobsuche.model.job_details_fertigkeiten_inner
43 | :members:
44 | :undoc-members:
45 | :show-inheritance:
46 |
47 | jobsuche.model.job\_details\_fuehrungskompetenzen module
48 | --------------------------------------------------------
49 |
50 | .. automodule:: jobsuche.model.job_details_fuehrungskompetenzen
51 | :members:
52 | :undoc-members:
53 | :show-inheritance:
54 |
55 | jobsuche.model.job\_details\_mobilitaet module
56 | ----------------------------------------------
57 |
58 | .. automodule:: jobsuche.model.job_details_mobilitaet
59 | :members:
60 | :undoc-members:
61 | :show-inheritance:
62 |
63 | jobsuche.model.job\_search\_response module
64 | -------------------------------------------
65 |
66 | .. automodule:: jobsuche.model.job_search_response
67 | :members:
68 | :undoc-members:
69 | :show-inheritance:
70 |
71 | jobsuche.model.job\_search\_response\_facetten\_inner module
72 | ------------------------------------------------------------
73 |
74 | .. automodule:: jobsuche.model.job_search_response_facetten_inner
75 | :members:
76 | :undoc-members:
77 | :show-inheritance:
78 |
79 | jobsuche.model.job\_search\_response\_facetten\_inner\_befristung module
80 | ------------------------------------------------------------------------
81 |
82 | .. automodule:: jobsuche.model.job_search_response_facetten_inner_befristung
83 | :members:
84 | :undoc-members:
85 | :show-inheritance:
86 |
87 | jobsuche.model.job\_search\_response\_stellenangebote\_inner module
88 | -------------------------------------------------------------------
89 |
90 | .. automodule:: jobsuche.model.job_search_response_stellenangebote_inner
91 | :members:
92 | :undoc-members:
93 | :show-inheritance:
94 |
95 | jobsuche.model.job\_search\_response\_stellenangebote\_inner\_arbeitsort module
96 | -------------------------------------------------------------------------------
97 |
98 | .. automodule:: jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort
99 | :members:
100 | :undoc-members:
101 | :show-inheritance:
102 |
103 | jobsuche.model.job\_search\_response\_stellenangebote\_inner\_arbeitsort\_koordinaten module
104 | --------------------------------------------------------------------------------------------
105 |
106 | .. automodule:: jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort_koordinaten
107 | :members:
108 | :undoc-members:
109 | :show-inheritance:
110 |
111 | Module contents
112 | ---------------
113 |
114 | .. automodule:: jobsuche.model
115 | :members:
116 | :undoc-members:
117 | :show-inheritance:
118 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/jobsuche.models.rst:
--------------------------------------------------------------------------------
1 | jobsuche.models package
2 | =======================
3 |
4 | Module contents
5 | ---------------
6 |
7 | .. automodule:: jobsuche.models
8 | :members:
9 | :undoc-members:
10 | :show-inheritance:
11 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/jobsuche.rst:
--------------------------------------------------------------------------------
1 | jobsuche package
2 | ================
3 |
4 | Subpackages
5 | -----------
6 |
7 | .. toctree::
8 | :maxdepth: 4
9 |
10 | jobsuche.api
11 | jobsuche.apis
12 | jobsuche.model
13 | jobsuche.models
14 |
15 | Submodules
16 | ----------
17 |
18 | jobsuche.api\_client module
19 | ---------------------------
20 |
21 | .. automodule:: jobsuche.api_client
22 | :members:
23 | :undoc-members:
24 | :show-inheritance:
25 |
26 | jobsuche.configuration module
27 | -----------------------------
28 |
29 | .. automodule:: jobsuche.configuration
30 | :members:
31 | :undoc-members:
32 | :show-inheritance:
33 |
34 | jobsuche.exceptions module
35 | --------------------------
36 |
37 | .. automodule:: jobsuche.exceptions
38 | :members:
39 | :undoc-members:
40 | :show-inheritance:
41 |
42 | jobsuche.model\_utils module
43 | ----------------------------
44 |
45 | .. automodule:: jobsuche.model_utils
46 | :members:
47 | :undoc-members:
48 | :show-inheritance:
49 |
50 | jobsuche.rest module
51 | --------------------
52 |
53 | .. automodule:: jobsuche.rest
54 | :members:
55 | :undoc-members:
56 | :show-inheritance:
57 |
58 | Module contents
59 | ---------------
60 |
61 | .. automodule:: jobsuche
62 | :members:
63 | :undoc-members:
64 | :show-inheritance:
65 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/modules.rst:
--------------------------------------------------------------------------------
1 | deutschland
2 | ===========
3 |
4 | .. toctree::
5 | :maxdepth: 4
6 |
7 | jobsuche
8 |
--------------------------------------------------------------------------------
/python-client/test-requirements.txt:
--------------------------------------------------------------------------------
1 | pytest-cov>=2.8.1
2 |
--------------------------------------------------------------------------------
/python-client/test/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bundesAPI/jobsuche-api/2a6d593081b6eb130721c4b9af98e4a349106c0a/python-client/test/__init__.py
--------------------------------------------------------------------------------
/python-client/test/test_default_api.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import unittest
12 |
13 | from deutschland.jobsuche.api.default_api import DefaultApi # noqa: E501
14 |
15 | from deutschland import jobsuche
16 |
17 |
18 | class TestDefaultApi(unittest.TestCase):
19 | """DefaultApi unit test stubs"""
20 |
21 | def setUp(self):
22 | self.api = DefaultApi() # noqa: E501
23 |
24 | def tearDown(self):
25 | pass
26 |
27 | def test_ed_v1_arbeitgeberlogo_hash_id_get(self):
28 | """Test case for ed_v1_arbeitgeberlogo_hash_id_get
29 |
30 | Unternehmen Logo # noqa: E501
31 | """
32 | pass
33 |
34 | def test_pc_v4_app_jobs_get(self):
35 | """Test case for pc_v4_app_jobs_get
36 |
37 | Jobsuche via App # noqa: E501
38 | """
39 | pass
40 |
41 | def test_pc_v4_jobs_get(self):
42 | """Test case for pc_v4_jobs_get
43 |
44 | Jobsuche # noqa: E501
45 | """
46 | pass
47 |
48 |
49 | if __name__ == "__main__":
50 | unittest.main()
51 |
--------------------------------------------------------------------------------
/python-client/test/test_job_details.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_details_arbeitgeber_adresse import (
15 | JobDetailsArbeitgeberAdresse,
16 | )
17 | from deutschland.jobsuche.model.job_details_arbeitsorte_inner import (
18 | JobDetailsArbeitsorteInner,
19 | )
20 | from deutschland.jobsuche.model.job_details_fertigkeiten_inner import (
21 | JobDetailsFertigkeitenInner,
22 | )
23 | from deutschland.jobsuche.model.job_details_fuehrungskompetenzen import (
24 | JobDetailsFuehrungskompetenzen,
25 | )
26 | from deutschland.jobsuche.model.job_details_mobilitaet import JobDetailsMobilitaet
27 |
28 | from deutschland import jobsuche
29 |
30 | globals()["JobDetailsArbeitgeberAdresse"] = JobDetailsArbeitgeberAdresse
31 | globals()["JobDetailsArbeitsorteInner"] = JobDetailsArbeitsorteInner
32 | globals()["JobDetailsFertigkeitenInner"] = JobDetailsFertigkeitenInner
33 | globals()["JobDetailsFuehrungskompetenzen"] = JobDetailsFuehrungskompetenzen
34 | globals()["JobDetailsMobilitaet"] = JobDetailsMobilitaet
35 | from deutschland.jobsuche.model.job_details import JobDetails
36 |
37 |
38 | class TestJobDetails(unittest.TestCase):
39 | """JobDetails unit test stubs"""
40 |
41 | def setUp(self):
42 | pass
43 |
44 | def tearDown(self):
45 | pass
46 |
47 | def testJobDetails(self):
48 | """Test JobDetails"""
49 | # FIXME: construct object with mandatory attributes with example values
50 | # model = JobDetails() # noqa: E501
51 | pass
52 |
53 |
54 | if __name__ == "__main__":
55 | unittest.main()
56 |
--------------------------------------------------------------------------------
/python-client/test/test_job_details_arbeitgeber_adresse.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_details_arbeitgeber_adresse import (
15 | JobDetailsArbeitgeberAdresse,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 |
21 | class TestJobDetailsArbeitgeberAdresse(unittest.TestCase):
22 | """JobDetailsArbeitgeberAdresse unit test stubs"""
23 |
24 | def setUp(self):
25 | pass
26 |
27 | def tearDown(self):
28 | pass
29 |
30 | def testJobDetailsArbeitgeberAdresse(self):
31 | """Test JobDetailsArbeitgeberAdresse"""
32 | # FIXME: construct object with mandatory attributes with example values
33 | # model = JobDetailsArbeitgeberAdresse() # noqa: E501
34 | pass
35 |
36 |
37 | if __name__ == "__main__":
38 | unittest.main()
39 |
--------------------------------------------------------------------------------
/python-client/test/test_job_details_arbeitsorte_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_details_arbeitsorte_inner_koordinaten import (
15 | JobDetailsArbeitsorteInnerKoordinaten,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 | globals()[
21 | "JobDetailsArbeitsorteInnerKoordinaten"
22 | ] = JobDetailsArbeitsorteInnerKoordinaten
23 | from deutschland.jobsuche.model.job_details_arbeitsorte_inner import (
24 | JobDetailsArbeitsorteInner,
25 | )
26 |
27 |
28 | class TestJobDetailsArbeitsorteInner(unittest.TestCase):
29 | """JobDetailsArbeitsorteInner unit test stubs"""
30 |
31 | def setUp(self):
32 | pass
33 |
34 | def tearDown(self):
35 | pass
36 |
37 | def testJobDetailsArbeitsorteInner(self):
38 | """Test JobDetailsArbeitsorteInner"""
39 | # FIXME: construct object with mandatory attributes with example values
40 | # model = JobDetailsArbeitsorteInner() # noqa: E501
41 | pass
42 |
43 |
44 | if __name__ == "__main__":
45 | unittest.main()
46 |
--------------------------------------------------------------------------------
/python-client/test/test_job_details_arbeitsorte_inner_koordinaten.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_details_arbeitsorte_inner_koordinaten import (
15 | JobDetailsArbeitsorteInnerKoordinaten,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 |
21 | class TestJobDetailsArbeitsorteInnerKoordinaten(unittest.TestCase):
22 | """JobDetailsArbeitsorteInnerKoordinaten unit test stubs"""
23 |
24 | def setUp(self):
25 | pass
26 |
27 | def tearDown(self):
28 | pass
29 |
30 | def testJobDetailsArbeitsorteInnerKoordinaten(self):
31 | """Test JobDetailsArbeitsorteInnerKoordinaten"""
32 | # FIXME: construct object with mandatory attributes with example values
33 | # model = JobDetailsArbeitsorteInnerKoordinaten() # noqa: E501
34 | pass
35 |
36 |
37 | if __name__ == "__main__":
38 | unittest.main()
39 |
--------------------------------------------------------------------------------
/python-client/test/test_job_details_fertigkeiten_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_details_fertigkeiten_inner import (
15 | JobDetailsFertigkeitenInner,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 |
21 | class TestJobDetailsFertigkeitenInner(unittest.TestCase):
22 | """JobDetailsFertigkeitenInner unit test stubs"""
23 |
24 | def setUp(self):
25 | pass
26 |
27 | def tearDown(self):
28 | pass
29 |
30 | def testJobDetailsFertigkeitenInner(self):
31 | """Test JobDetailsFertigkeitenInner"""
32 | # FIXME: construct object with mandatory attributes with example values
33 | # model = JobDetailsFertigkeitenInner() # noqa: E501
34 | pass
35 |
36 |
37 | if __name__ == "__main__":
38 | unittest.main()
39 |
--------------------------------------------------------------------------------
/python-client/test/test_job_details_fuehrungskompetenzen.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_details_fuehrungskompetenzen import (
15 | JobDetailsFuehrungskompetenzen,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 |
21 | class TestJobDetailsFuehrungskompetenzen(unittest.TestCase):
22 | """JobDetailsFuehrungskompetenzen unit test stubs"""
23 |
24 | def setUp(self):
25 | pass
26 |
27 | def tearDown(self):
28 | pass
29 |
30 | def testJobDetailsFuehrungskompetenzen(self):
31 | """Test JobDetailsFuehrungskompetenzen"""
32 | # FIXME: construct object with mandatory attributes with example values
33 | # model = JobDetailsFuehrungskompetenzen() # noqa: E501
34 | pass
35 |
36 |
37 | if __name__ == "__main__":
38 | unittest.main()
39 |
--------------------------------------------------------------------------------
/python-client/test/test_job_details_mobilitaet.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_details_mobilitaet import JobDetailsMobilitaet
15 |
16 | from deutschland import jobsuche
17 |
18 |
19 | class TestJobDetailsMobilitaet(unittest.TestCase):
20 | """JobDetailsMobilitaet unit test stubs"""
21 |
22 | def setUp(self):
23 | pass
24 |
25 | def tearDown(self):
26 | pass
27 |
28 | def testJobDetailsMobilitaet(self):
29 | """Test JobDetailsMobilitaet"""
30 | # FIXME: construct object with mandatory attributes with example values
31 | # model = JobDetailsMobilitaet() # noqa: E501
32 | pass
33 |
34 |
35 | if __name__ == "__main__":
36 | unittest.main()
37 |
--------------------------------------------------------------------------------
/python-client/test/test_job_search_response.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_search_response_facetten_inner import (
15 | JobSearchResponseFacettenInner,
16 | )
17 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner import (
18 | JobSearchResponseStellenangeboteInner,
19 | )
20 |
21 | from deutschland import jobsuche
22 |
23 | globals()["JobSearchResponseFacettenInner"] = JobSearchResponseFacettenInner
24 | globals()[
25 | "JobSearchResponseStellenangeboteInner"
26 | ] = JobSearchResponseStellenangeboteInner
27 | from deutschland.jobsuche.model.job_search_response import JobSearchResponse
28 |
29 |
30 | class TestJobSearchResponse(unittest.TestCase):
31 | """JobSearchResponse unit test stubs"""
32 |
33 | def setUp(self):
34 | pass
35 |
36 | def tearDown(self):
37 | pass
38 |
39 | def testJobSearchResponse(self):
40 | """Test JobSearchResponse"""
41 | # FIXME: construct object with mandatory attributes with example values
42 | # model = JobSearchResponse() # noqa: E501
43 | pass
44 |
45 |
46 | if __name__ == "__main__":
47 | unittest.main()
48 |
--------------------------------------------------------------------------------
/python-client/test/test_job_search_response_facetten_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_search_response_facetten_inner_befristung import (
15 | JobSearchResponseFacettenInnerBefristung,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 | globals()[
21 | "JobSearchResponseFacettenInnerBefristung"
22 | ] = JobSearchResponseFacettenInnerBefristung
23 | from deutschland.jobsuche.model.job_search_response_facetten_inner import (
24 | JobSearchResponseFacettenInner,
25 | )
26 |
27 |
28 | class TestJobSearchResponseFacettenInner(unittest.TestCase):
29 | """JobSearchResponseFacettenInner unit test stubs"""
30 |
31 | def setUp(self):
32 | pass
33 |
34 | def tearDown(self):
35 | pass
36 |
37 | def testJobSearchResponseFacettenInner(self):
38 | """Test JobSearchResponseFacettenInner"""
39 | # FIXME: construct object with mandatory attributes with example values
40 | # model = JobSearchResponseFacettenInner() # noqa: E501
41 | pass
42 |
43 |
44 | if __name__ == "__main__":
45 | unittest.main()
46 |
--------------------------------------------------------------------------------
/python-client/test/test_job_search_response_facetten_inner_befristung.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_search_response_facetten_inner_befristung import (
15 | JobSearchResponseFacettenInnerBefristung,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 |
21 | class TestJobSearchResponseFacettenInnerBefristung(unittest.TestCase):
22 | """JobSearchResponseFacettenInnerBefristung unit test stubs"""
23 |
24 | def setUp(self):
25 | pass
26 |
27 | def tearDown(self):
28 | pass
29 |
30 | def testJobSearchResponseFacettenInnerBefristung(self):
31 | """Test JobSearchResponseFacettenInnerBefristung"""
32 | # FIXME: construct object with mandatory attributes with example values
33 | # model = JobSearchResponseFacettenInnerBefristung() # noqa: E501
34 | pass
35 |
36 |
37 | if __name__ == "__main__":
38 | unittest.main()
39 |
--------------------------------------------------------------------------------
/python-client/test/test_job_search_response_stellenangebote_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort import (
15 | JobSearchResponseStellenangeboteInnerArbeitsort,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 | globals()[
21 | "JobSearchResponseStellenangeboteInnerArbeitsort"
22 | ] = JobSearchResponseStellenangeboteInnerArbeitsort
23 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner import (
24 | JobSearchResponseStellenangeboteInner,
25 | )
26 |
27 |
28 | class TestJobSearchResponseStellenangeboteInner(unittest.TestCase):
29 | """JobSearchResponseStellenangeboteInner unit test stubs"""
30 |
31 | def setUp(self):
32 | pass
33 |
34 | def tearDown(self):
35 | pass
36 |
37 | def testJobSearchResponseStellenangeboteInner(self):
38 | """Test JobSearchResponseStellenangeboteInner"""
39 | # FIXME: construct object with mandatory attributes with example values
40 | # model = JobSearchResponseStellenangeboteInner() # noqa: E501
41 | pass
42 |
43 |
44 | if __name__ == "__main__":
45 | unittest.main()
46 |
--------------------------------------------------------------------------------
/python-client/test/test_job_search_response_stellenangebote_inner_arbeitsort.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort_koordinaten import (
15 | JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 | globals()[
21 | "JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten"
22 | ] = JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten
23 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort import (
24 | JobSearchResponseStellenangeboteInnerArbeitsort,
25 | )
26 |
27 |
28 | class TestJobSearchResponseStellenangeboteInnerArbeitsort(unittest.TestCase):
29 | """JobSearchResponseStellenangeboteInnerArbeitsort unit test stubs"""
30 |
31 | def setUp(self):
32 | pass
33 |
34 | def tearDown(self):
35 | pass
36 |
37 | def testJobSearchResponseStellenangeboteInnerArbeitsort(self):
38 | """Test JobSearchResponseStellenangeboteInnerArbeitsort"""
39 | # FIXME: construct object with mandatory attributes with example values
40 | # model = JobSearchResponseStellenangeboteInnerArbeitsort() # noqa: E501
41 | pass
42 |
43 |
44 | if __name__ == "__main__":
45 | unittest.main()
46 |
--------------------------------------------------------------------------------
/python-client/test/test_job_search_response_stellenangebote_inner_arbeitsort_koordinaten.py:
--------------------------------------------------------------------------------
1 | """
2 | Arbeitsagentur Jobsuche API
3 |
4 | Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert über die clientId:
clientId: jobboerse-jobsuche
Bei folgenden GET-requests ist die clientId als Header-Parameter 'X-API-Key' zu übergeben. # noqa: E501
5 |
6 | The version of the OpenAPI document: 2.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 | import sys
12 | import unittest
13 |
14 | from deutschland.jobsuche.model.job_search_response_stellenangebote_inner_arbeitsort_koordinaten import (
15 | JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten,
16 | )
17 |
18 | from deutschland import jobsuche
19 |
20 |
21 | class TestJobSearchResponseStellenangeboteInnerArbeitsortKoordinaten(unittest.TestCase):
22 | """JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten unit test stubs"""
23 |
24 | def setUp(self):
25 | pass
26 |
27 | def tearDown(self):
28 | pass
29 |
30 | def testJobSearchResponseStellenangeboteInnerArbeitsortKoordinaten(self):
31 | """Test JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten"""
32 | # FIXME: construct object with mandatory attributes with example values
33 | # model = JobSearchResponseStellenangeboteInnerArbeitsortKoordinaten() # noqa: E501
34 | pass
35 |
36 |
37 | if __name__ == "__main__":
38 | unittest.main()
39 |
--------------------------------------------------------------------------------
/python-client/tox.ini:
--------------------------------------------------------------------------------
1 | [tox]
2 | envlist = py3
3 |
4 | [testenv]
5 | deps=-r{toxinidir}/requirements.txt
6 | -r{toxinidir}/test-requirements.txt
7 |
8 | commands=
9 | pytest --cov=jobsuche
10 |
--------------------------------------------------------------------------------