├── .github
└── workflows
│ ├── deutschland_generator.yaml
│ └── openapi_check.yaml
├── CNAME
├── README.md
├── generator_config.yaml
├── index.html
├── openapi.yaml
└── python-client
├── .openapi-generator-ignore
├── .openapi-generator
├── FILES
└── VERSION
├── README.md
├── deutschland
└── interpol
│ ├── __init__.py
│ ├── api
│ ├── __init__.py
│ └── default_api.py
│ ├── api_client.py
│ ├── apis
│ └── __init__.py
│ ├── configuration.py
│ ├── exceptions.py
│ ├── model
│ ├── __init__.py
│ ├── red_notice_detail.py
│ ├── red_notice_detail_arrest_warrants_inner.py
│ ├── red_notice_detail_embedded.py
│ ├── red_notice_detail_images.py
│ ├── red_notice_detail_images_embedded.py
│ ├── red_notice_detail_images_embedded_images_inner.py
│ ├── red_notice_detail_images_embedded_images_inner_links.py
│ ├── red_notice_detail_images_embedded_images_inner_links_self.py
│ ├── red_notice_detail_images_links.py
│ ├── red_notice_detail_images_links_notice.py
│ ├── red_notice_detail_images_links_self.py
│ ├── red_notice_detail_images_links_thumbnail.py
│ ├── red_notice_detail_links.py
│ ├── red_notices.py
│ ├── red_notices_embedded.py
│ ├── red_notices_links.py
│ ├── red_notices_links_last.py
│ ├── red_notices_links_next.py
│ ├── red_notices_links_self.py
│ ├── red_notices_query.py
│ ├── un_notice_detail.py
│ ├── un_notice_detail_images.py
│ ├── un_notice_detail_images_embedded.py
│ ├── un_notice_detail_images_embedded_images_inner.py
│ ├── un_notice_detail_images_embedded_images_inner_links.py
│ ├── un_notice_detail_images_embedded_images_inner_links_self.py
│ ├── un_notice_detail_images_links.py
│ ├── un_notice_detail_images_links_notice.py
│ ├── un_notice_detail_images_links_self.py
│ ├── un_notice_detail_images_links_thumbnail.py
│ ├── un_notice_detail_links.py
│ ├── un_notice_detail_links_images.py
│ ├── un_notice_detail_links_self.py
│ ├── un_notices.py
│ ├── un_notices_links.py
│ ├── un_notices_links_last.py
│ ├── un_notices_links_next.py
│ ├── un_notices_links_self.py
│ ├── yellow_notice_detail.py
│ ├── yellow_notice_detail_images.py
│ ├── yellow_notice_detail_images_embedded.py
│ ├── yellow_notice_detail_images_embedded_images_inner.py
│ ├── yellow_notice_detail_images_embedded_images_inner_links.py
│ ├── yellow_notice_detail_images_embedded_images_inner_links_self.py
│ ├── yellow_notice_detail_images_links.py
│ ├── yellow_notice_detail_images_links_notice.py
│ ├── yellow_notice_detail_images_links_self.py
│ ├── yellow_notice_detail_links.py
│ ├── yellow_notice_detail_links_images.py
│ ├── yellow_notice_detail_links_self.py
│ ├── yellow_notice_detail_links_thumbnail.py
│ ├── yellow_notices.py
│ ├── yellow_notices_links.py
│ ├── yellow_notices_links_last.py
│ ├── yellow_notices_links_next.py
│ └── yellow_notices_links_self.py
│ ├── model_utils.py
│ ├── models
│ └── __init__.py
│ └── rest.py
├── docs
├── DefaultApi.md
├── RedNoticeDetail.md
├── RedNoticeDetailArrestWarrantsInner.md
├── RedNoticeDetailEmbedded.md
├── RedNoticeDetailImages.md
├── RedNoticeDetailImagesEmbedded.md
├── RedNoticeDetailImagesEmbeddedImagesInner.md
├── RedNoticeDetailImagesEmbeddedImagesInnerLinks.md
├── RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md
├── RedNoticeDetailImagesLinks.md
├── RedNoticeDetailImagesLinksNotice.md
├── RedNoticeDetailImagesLinksSelf.md
├── RedNoticeDetailImagesLinksThumbnail.md
├── RedNoticeDetailLinks.md
├── RedNotices.md
├── RedNoticesEmbedded.md
├── RedNoticesLinks.md
├── RedNoticesLinksLast.md
├── RedNoticesLinksNext.md
├── RedNoticesLinksSelf.md
├── RedNoticesQuery.md
├── UNNoticeDetail.md
├── UNNoticeDetailImages.md
├── UNNoticeDetailImagesEmbedded.md
├── UNNoticeDetailImagesEmbeddedImagesInner.md
├── UNNoticeDetailImagesEmbeddedImagesInnerLinks.md
├── UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md
├── UNNoticeDetailImagesLinks.md
├── UNNoticeDetailImagesLinksNotice.md
├── UNNoticeDetailImagesLinksSelf.md
├── UNNoticeDetailImagesLinksThumbnail.md
├── UNNoticeDetailLinks.md
├── UNNoticeDetailLinksImages.md
├── UNNoticeDetailLinksSelf.md
├── UNNotices.md
├── UNNoticesLinks.md
├── UNNoticesLinksLast.md
├── UNNoticesLinksNext.md
├── UNNoticesLinksSelf.md
├── YellowNoticeDetail.md
├── YellowNoticeDetailImages.md
├── YellowNoticeDetailImagesEmbedded.md
├── YellowNoticeDetailImagesEmbeddedImagesInner.md
├── YellowNoticeDetailImagesEmbeddedImagesInnerLinks.md
├── YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md
├── YellowNoticeDetailImagesLinks.md
├── YellowNoticeDetailImagesLinksNotice.md
├── YellowNoticeDetailImagesLinksSelf.md
├── YellowNoticeDetailLinks.md
├── YellowNoticeDetailLinksImages.md
├── YellowNoticeDetailLinksSelf.md
├── YellowNoticeDetailLinksThumbnail.md
├── YellowNotices.md
├── YellowNoticesLinks.md
├── YellowNoticesLinksLast.md
├── YellowNoticesLinksNext.md
└── YellowNoticesLinksSelf.md
├── pyproject.toml
├── requirements.txt
├── sphinx-docs
├── Makefile
├── conf.py
├── index.rst
├── make.bat
└── source
│ ├── interpol.api.rst
│ ├── interpol.apis.rst
│ ├── interpol.model.rst
│ ├── interpol.models.rst
│ ├── interpol.rst
│ └── modules.rst
├── test-requirements.txt
├── test
├── __init__.py
├── test_default_api.py
├── test_red_notice_detail.py
├── test_red_notice_detail_arrest_warrants_inner.py
├── test_red_notice_detail_embedded.py
├── test_red_notice_detail_images.py
├── test_red_notice_detail_images_embedded.py
├── test_red_notice_detail_images_embedded_images_inner.py
├── test_red_notice_detail_images_embedded_images_inner_links.py
├── test_red_notice_detail_images_embedded_images_inner_links_self.py
├── test_red_notice_detail_images_links.py
├── test_red_notice_detail_images_links_notice.py
├── test_red_notice_detail_images_links_self.py
├── test_red_notice_detail_images_links_thumbnail.py
├── test_red_notice_detail_links.py
├── test_red_notices.py
├── test_red_notices_embedded.py
├── test_red_notices_links.py
├── test_red_notices_links_last.py
├── test_red_notices_links_next.py
├── test_red_notices_links_self.py
├── test_red_notices_query.py
├── test_un_notice_detail.py
├── test_un_notice_detail_images.py
├── test_un_notice_detail_images_embedded.py
├── test_un_notice_detail_images_embedded_images_inner.py
├── test_un_notice_detail_images_embedded_images_inner_links.py
├── test_un_notice_detail_images_embedded_images_inner_links_self.py
├── test_un_notice_detail_images_links.py
├── test_un_notice_detail_images_links_notice.py
├── test_un_notice_detail_images_links_self.py
├── test_un_notice_detail_images_links_thumbnail.py
├── test_un_notice_detail_links.py
├── test_un_notice_detail_links_images.py
├── test_un_notice_detail_links_self.py
├── test_un_notices.py
├── test_un_notices_links.py
├── test_un_notices_links_last.py
├── test_un_notices_links_next.py
├── test_un_notices_links_self.py
├── test_yellow_notice_detail.py
├── test_yellow_notice_detail_images.py
├── test_yellow_notice_detail_images_embedded.py
├── test_yellow_notice_detail_images_embedded_images_inner.py
├── test_yellow_notice_detail_images_embedded_images_inner_links.py
├── test_yellow_notice_detail_images_embedded_images_inner_links_self.py
├── test_yellow_notice_detail_images_links.py
├── test_yellow_notice_detail_images_links_notice.py
├── test_yellow_notice_detail_images_links_self.py
├── test_yellow_notice_detail_links.py
├── test_yellow_notice_detail_links_images.py
├── test_yellow_notice_detail_links_self.py
├── test_yellow_notice_detail_links_thumbnail.py
├── test_yellow_notices.py
├── test_yellow_notices_links.py
├── test_yellow_notices_links_last.py
├── test_yellow_notices_links_next.py
└── test_yellow_notices_links_self.py
└── tox.ini
/.github/workflows/deutschland_generator.yaml:
--------------------------------------------------------------------------------
1 | on: [push]
2 | jobs:
3 | deutschland_generation:
4 | name: "Deutschland Generation"
5 | runs-on: ubuntu-latest
6 | strategy:
7 | fail-fast: false
8 | matrix:
9 | python-version: ['3.7.8' ]
10 | steps:
11 | - uses: actions/checkout@v2
12 |
13 | # Create default .spectral.yaml file used for linting if its not existing already
14 | - name: "Create spectral file if it not exists"
15 | continue-on-error: true
16 | run: |
17 | set -C; echo "extends: spectral:oas" > .spectral.yaml
18 | # Runs a single command using the runners shell
19 | - name: "Lint file"
20 | uses: stoplightio/spectral-action@v0.8.2
21 | with:
22 | file_glob: "openapi.yaml"
23 |
24 | - name: "Generate deutschland code"
25 | uses: wirthual/deutschland-generator-action@latest
26 | with:
27 | openapi-file: ${{ github.workspace }}/openapi.yaml
28 | commit-to-git: true
29 | upload-to-pypi: true
30 | upload-to-testpypi: false
31 | pypi-token: ${{ secrets.PYPI_PRODUCTION }}
32 | testpypi-token: ${{ secrets.PYPI_TEST }}
33 | python-version: ${{ matrix.python-version }}
34 |
--------------------------------------------------------------------------------
/.github/workflows/openapi_check.yaml:
--------------------------------------------------------------------------------
1 | on: [push, pull_request]
2 | jobs:
3 | openapi_check:
4 | name: "OpenAPI check"
5 | runs-on: ubuntu-latest
6 | steps:
7 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
8 | - uses: actions/checkout@v2
9 |
10 | # Create default .spectral.yaml file used for linting if its not existing already
11 | - name: "Create spectral file if it not exists"
12 | continue-on-error: true
13 | run: |
14 | set -C; echo "extends: spectral:oas" > .spectral.yaml
15 |
16 | # Run Spectral
17 | - uses: stoplightio/spectral-action@v0.8.2
18 | with:
19 | file_glob: openapi.yaml
20 | spectral_ruleset: .spectral.yaml
21 |
--------------------------------------------------------------------------------
/CNAME:
--------------------------------------------------------------------------------
1 | interpol.api.bund.dev
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Interpol Notices API
2 |
3 | Die API erlaubt den Zugriff auf Interpols Red Notices, Yellow Notices sowie United Nations Security Council Special Notices (UN Notices).
4 |
5 | Interpol zufolge ist eine Red Notice eine Aufforderung an die Strafverfolgungsbehörden weltweit, eine Person bis zu Auslieferung, Übergabe oder ähnlichen rechtlichen Schritten ausfindig zu machen und vorläufig festzunehmen (cf. https://www.interpol.int/How-we-work/Notices/Red-Notices).
6 | Eine Red Notice enthält zwei Haupttypen von Informationen:
7 | * Informationen zur Identifizierung der gesuchten Person, wie Name, Geburtsdatum, Nationalität, Haar- und Augenfarbe, Fotos und Fingerabdrücke, sofern verfügbar;
8 | * Informationen im Zusammenhang mit dem Verbrechen, für das sie gesucht werden, was typischerweise Mord, Vergewaltigung, Kindesmissbrauch oder bewaffneter Raub sein kann.
9 |
10 | Eine Yellow Notice ist demgegenüber ein globaler Hinweis auf eine vermisste Person. Es wird für Opfer von elterlichen Entführungen, kriminellen Entführungen (Kidnappings) oder ungeklärtem Verschwinden ausgestellt (cf. https://www.interpol.int/en/How-we-work/Notices/Yellow-Notices).
11 |
12 | Eine UN Notice warnt die Polizei weltweit vor Einzelpersonen und Organisationen, die Sanktionen des Sicherheitsrats der Vereinten Nationen unterliegen (cf. https://www.interpol.int/How-we-work/Notices/INTERPOL-United-Nations-Security-Council-Special-Notices).
13 |
14 |
15 | ## Red Notices
16 |
17 |
18 | ***URL:*** https://ws-public.interpol.int/notices/v1/red
19 |
20 |
21 | Die API ermöglicht, verfügbare Red Notices über folgende Parameter eines GET-requests zu filtern:
22 |
23 |
24 | **Parameter:** *forename* (Optional)
25 |
26 | Vorname (z.B. MAX).
27 |
28 |
29 | **Parameter:** *name* (Optional)
30 |
31 | Nachname (z.B. Mustermann).
32 |
33 |
34 | **Parameter:** *nationality* (Optional)
35 |
36 | Nationalität (z.B. DE).
37 |
38 |
39 | **Parameter:** *ageMax* (Optional)
40 |
41 | Maximalalter (z.B. 120).
42 |
43 |
44 | **Parameter:** *ageMin* (Optional)
45 |
46 | Minimalalter (z.B. 18).
47 |
48 |
49 | **Parameter:** *freeText* (Optional)
50 |
51 | Freitextanfrage.
52 |
53 |
54 | **Parameter:** *sexId* (Optional)
55 |
56 | Geschlechterkürzel (z.B. "F","M","U","").
57 |
58 |
59 | **Parameter:** *arrestWarrantCountryId* (Optional)
60 |
61 | Land des Haftbefehlursprungs (z.B. DE).
62 |
63 |
64 | **Parameter:** *page* (Optional)
65 |
66 | Seite (z.B. 1).
67 |
68 |
69 | **Parameter:** *resultPerPage* (Optional)
70 |
71 | Ergebnisse pro Seite (z.B. 200)
72 |
73 |
74 | ## Red Notice Details
75 |
76 | ***URL:*** https://ws-public.interpol.int/notices/v1/red/{noticeID}
77 |
78 |
79 | Die API ermöglicht, Details zu einzelnen Red Notices über den Pfad-Parameter *noticeID* (z.B. 1993-27493) eines GET-requests anzufragen.
80 |
81 |
82 | ## Red Notice Images
83 |
84 | ***URL:*** https://ws-public.interpol.int/notices/v1/red/{noticeID}/images
85 |
86 |
87 | Die API ermöglicht, Images zu einzelnen Red Notices über den Pfad-Parameter *noticeID* (z.B. 1993-27493) eines GET-requests anzufragen.
88 |
89 |
90 | ## Yellow Notices
91 |
92 |
93 | ***URL:*** https://ws-public.interpol.int/notices/v1/yellow
94 |
95 | Die API ermöglicht, verfügbare Yellow Notices über folgende Parameter eines GET-requests zu filtern:
96 |
97 |
98 | **Parameter:** *forename* (Optional)
99 |
100 | Vorname (z.B. MAX).
101 |
102 |
103 | **Parameter:** *name* (Optional)
104 |
105 | Nachname (z.B. Mustermann).
106 |
107 |
108 | **Parameter:** *nationality* (Optional)
109 |
110 | Nationalität (z.B. DE).
111 |
112 |
113 | **Parameter:** *ageMax* (Optional)
114 |
115 | Maximalalter (z.B. 120).
116 |
117 |
118 | **Parameter:** *ageMin* (Optional)
119 |
120 | Minimalalter (z.B. 18).
121 |
122 |
123 | **Parameter:** *freeText* (Optional)
124 |
125 | Freitextanfrage.
126 |
127 |
128 | **Parameter:** *sexId* (Optional)
129 |
130 | Geschlechterkürzel (z.B. "F","M","U","").
131 |
132 |
133 | **Parameter:** *page* (Optional)
134 |
135 | Seite (z.B. 1).
136 |
137 |
138 | **Parameter:** *resultPerPage* (Optional)
139 |
140 | Ergebnisse pro Seite (z.B. 200)
141 |
142 |
143 | ## Yellow Notice Details
144 |
145 | ***URL:*** https://ws-public.interpol.int/notices/v1/yellow/{noticeID}
146 |
147 |
148 | Die API ermöglicht, Details zu einzelnen Yellow Notices über den Pfad-Parameter *noticeID* (z.B. 2014-5590) eines GET-requests anzufragen.
149 |
150 |
151 | ## Yellow Notice Images
152 |
153 | ***URL:*** https://ws-public.interpol.int/notices/v1/yellow/{noticeID}/images
154 |
155 |
156 | Die API ermöglicht, Images zu einzelnen Yellow Notices über den Pfad-Parameter *noticeID* (z.B. 2014-5590) eines GET-requests anzufragen.
157 |
158 |
159 |
160 | ## UN Notices
161 |
162 |
163 | ***URL:*** https://ws-public.interpol.int/notices/v1/un
164 |
165 | Die API ermöglicht, verfügbare UN Notices über folgende Parameter eines GET-requests zu filtern:
166 |
167 |
168 | **Parameter:** *name* (Optional)
169 |
170 | Nachname (z.B. Mustermann).
171 |
172 |
173 | **Parameter:** *unReference* (Optional)
174 |
175 | UN-Referenz (Freitext).
176 |
177 |
178 | **Parameter:** *unResolution* (Optional)
179 |
180 | UN-Resolution (z.B. 1267).
181 |
182 |
183 | **Parameter:** *page* (Optional)
184 |
185 | Seite (z.B. 1).
186 |
187 |
188 | **Parameter:** *resultPerPage* (Optional)
189 |
190 | Ergebnisse pro Seite (z.B. 200)
191 |
192 |
193 | ## UN Notice Details
194 |
195 | ***URL:*** https://ws-public.interpol.int/notices/v1/un/{noticeType}/{noticeID}
196 |
197 |
198 | Die API ermöglicht, Details zu einzelnen UN Notices über die Pfad-Parameter *noticeType* (entweder "persons" oder "entities") und *noticeID* (z.B. 2021-84506) eines GET-requests anzufragen.
199 |
200 |
201 | ## UN Notice Images
202 |
203 | ***URL:*** https://ws-public.interpol.int/notices/v1/un/{noticeType}/{noticeID}/images
204 |
205 |
206 | Die API ermöglicht, Images zu einzelnen UN Notices über die Pfad-Parameter *noticeType* (entweder "persons" oder "entities") und *noticeID* (z.B. 2021-84506) eines GET-requests anzufragen.
207 |
208 |
209 | ## Beispiel
210 |
211 | ```bash
212 | redNotices=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/red?nationality=DE')
213 | redNoticeDetails=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/red/1993-27493')
214 | redNoticeImages=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/red/1993-27493/images')
215 | yellowNotices=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/yellow?nationality=DE')
216 | yellowNoticeDetails=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/yellow/2014-5590')
217 | yellowNoticeImages=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/yellow/2014-5590/images')
218 | UNNotices=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/yellow?nationality=DE')
219 | UNNoticeDetails=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/un/persons/2021-84506')
220 | UNNoticeImages=$(curl -m 60 'https://ws-public.interpol.int/notices/v1/un/persons/2021-84506/images')
221 | ```
222 |
--------------------------------------------------------------------------------
/generator_config.yaml:
--------------------------------------------------------------------------------
1 | templateDir: deutschland_templates # For local use: ./local/deutschland_templates
2 | additionalProperties:
3 | packageName: "interpol"
4 | infoName: "BundesAPI"
5 | infoEmail: "kontakt@bund.dev"
6 | packageVersion: 0.1.0
7 | packageUrl: "https://github.com/bundesAPI/interpol-api"
8 | namespace: "deutschland"
9 | docLanguage: "de"
10 | gitHost: "github.com"
11 | gitUserId: "bundesAPI"
12 | gitRepoId: "interpol-api"
13 | files:
14 | pyproject.mustache:
15 | destinationFilename: pyproject.toml
16 | templateType: SupportingFiles
17 | requirements.txt: {}
18 | create_doc.mustache:
19 | destinationFilename: create_doc.py
20 | templateType: SupportingFiles
21 | rename_generated_code.mustache:
22 | destinationFilename: rename_generated_code.py
23 | templateType: SupportingFiles
24 | README.mustache:
25 | destinationFilename: README.md
26 | templateType: SupportingFiles
27 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Interpol Notices API - OpenAPI Documentation
8 |
9 |
10 |
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/RedNoticeDetail.md
9 | docs/RedNoticeDetailArrestWarrantsInner.md
10 | docs/RedNoticeDetailEmbedded.md
11 | docs/RedNoticeDetailImages.md
12 | docs/RedNoticeDetailImagesEmbedded.md
13 | docs/RedNoticeDetailImagesEmbeddedImagesInner.md
14 | docs/RedNoticeDetailImagesEmbeddedImagesInnerLinks.md
15 | docs/RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md
16 | docs/RedNoticeDetailImagesLinks.md
17 | docs/RedNoticeDetailImagesLinksNotice.md
18 | docs/RedNoticeDetailImagesLinksSelf.md
19 | docs/RedNoticeDetailImagesLinksThumbnail.md
20 | docs/RedNoticeDetailLinks.md
21 | docs/RedNotices.md
22 | docs/RedNoticesEmbedded.md
23 | docs/RedNoticesLinks.md
24 | docs/RedNoticesLinksLast.md
25 | docs/RedNoticesLinksNext.md
26 | docs/RedNoticesLinksSelf.md
27 | docs/RedNoticesQuery.md
28 | docs/UNNoticeDetail.md
29 | docs/UNNoticeDetailImages.md
30 | docs/UNNoticeDetailImagesEmbedded.md
31 | docs/UNNoticeDetailImagesEmbeddedImagesInner.md
32 | docs/UNNoticeDetailImagesEmbeddedImagesInnerLinks.md
33 | docs/UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md
34 | docs/UNNoticeDetailImagesLinks.md
35 | docs/UNNoticeDetailImagesLinksNotice.md
36 | docs/UNNoticeDetailImagesLinksSelf.md
37 | docs/UNNoticeDetailImagesLinksThumbnail.md
38 | docs/UNNoticeDetailLinks.md
39 | docs/UNNoticeDetailLinksImages.md
40 | docs/UNNoticeDetailLinksSelf.md
41 | docs/UNNotices.md
42 | docs/UNNoticesLinks.md
43 | docs/UNNoticesLinksLast.md
44 | docs/UNNoticesLinksNext.md
45 | docs/UNNoticesLinksSelf.md
46 | docs/YellowNoticeDetail.md
47 | docs/YellowNoticeDetailImages.md
48 | docs/YellowNoticeDetailImagesEmbedded.md
49 | docs/YellowNoticeDetailImagesEmbeddedImagesInner.md
50 | docs/YellowNoticeDetailImagesEmbeddedImagesInnerLinks.md
51 | docs/YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md
52 | docs/YellowNoticeDetailImagesLinks.md
53 | docs/YellowNoticeDetailImagesLinksNotice.md
54 | docs/YellowNoticeDetailImagesLinksSelf.md
55 | docs/YellowNoticeDetailLinks.md
56 | docs/YellowNoticeDetailLinksImages.md
57 | docs/YellowNoticeDetailLinksSelf.md
58 | docs/YellowNoticeDetailLinksThumbnail.md
59 | docs/YellowNotices.md
60 | docs/YellowNoticesLinks.md
61 | docs/YellowNoticesLinksLast.md
62 | docs/YellowNoticesLinksNext.md
63 | docs/YellowNoticesLinksSelf.md
64 | git_push.sh
65 | interpol/__init__.py
66 | interpol/api/__init__.py
67 | interpol/api/default_api.py
68 | interpol/api_client.py
69 | interpol/apis/__init__.py
70 | interpol/configuration.py
71 | interpol/exceptions.py
72 | interpol/model/__init__.py
73 | interpol/model/red_notice_detail.py
74 | interpol/model/red_notice_detail_arrest_warrants_inner.py
75 | interpol/model/red_notice_detail_embedded.py
76 | interpol/model/red_notice_detail_images.py
77 | interpol/model/red_notice_detail_images_embedded.py
78 | interpol/model/red_notice_detail_images_embedded_images_inner.py
79 | interpol/model/red_notice_detail_images_embedded_images_inner_links.py
80 | interpol/model/red_notice_detail_images_embedded_images_inner_links_self.py
81 | interpol/model/red_notice_detail_images_links.py
82 | interpol/model/red_notice_detail_images_links_notice.py
83 | interpol/model/red_notice_detail_images_links_self.py
84 | interpol/model/red_notice_detail_images_links_thumbnail.py
85 | interpol/model/red_notice_detail_links.py
86 | interpol/model/red_notices.py
87 | interpol/model/red_notices_embedded.py
88 | interpol/model/red_notices_links.py
89 | interpol/model/red_notices_links_last.py
90 | interpol/model/red_notices_links_next.py
91 | interpol/model/red_notices_links_self.py
92 | interpol/model/red_notices_query.py
93 | interpol/model/un_notice_detail.py
94 | interpol/model/un_notice_detail_images.py
95 | interpol/model/un_notice_detail_images_embedded.py
96 | interpol/model/un_notice_detail_images_embedded_images_inner.py
97 | interpol/model/un_notice_detail_images_embedded_images_inner_links.py
98 | interpol/model/un_notice_detail_images_embedded_images_inner_links_self.py
99 | interpol/model/un_notice_detail_images_links.py
100 | interpol/model/un_notice_detail_images_links_notice.py
101 | interpol/model/un_notice_detail_images_links_self.py
102 | interpol/model/un_notice_detail_images_links_thumbnail.py
103 | interpol/model/un_notice_detail_links.py
104 | interpol/model/un_notice_detail_links_images.py
105 | interpol/model/un_notice_detail_links_self.py
106 | interpol/model/un_notices.py
107 | interpol/model/un_notices_links.py
108 | interpol/model/un_notices_links_last.py
109 | interpol/model/un_notices_links_next.py
110 | interpol/model/un_notices_links_self.py
111 | interpol/model/yellow_notice_detail.py
112 | interpol/model/yellow_notice_detail_images.py
113 | interpol/model/yellow_notice_detail_images_embedded.py
114 | interpol/model/yellow_notice_detail_images_embedded_images_inner.py
115 | interpol/model/yellow_notice_detail_images_embedded_images_inner_links.py
116 | interpol/model/yellow_notice_detail_images_embedded_images_inner_links_self.py
117 | interpol/model/yellow_notice_detail_images_links.py
118 | interpol/model/yellow_notice_detail_images_links_notice.py
119 | interpol/model/yellow_notice_detail_images_links_self.py
120 | interpol/model/yellow_notice_detail_links.py
121 | interpol/model/yellow_notice_detail_links_images.py
122 | interpol/model/yellow_notice_detail_links_self.py
123 | interpol/model/yellow_notice_detail_links_thumbnail.py
124 | interpol/model/yellow_notices.py
125 | interpol/model/yellow_notices_links.py
126 | interpol/model/yellow_notices_links_last.py
127 | interpol/model/yellow_notices_links_next.py
128 | interpol/model/yellow_notices_links_self.py
129 | interpol/model_utils.py
130 | interpol/models/__init__.py
131 | interpol/rest.py
132 | pyproject.toml
133 | rename_generated_code.py
134 | requirements.txt
135 | requirements.txt
136 | setup.cfg
137 | setup.py
138 | test-requirements.txt
139 | test/__init__.py
140 | test/test_default_api.py
141 | test/test_red_notice_detail.py
142 | test/test_red_notice_detail_arrest_warrants_inner.py
143 | test/test_red_notice_detail_embedded.py
144 | test/test_red_notice_detail_images.py
145 | test/test_red_notice_detail_images_embedded.py
146 | test/test_red_notice_detail_images_embedded_images_inner.py
147 | test/test_red_notice_detail_images_embedded_images_inner_links.py
148 | test/test_red_notice_detail_images_embedded_images_inner_links_self.py
149 | test/test_red_notice_detail_images_links.py
150 | test/test_red_notice_detail_images_links_notice.py
151 | test/test_red_notice_detail_images_links_self.py
152 | test/test_red_notice_detail_images_links_thumbnail.py
153 | test/test_red_notice_detail_links.py
154 | test/test_red_notices.py
155 | test/test_red_notices_embedded.py
156 | test/test_red_notices_links.py
157 | test/test_red_notices_links_last.py
158 | test/test_red_notices_links_next.py
159 | test/test_red_notices_links_self.py
160 | test/test_red_notices_query.py
161 | test/test_un_notice_detail.py
162 | test/test_un_notice_detail_images.py
163 | test/test_un_notice_detail_images_embedded.py
164 | test/test_un_notice_detail_images_embedded_images_inner.py
165 | test/test_un_notice_detail_images_embedded_images_inner_links.py
166 | test/test_un_notice_detail_images_embedded_images_inner_links_self.py
167 | test/test_un_notice_detail_images_links.py
168 | test/test_un_notice_detail_images_links_notice.py
169 | test/test_un_notice_detail_images_links_self.py
170 | test/test_un_notice_detail_images_links_thumbnail.py
171 | test/test_un_notice_detail_links.py
172 | test/test_un_notice_detail_links_images.py
173 | test/test_un_notice_detail_links_self.py
174 | test/test_un_notices.py
175 | test/test_un_notices_links.py
176 | test/test_un_notices_links_last.py
177 | test/test_un_notices_links_next.py
178 | test/test_un_notices_links_self.py
179 | test/test_yellow_notice_detail.py
180 | test/test_yellow_notice_detail_images.py
181 | test/test_yellow_notice_detail_images_embedded.py
182 | test/test_yellow_notice_detail_images_embedded_images_inner.py
183 | test/test_yellow_notice_detail_images_embedded_images_inner_links.py
184 | test/test_yellow_notice_detail_images_embedded_images_inner_links_self.py
185 | test/test_yellow_notice_detail_images_links.py
186 | test/test_yellow_notice_detail_images_links_notice.py
187 | test/test_yellow_notice_detail_images_links_self.py
188 | test/test_yellow_notice_detail_links.py
189 | test/test_yellow_notice_detail_links_images.py
190 | test/test_yellow_notice_detail_links_self.py
191 | test/test_yellow_notice_detail_links_thumbnail.py
192 | test/test_yellow_notices.py
193 | test/test_yellow_notices_links.py
194 | test/test_yellow_notices_links_last.py
195 | test/test_yellow_notices_links_next.py
196 | test/test_yellow_notices_links_self.py
197 | tox.ini
198 |
--------------------------------------------------------------------------------
/python-client/.openapi-generator/VERSION:
--------------------------------------------------------------------------------
1 | 6.1.0-SNAPSHOT
--------------------------------------------------------------------------------
/python-client/README.md:
--------------------------------------------------------------------------------
1 | # interpol
2 | Interpol Red, Yellow and UN Notices API
3 |
4 | This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5 |
6 | - API version: 1.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[interpol]
19 | ```
20 |
21 | ### poetry install
22 |
23 | ```sh
24 | poetry add deutschland -E interpol
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 interpol
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 interpol
51 | from pprint import pprint
52 | from deutschland.interpol.api import default_api
53 | from deutschland.interpol.model.red_notice_detail import RedNoticeDetail
54 | from deutschland.interpol.model.red_notice_detail_images import RedNoticeDetailImages
55 | from deutschland.interpol.model.red_notices import RedNotices
56 | from deutschland.interpol.model.un_notice_detail_images import UNNoticeDetailImages
57 | from deutschland.interpol.model.un_notices import UNNotices
58 | from deutschland.interpol.model.yellow_notice_detail import YellowNoticeDetail
59 | from deutschland.interpol.model.yellow_notice_detail_images import YellowNoticeDetailImages
60 | from deutschland.interpol.model.yellow_notices import YellowNotices
61 | # Defining the host is optional and defaults to https://ws-public.interpol.int
62 | # See configuration.py for a list of all supported configuration parameters.
63 | configuration = interpol.Configuration(
64 | host = "https://ws-public.interpol.int"
65 | )
66 |
67 |
68 |
69 | # Enter a context with an instance of the API client
70 | with interpol.ApiClient(configuration) as api_client:
71 | # Create an instance of the API class
72 | api_instance = default_api.DefaultApi(api_client)
73 | forename = "MAX" # str | First name (optional)
74 | name = "Mustermann" # str | Last name (optional)
75 | nationality = "DE" # str | Two digit country code (optional)
76 | age_max = 120 # int | maximum age (optional)
77 | age_min = 18 # int | minimum age (optional)
78 | free_text = "" # str | Free text query (optional)
79 | sex_id = "F" # str | Free text query (optional)
80 | arrest_warrant_country_id = "DE" # str | Two digit country code (optional)
81 | page = 1 # int | pagination - starts with 1 (optional)
82 | result_per_page = 200 # int | resultPerPage (optional)
83 |
84 | try:
85 | # Get Red Notices
86 | api_response = api_instance.notices_v1_red_get(forename=forename, name=name, nationality=nationality, age_max=age_max, age_min=age_min, free_text=free_text, sex_id=sex_id, arrest_warrant_country_id=arrest_warrant_country_id, page=page, result_per_page=result_per_page)
87 | pprint(api_response)
88 | except interpol.ApiException as e:
89 | print("Exception when calling DefaultApi->notices_v1_red_get: %s\n" % e)
90 | ```
91 |
92 | ## Documentation for API Endpoints
93 |
94 | All URIs are relative to *https://ws-public.interpol.int*
95 |
96 | Class | Method | HTTP request | Description
97 | ------------ | ------------- | ------------- | -------------
98 | *DefaultApi* | [**notices_v1_red_get**](docs/DefaultApi.md#notices_v1_red_get) | **GET** /notices/v1/red | Get Red Notices
99 | *DefaultApi* | [**notices_v1_red_notice_id_get**](docs/DefaultApi.md#notices_v1_red_notice_id_get) | **GET** /notices/v1/red/{noticeID} | Get Red Notice Details
100 | *DefaultApi* | [**notices_v1_red_notice_id_images_get**](docs/DefaultApi.md#notices_v1_red_notice_id_images_get) | **GET** /notices/v1/red/{noticeID}/images | Get Red Notice Images
101 | *DefaultApi* | [**notices_v1_un_get**](docs/DefaultApi.md#notices_v1_un_get) | **GET** /notices/v1/un | Get UN Notices
102 | *DefaultApi* | [**notices_v1_un_notice_type_notice_id_get**](docs/DefaultApi.md#notices_v1_un_notice_type_notice_id_get) | **GET** /notices/v1/un/{noticeType}/{noticeID} | Get UN Notice Details
103 | *DefaultApi* | [**notices_v1_un_notice_type_notice_id_images_get**](docs/DefaultApi.md#notices_v1_un_notice_type_notice_id_images_get) | **GET** /notices/v1/un/{noticeType}/{noticeID}/images | Get UN Notice Images
104 | *DefaultApi* | [**notices_v1_yellow_get**](docs/DefaultApi.md#notices_v1_yellow_get) | **GET** /notices/v1/yellow | Get Yellow Notices
105 | *DefaultApi* | [**notices_v1_yellow_notice_id_get**](docs/DefaultApi.md#notices_v1_yellow_notice_id_get) | **GET** /notices/v1/yellow/{noticeID} | Get Yellow Notice Details
106 | *DefaultApi* | [**notices_v1_yellow_notice_id_images_get**](docs/DefaultApi.md#notices_v1_yellow_notice_id_images_get) | **GET** /notices/v1/yellow/{noticeID}/images | Get Yellow Notice Images
107 |
108 |
109 | ## Documentation For Models
110 |
111 | - [RedNoticeDetail](docs/RedNoticeDetail.md)
112 | - [RedNoticeDetailArrestWarrantsInner](docs/RedNoticeDetailArrestWarrantsInner.md)
113 | - [RedNoticeDetailEmbedded](docs/RedNoticeDetailEmbedded.md)
114 | - [RedNoticeDetailImages](docs/RedNoticeDetailImages.md)
115 | - [RedNoticeDetailImagesEmbedded](docs/RedNoticeDetailImagesEmbedded.md)
116 | - [RedNoticeDetailImagesEmbeddedImagesInner](docs/RedNoticeDetailImagesEmbeddedImagesInner.md)
117 | - [RedNoticeDetailImagesEmbeddedImagesInnerLinks](docs/RedNoticeDetailImagesEmbeddedImagesInnerLinks.md)
118 | - [RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf](docs/RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md)
119 | - [RedNoticeDetailImagesLinks](docs/RedNoticeDetailImagesLinks.md)
120 | - [RedNoticeDetailImagesLinksNotice](docs/RedNoticeDetailImagesLinksNotice.md)
121 | - [RedNoticeDetailImagesLinksSelf](docs/RedNoticeDetailImagesLinksSelf.md)
122 | - [RedNoticeDetailImagesLinksThumbnail](docs/RedNoticeDetailImagesLinksThumbnail.md)
123 | - [RedNoticeDetailLinks](docs/RedNoticeDetailLinks.md)
124 | - [RedNotices](docs/RedNotices.md)
125 | - [RedNoticesEmbedded](docs/RedNoticesEmbedded.md)
126 | - [RedNoticesLinks](docs/RedNoticesLinks.md)
127 | - [RedNoticesLinksLast](docs/RedNoticesLinksLast.md)
128 | - [RedNoticesLinksNext](docs/RedNoticesLinksNext.md)
129 | - [RedNoticesLinksSelf](docs/RedNoticesLinksSelf.md)
130 | - [RedNoticesQuery](docs/RedNoticesQuery.md)
131 | - [UNNoticeDetail](docs/UNNoticeDetail.md)
132 | - [UNNoticeDetailImages](docs/UNNoticeDetailImages.md)
133 | - [UNNoticeDetailImagesEmbedded](docs/UNNoticeDetailImagesEmbedded.md)
134 | - [UNNoticeDetailImagesEmbeddedImagesInner](docs/UNNoticeDetailImagesEmbeddedImagesInner.md)
135 | - [UNNoticeDetailImagesEmbeddedImagesInnerLinks](docs/UNNoticeDetailImagesEmbeddedImagesInnerLinks.md)
136 | - [UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf](docs/UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md)
137 | - [UNNoticeDetailImagesLinks](docs/UNNoticeDetailImagesLinks.md)
138 | - [UNNoticeDetailImagesLinksNotice](docs/UNNoticeDetailImagesLinksNotice.md)
139 | - [UNNoticeDetailImagesLinksSelf](docs/UNNoticeDetailImagesLinksSelf.md)
140 | - [UNNoticeDetailImagesLinksThumbnail](docs/UNNoticeDetailImagesLinksThumbnail.md)
141 | - [UNNoticeDetailLinks](docs/UNNoticeDetailLinks.md)
142 | - [UNNoticeDetailLinksImages](docs/UNNoticeDetailLinksImages.md)
143 | - [UNNoticeDetailLinksSelf](docs/UNNoticeDetailLinksSelf.md)
144 | - [UNNotices](docs/UNNotices.md)
145 | - [UNNoticesLinks](docs/UNNoticesLinks.md)
146 | - [UNNoticesLinksLast](docs/UNNoticesLinksLast.md)
147 | - [UNNoticesLinksNext](docs/UNNoticesLinksNext.md)
148 | - [UNNoticesLinksSelf](docs/UNNoticesLinksSelf.md)
149 | - [YellowNoticeDetail](docs/YellowNoticeDetail.md)
150 | - [YellowNoticeDetailImages](docs/YellowNoticeDetailImages.md)
151 | - [YellowNoticeDetailImagesEmbedded](docs/YellowNoticeDetailImagesEmbedded.md)
152 | - [YellowNoticeDetailImagesEmbeddedImagesInner](docs/YellowNoticeDetailImagesEmbeddedImagesInner.md)
153 | - [YellowNoticeDetailImagesEmbeddedImagesInnerLinks](docs/YellowNoticeDetailImagesEmbeddedImagesInnerLinks.md)
154 | - [YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf](docs/YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md)
155 | - [YellowNoticeDetailImagesLinks](docs/YellowNoticeDetailImagesLinks.md)
156 | - [YellowNoticeDetailImagesLinksNotice](docs/YellowNoticeDetailImagesLinksNotice.md)
157 | - [YellowNoticeDetailImagesLinksSelf](docs/YellowNoticeDetailImagesLinksSelf.md)
158 | - [YellowNoticeDetailLinks](docs/YellowNoticeDetailLinks.md)
159 | - [YellowNoticeDetailLinksImages](docs/YellowNoticeDetailLinksImages.md)
160 | - [YellowNoticeDetailLinksSelf](docs/YellowNoticeDetailLinksSelf.md)
161 | - [YellowNoticeDetailLinksThumbnail](docs/YellowNoticeDetailLinksThumbnail.md)
162 | - [YellowNotices](docs/YellowNotices.md)
163 | - [YellowNoticesLinks](docs/YellowNoticesLinks.md)
164 | - [YellowNoticesLinksLast](docs/YellowNoticesLinksLast.md)
165 | - [YellowNoticesLinksNext](docs/YellowNoticesLinksNext.md)
166 | - [YellowNoticesLinksSelf](docs/YellowNoticesLinksSelf.md)
167 |
168 |
169 | ## Documentation For Authorization
170 |
171 | All endpoints do not require authorization.
172 |
173 | ## Author
174 |
175 | kontakt@bund.dev
176 |
177 |
178 | ## Notes for Large OpenAPI documents
179 | If the OpenAPI document is large, imports in interpol.apis and interpol.models may fail with a
180 | RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
181 |
182 | Solution 1:
183 | Use specific imports for apis and models like:
184 | - `from deutschland.interpol.api.default_api import DefaultApi`
185 | - `from deutschland.interpol.model.pet import Pet`
186 |
187 | Solution 2:
188 | Before importing the package, adjust the maximum recursion limit as shown below:
189 | ```
190 | import sys
191 | sys.setrecursionlimit(1500)
192 | from deutschland import interpol
193 | from deutschland.interpol.apis import *
194 | from deutschland.interpol.models import *
195 | ```
196 |
197 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/__init__.py:
--------------------------------------------------------------------------------
1 | # flake8: noqa
2 |
3 | """
4 | Interpol Notices API
5 |
6 | Interpol Red, Yellow and UN Notices API # noqa: E501
7 |
8 | The version of the OpenAPI document: 1.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.interpol.api_client import ApiClient
18 |
19 | # import Configuration
20 | from deutschland.interpol.configuration import Configuration
21 |
22 | # import exceptions
23 | from deutschland.interpol.exceptions import (
24 | ApiAttributeError,
25 | ApiException,
26 | ApiKeyError,
27 | ApiTypeError,
28 | ApiValueError,
29 | OpenApiException,
30 | )
31 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/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.interpol.apis import DefaultApi
4 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/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.interpol.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.interpol.api.default_api import DefaultApi
17 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/exceptions.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.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 | def __init__(self, status=None, reason=None, http_resp=None):
100 | if http_resp:
101 | self.status = http_resp.status
102 | self.reason = http_resp.reason
103 | self.body = http_resp.data
104 | self.headers = http_resp.getheaders()
105 | else:
106 | self.status = status
107 | self.reason = reason
108 | self.body = None
109 | self.headers = None
110 |
111 | def __str__(self):
112 | """Custom error messages for exception"""
113 | error_message = "Status Code: {0}\n" "Reason: {1}\n".format(
114 | self.status, self.reason
115 | )
116 | if self.headers:
117 | error_message += "HTTP response headers: {0}\n".format(self.headers)
118 |
119 | if self.body:
120 | error_message += "HTTP response body: {0}\n".format(self.body)
121 |
122 | return error_message
123 |
124 |
125 | class NotFoundException(ApiException):
126 | def __init__(self, status=None, reason=None, http_resp=None):
127 | super(NotFoundException, self).__init__(status, reason, http_resp)
128 |
129 |
130 | class UnauthorizedException(ApiException):
131 | def __init__(self, status=None, reason=None, http_resp=None):
132 | super(UnauthorizedException, self).__init__(status, reason, http_resp)
133 |
134 |
135 | class ForbiddenException(ApiException):
136 | def __init__(self, status=None, reason=None, http_resp=None):
137 | super(ForbiddenException, self).__init__(status, reason, http_resp)
138 |
139 |
140 | class ServiceException(ApiException):
141 | def __init__(self, status=None, reason=None, http_resp=None):
142 | super(ServiceException, self).__init__(status, reason, http_resp)
143 |
144 |
145 | def render_path(path_to_item):
146 | """Returns a string representation of a path"""
147 | result = ""
148 | for pth in path_to_item:
149 | if isinstance(pth, int):
150 | result += "[{0}]".format(pth)
151 | else:
152 | result += "['{0}']".format(pth)
153 | return result
154 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/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.interpol.models import ModelA, ModelB
6 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/model/un_notices_links_last.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import re # noqa: F401
13 | import sys # noqa: F401
14 |
15 | from deutschland.interpol.exceptions import ApiAttributeError
16 | from deutschland.interpol.model_utils import ( # noqa: F401
17 | ApiTypeError,
18 | ModelComposed,
19 | ModelNormal,
20 | ModelSimple,
21 | OpenApiModel,
22 | cached_property,
23 | change_keys_js_to_python,
24 | convert_js_args_to_python_args,
25 | date,
26 | datetime,
27 | file_type,
28 | none_type,
29 | validate_get_composed_info,
30 | )
31 |
32 |
33 | class UNNoticesLinksLast(ModelNormal):
34 | """NOTE: This class is auto generated by OpenAPI Generator.
35 | Ref: https://openapi-generator.tech
36 |
37 | Do not edit the class manually.
38 |
39 | Attributes:
40 | allowed_values (dict): The key is the tuple path to the attribute
41 | and the for var_name this is (var_name,). The value is a dict
42 | with a capitalized key describing the allowed value and an allowed
43 | value. These dicts store the allowed enum values.
44 | attribute_map (dict): The key is attribute name
45 | and the value is json key in definition.
46 | discriminator_value_class_map (dict): A dict to go from the discriminator
47 | variable value to the discriminator class name.
48 | validations (dict): The key is the tuple path to the attribute
49 | and the for var_name this is (var_name,). The value is a dict
50 | that stores validations for max_length, min_length, max_items,
51 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
52 | inclusive_minimum, and regex.
53 | additional_properties_type (tuple): A tuple of classes accepted
54 | as additional properties values.
55 | """
56 |
57 | allowed_values = {}
58 |
59 | validations = {}
60 |
61 | @cached_property
62 | def additional_properties_type():
63 | """
64 | This must be a method because a model may have properties that are
65 | of type self, this must run after the class is loaded
66 | """
67 | return (
68 | bool,
69 | date,
70 | datetime,
71 | dict,
72 | float,
73 | int,
74 | list,
75 | str,
76 | none_type,
77 | ) # noqa: E501
78 |
79 | _nullable = False
80 |
81 | @cached_property
82 | def openapi_types():
83 | """
84 | This must be a method because a model may have properties that are
85 | of type self, this must run after the class is loaded
86 |
87 | Returns
88 | openapi_types (dict): The key is attribute name
89 | and the value is attribute type.
90 | """
91 | return {
92 | "href": (str,), # noqa: E501
93 | }
94 |
95 | @cached_property
96 | def discriminator():
97 | return None
98 |
99 | attribute_map = {
100 | "href": "href", # noqa: E501
101 | }
102 |
103 | read_only_vars = {}
104 |
105 | _composed_schemas = {}
106 |
107 | @classmethod
108 | @convert_js_args_to_python_args
109 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110 | """UNNoticesLinksLast - a model defined in OpenAPI
111 |
112 | Keyword Args:
113 | _check_type (bool): if True, values for parameters in openapi_types
114 | will be type checked and a TypeError will be
115 | raised if the wrong type is input.
116 | Defaults to True
117 | _path_to_item (tuple/list): This is a list of keys or values to
118 | drill down to the model in received_data
119 | when deserializing a response
120 | _spec_property_naming (bool): True if the variable names in the input data
121 | are serialized names, as specified in the OpenAPI document.
122 | False if the variable names in the input data
123 | are pythonic names, e.g. snake case (default)
124 | _configuration (Configuration): the instance to use when
125 | deserializing a file_type parameter.
126 | If passed, type conversion is attempted
127 | If omitted no type conversion is done.
128 | _visited_composed_classes (tuple): This stores a tuple of
129 | classes that we have traveled through so that
130 | if we see that class again we will not use its
131 | discriminator again.
132 | When traveling through a discriminator, the
133 | composed schema that is
134 | is traveled through is added to this set.
135 | For example if Animal has a discriminator
136 | petType and we pass in "Dog", and the class Dog
137 | allOf includes Animal, we move through Animal
138 | once using the discriminator, and pick Dog.
139 | Then in Dog, we will make an instance of the
140 | Animal class but this time we won't travel
141 | through its discriminator because we passed in
142 | _visited_composed_classes = (Animal,)
143 | href (str): [optional] # noqa: E501
144 | """
145 |
146 | _check_type = kwargs.pop("_check_type", True)
147 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
148 | _path_to_item = kwargs.pop("_path_to_item", ())
149 | _configuration = kwargs.pop("_configuration", None)
150 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
151 |
152 | self = super(OpenApiModel, cls).__new__(cls)
153 |
154 | if args:
155 | for arg in args:
156 | if isinstance(arg, dict):
157 | kwargs.update(arg)
158 | else:
159 | raise ApiTypeError(
160 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
161 | % (
162 | args,
163 | self.__class__.__name__,
164 | ),
165 | path_to_item=_path_to_item,
166 | valid_classes=(self.__class__,),
167 | )
168 |
169 | self._data_store = {}
170 | self._check_type = _check_type
171 | self._spec_property_naming = _spec_property_naming
172 | self._path_to_item = _path_to_item
173 | self._configuration = _configuration
174 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
175 |
176 | for var_name, var_value in kwargs.items():
177 | if (
178 | var_name not in self.attribute_map
179 | and self._configuration is not None
180 | and self._configuration.discard_unknown_keys
181 | and self.additional_properties_type is None
182 | ):
183 | # discard variable.
184 | continue
185 | setattr(self, var_name, var_value)
186 | return self
187 |
188 | required_properties = set(
189 | [
190 | "_data_store",
191 | "_check_type",
192 | "_spec_property_naming",
193 | "_path_to_item",
194 | "_configuration",
195 | "_visited_composed_classes",
196 | ]
197 | )
198 |
199 | @convert_js_args_to_python_args
200 | def __init__(self, *args, **kwargs): # noqa: E501
201 | """UNNoticesLinksLast - a model defined in OpenAPI
202 |
203 | Keyword Args:
204 | _check_type (bool): if True, values for parameters in openapi_types
205 | will be type checked and a TypeError will be
206 | raised if the wrong type is input.
207 | Defaults to True
208 | _path_to_item (tuple/list): This is a list of keys or values to
209 | drill down to the model in received_data
210 | when deserializing a response
211 | _spec_property_naming (bool): True if the variable names in the input data
212 | are serialized names, as specified in the OpenAPI document.
213 | False if the variable names in the input data
214 | are pythonic names, e.g. snake case (default)
215 | _configuration (Configuration): the instance to use when
216 | deserializing a file_type parameter.
217 | If passed, type conversion is attempted
218 | If omitted no type conversion is done.
219 | _visited_composed_classes (tuple): This stores a tuple of
220 | classes that we have traveled through so that
221 | if we see that class again we will not use its
222 | discriminator again.
223 | When traveling through a discriminator, the
224 | composed schema that is
225 | is traveled through is added to this set.
226 | For example if Animal has a discriminator
227 | petType and we pass in "Dog", and the class Dog
228 | allOf includes Animal, we move through Animal
229 | once using the discriminator, and pick Dog.
230 | Then in Dog, we will make an instance of the
231 | Animal class but this time we won't travel
232 | through its discriminator because we passed in
233 | _visited_composed_classes = (Animal,)
234 | href (str): [optional] # noqa: E501
235 | """
236 |
237 | _check_type = kwargs.pop("_check_type", True)
238 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
239 | _path_to_item = kwargs.pop("_path_to_item", ())
240 | _configuration = kwargs.pop("_configuration", None)
241 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
242 |
243 | if args:
244 | for arg in args:
245 | if isinstance(arg, dict):
246 | kwargs.update(arg)
247 | else:
248 | raise ApiTypeError(
249 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
250 | % (
251 | args,
252 | self.__class__.__name__,
253 | ),
254 | path_to_item=_path_to_item,
255 | valid_classes=(self.__class__,),
256 | )
257 |
258 | self._data_store = {}
259 | self._check_type = _check_type
260 | self._spec_property_naming = _spec_property_naming
261 | self._path_to_item = _path_to_item
262 | self._configuration = _configuration
263 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
264 |
265 | for var_name, var_value in kwargs.items():
266 | if (
267 | var_name not in self.attribute_map
268 | and self._configuration is not None
269 | and self._configuration.discard_unknown_keys
270 | and self.additional_properties_type is None
271 | ):
272 | # discard variable.
273 | continue
274 | setattr(self, var_name, var_value)
275 | if var_name in self.read_only_vars:
276 | raise ApiAttributeError(
277 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
278 | f"class with read only attributes."
279 | )
280 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/model/un_notices_links_next.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import re # noqa: F401
13 | import sys # noqa: F401
14 |
15 | from deutschland.interpol.exceptions import ApiAttributeError
16 | from deutschland.interpol.model_utils import ( # noqa: F401
17 | ApiTypeError,
18 | ModelComposed,
19 | ModelNormal,
20 | ModelSimple,
21 | OpenApiModel,
22 | cached_property,
23 | change_keys_js_to_python,
24 | convert_js_args_to_python_args,
25 | date,
26 | datetime,
27 | file_type,
28 | none_type,
29 | validate_get_composed_info,
30 | )
31 |
32 |
33 | class UNNoticesLinksNext(ModelNormal):
34 | """NOTE: This class is auto generated by OpenAPI Generator.
35 | Ref: https://openapi-generator.tech
36 |
37 | Do not edit the class manually.
38 |
39 | Attributes:
40 | allowed_values (dict): The key is the tuple path to the attribute
41 | and the for var_name this is (var_name,). The value is a dict
42 | with a capitalized key describing the allowed value and an allowed
43 | value. These dicts store the allowed enum values.
44 | attribute_map (dict): The key is attribute name
45 | and the value is json key in definition.
46 | discriminator_value_class_map (dict): A dict to go from the discriminator
47 | variable value to the discriminator class name.
48 | validations (dict): The key is the tuple path to the attribute
49 | and the for var_name this is (var_name,). The value is a dict
50 | that stores validations for max_length, min_length, max_items,
51 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
52 | inclusive_minimum, and regex.
53 | additional_properties_type (tuple): A tuple of classes accepted
54 | as additional properties values.
55 | """
56 |
57 | allowed_values = {}
58 |
59 | validations = {}
60 |
61 | @cached_property
62 | def additional_properties_type():
63 | """
64 | This must be a method because a model may have properties that are
65 | of type self, this must run after the class is loaded
66 | """
67 | return (
68 | bool,
69 | date,
70 | datetime,
71 | dict,
72 | float,
73 | int,
74 | list,
75 | str,
76 | none_type,
77 | ) # noqa: E501
78 |
79 | _nullable = False
80 |
81 | @cached_property
82 | def openapi_types():
83 | """
84 | This must be a method because a model may have properties that are
85 | of type self, this must run after the class is loaded
86 |
87 | Returns
88 | openapi_types (dict): The key is attribute name
89 | and the value is attribute type.
90 | """
91 | return {
92 | "href": (str,), # noqa: E501
93 | }
94 |
95 | @cached_property
96 | def discriminator():
97 | return None
98 |
99 | attribute_map = {
100 | "href": "href", # noqa: E501
101 | }
102 |
103 | read_only_vars = {}
104 |
105 | _composed_schemas = {}
106 |
107 | @classmethod
108 | @convert_js_args_to_python_args
109 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110 | """UNNoticesLinksNext - a model defined in OpenAPI
111 |
112 | Keyword Args:
113 | _check_type (bool): if True, values for parameters in openapi_types
114 | will be type checked and a TypeError will be
115 | raised if the wrong type is input.
116 | Defaults to True
117 | _path_to_item (tuple/list): This is a list of keys or values to
118 | drill down to the model in received_data
119 | when deserializing a response
120 | _spec_property_naming (bool): True if the variable names in the input data
121 | are serialized names, as specified in the OpenAPI document.
122 | False if the variable names in the input data
123 | are pythonic names, e.g. snake case (default)
124 | _configuration (Configuration): the instance to use when
125 | deserializing a file_type parameter.
126 | If passed, type conversion is attempted
127 | If omitted no type conversion is done.
128 | _visited_composed_classes (tuple): This stores a tuple of
129 | classes that we have traveled through so that
130 | if we see that class again we will not use its
131 | discriminator again.
132 | When traveling through a discriminator, the
133 | composed schema that is
134 | is traveled through is added to this set.
135 | For example if Animal has a discriminator
136 | petType and we pass in "Dog", and the class Dog
137 | allOf includes Animal, we move through Animal
138 | once using the discriminator, and pick Dog.
139 | Then in Dog, we will make an instance of the
140 | Animal class but this time we won't travel
141 | through its discriminator because we passed in
142 | _visited_composed_classes = (Animal,)
143 | href (str): [optional] # noqa: E501
144 | """
145 |
146 | _check_type = kwargs.pop("_check_type", True)
147 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
148 | _path_to_item = kwargs.pop("_path_to_item", ())
149 | _configuration = kwargs.pop("_configuration", None)
150 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
151 |
152 | self = super(OpenApiModel, cls).__new__(cls)
153 |
154 | if args:
155 | for arg in args:
156 | if isinstance(arg, dict):
157 | kwargs.update(arg)
158 | else:
159 | raise ApiTypeError(
160 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
161 | % (
162 | args,
163 | self.__class__.__name__,
164 | ),
165 | path_to_item=_path_to_item,
166 | valid_classes=(self.__class__,),
167 | )
168 |
169 | self._data_store = {}
170 | self._check_type = _check_type
171 | self._spec_property_naming = _spec_property_naming
172 | self._path_to_item = _path_to_item
173 | self._configuration = _configuration
174 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
175 |
176 | for var_name, var_value in kwargs.items():
177 | if (
178 | var_name not in self.attribute_map
179 | and self._configuration is not None
180 | and self._configuration.discard_unknown_keys
181 | and self.additional_properties_type is None
182 | ):
183 | # discard variable.
184 | continue
185 | setattr(self, var_name, var_value)
186 | return self
187 |
188 | required_properties = set(
189 | [
190 | "_data_store",
191 | "_check_type",
192 | "_spec_property_naming",
193 | "_path_to_item",
194 | "_configuration",
195 | "_visited_composed_classes",
196 | ]
197 | )
198 |
199 | @convert_js_args_to_python_args
200 | def __init__(self, *args, **kwargs): # noqa: E501
201 | """UNNoticesLinksNext - a model defined in OpenAPI
202 |
203 | Keyword Args:
204 | _check_type (bool): if True, values for parameters in openapi_types
205 | will be type checked and a TypeError will be
206 | raised if the wrong type is input.
207 | Defaults to True
208 | _path_to_item (tuple/list): This is a list of keys or values to
209 | drill down to the model in received_data
210 | when deserializing a response
211 | _spec_property_naming (bool): True if the variable names in the input data
212 | are serialized names, as specified in the OpenAPI document.
213 | False if the variable names in the input data
214 | are pythonic names, e.g. snake case (default)
215 | _configuration (Configuration): the instance to use when
216 | deserializing a file_type parameter.
217 | If passed, type conversion is attempted
218 | If omitted no type conversion is done.
219 | _visited_composed_classes (tuple): This stores a tuple of
220 | classes that we have traveled through so that
221 | if we see that class again we will not use its
222 | discriminator again.
223 | When traveling through a discriminator, the
224 | composed schema that is
225 | is traveled through is added to this set.
226 | For example if Animal has a discriminator
227 | petType and we pass in "Dog", and the class Dog
228 | allOf includes Animal, we move through Animal
229 | once using the discriminator, and pick Dog.
230 | Then in Dog, we will make an instance of the
231 | Animal class but this time we won't travel
232 | through its discriminator because we passed in
233 | _visited_composed_classes = (Animal,)
234 | href (str): [optional] # noqa: E501
235 | """
236 |
237 | _check_type = kwargs.pop("_check_type", True)
238 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
239 | _path_to_item = kwargs.pop("_path_to_item", ())
240 | _configuration = kwargs.pop("_configuration", None)
241 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
242 |
243 | if args:
244 | for arg in args:
245 | if isinstance(arg, dict):
246 | kwargs.update(arg)
247 | else:
248 | raise ApiTypeError(
249 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
250 | % (
251 | args,
252 | self.__class__.__name__,
253 | ),
254 | path_to_item=_path_to_item,
255 | valid_classes=(self.__class__,),
256 | )
257 |
258 | self._data_store = {}
259 | self._check_type = _check_type
260 | self._spec_property_naming = _spec_property_naming
261 | self._path_to_item = _path_to_item
262 | self._configuration = _configuration
263 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
264 |
265 | for var_name, var_value in kwargs.items():
266 | if (
267 | var_name not in self.attribute_map
268 | and self._configuration is not None
269 | and self._configuration.discard_unknown_keys
270 | and self.additional_properties_type is None
271 | ):
272 | # discard variable.
273 | continue
274 | setattr(self, var_name, var_value)
275 | if var_name in self.read_only_vars:
276 | raise ApiAttributeError(
277 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
278 | f"class with read only attributes."
279 | )
280 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/model/un_notices_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import re # noqa: F401
13 | import sys # noqa: F401
14 |
15 | from deutschland.interpol.exceptions import ApiAttributeError
16 | from deutschland.interpol.model_utils import ( # noqa: F401
17 | ApiTypeError,
18 | ModelComposed,
19 | ModelNormal,
20 | ModelSimple,
21 | OpenApiModel,
22 | cached_property,
23 | change_keys_js_to_python,
24 | convert_js_args_to_python_args,
25 | date,
26 | datetime,
27 | file_type,
28 | none_type,
29 | validate_get_composed_info,
30 | )
31 |
32 |
33 | class UNNoticesLinksSelf(ModelNormal):
34 | """NOTE: This class is auto generated by OpenAPI Generator.
35 | Ref: https://openapi-generator.tech
36 |
37 | Do not edit the class manually.
38 |
39 | Attributes:
40 | allowed_values (dict): The key is the tuple path to the attribute
41 | and the for var_name this is (var_name,). The value is a dict
42 | with a capitalized key describing the allowed value and an allowed
43 | value. These dicts store the allowed enum values.
44 | attribute_map (dict): The key is attribute name
45 | and the value is json key in definition.
46 | discriminator_value_class_map (dict): A dict to go from the discriminator
47 | variable value to the discriminator class name.
48 | validations (dict): The key is the tuple path to the attribute
49 | and the for var_name this is (var_name,). The value is a dict
50 | that stores validations for max_length, min_length, max_items,
51 | min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
52 | inclusive_minimum, and regex.
53 | additional_properties_type (tuple): A tuple of classes accepted
54 | as additional properties values.
55 | """
56 |
57 | allowed_values = {}
58 |
59 | validations = {}
60 |
61 | @cached_property
62 | def additional_properties_type():
63 | """
64 | This must be a method because a model may have properties that are
65 | of type self, this must run after the class is loaded
66 | """
67 | return (
68 | bool,
69 | date,
70 | datetime,
71 | dict,
72 | float,
73 | int,
74 | list,
75 | str,
76 | none_type,
77 | ) # noqa: E501
78 |
79 | _nullable = False
80 |
81 | @cached_property
82 | def openapi_types():
83 | """
84 | This must be a method because a model may have properties that are
85 | of type self, this must run after the class is loaded
86 |
87 | Returns
88 | openapi_types (dict): The key is attribute name
89 | and the value is attribute type.
90 | """
91 | return {
92 | "href": (str,), # noqa: E501
93 | }
94 |
95 | @cached_property
96 | def discriminator():
97 | return None
98 |
99 | attribute_map = {
100 | "href": "href", # noqa: E501
101 | }
102 |
103 | read_only_vars = {}
104 |
105 | _composed_schemas = {}
106 |
107 | @classmethod
108 | @convert_js_args_to_python_args
109 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110 | """UNNoticesLinksSelf - a model defined in OpenAPI
111 |
112 | Keyword Args:
113 | _check_type (bool): if True, values for parameters in openapi_types
114 | will be type checked and a TypeError will be
115 | raised if the wrong type is input.
116 | Defaults to True
117 | _path_to_item (tuple/list): This is a list of keys or values to
118 | drill down to the model in received_data
119 | when deserializing a response
120 | _spec_property_naming (bool): True if the variable names in the input data
121 | are serialized names, as specified in the OpenAPI document.
122 | False if the variable names in the input data
123 | are pythonic names, e.g. snake case (default)
124 | _configuration (Configuration): the instance to use when
125 | deserializing a file_type parameter.
126 | If passed, type conversion is attempted
127 | If omitted no type conversion is done.
128 | _visited_composed_classes (tuple): This stores a tuple of
129 | classes that we have traveled through so that
130 | if we see that class again we will not use its
131 | discriminator again.
132 | When traveling through a discriminator, the
133 | composed schema that is
134 | is traveled through is added to this set.
135 | For example if Animal has a discriminator
136 | petType and we pass in "Dog", and the class Dog
137 | allOf includes Animal, we move through Animal
138 | once using the discriminator, and pick Dog.
139 | Then in Dog, we will make an instance of the
140 | Animal class but this time we won't travel
141 | through its discriminator because we passed in
142 | _visited_composed_classes = (Animal,)
143 | href (str): [optional] # noqa: E501
144 | """
145 |
146 | _check_type = kwargs.pop("_check_type", True)
147 | _spec_property_naming = kwargs.pop("_spec_property_naming", True)
148 | _path_to_item = kwargs.pop("_path_to_item", ())
149 | _configuration = kwargs.pop("_configuration", None)
150 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
151 |
152 | self = super(OpenApiModel, cls).__new__(cls)
153 |
154 | if args:
155 | for arg in args:
156 | if isinstance(arg, dict):
157 | kwargs.update(arg)
158 | else:
159 | raise ApiTypeError(
160 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
161 | % (
162 | args,
163 | self.__class__.__name__,
164 | ),
165 | path_to_item=_path_to_item,
166 | valid_classes=(self.__class__,),
167 | )
168 |
169 | self._data_store = {}
170 | self._check_type = _check_type
171 | self._spec_property_naming = _spec_property_naming
172 | self._path_to_item = _path_to_item
173 | self._configuration = _configuration
174 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
175 |
176 | for var_name, var_value in kwargs.items():
177 | if (
178 | var_name not in self.attribute_map
179 | and self._configuration is not None
180 | and self._configuration.discard_unknown_keys
181 | and self.additional_properties_type is None
182 | ):
183 | # discard variable.
184 | continue
185 | setattr(self, var_name, var_value)
186 | return self
187 |
188 | required_properties = set(
189 | [
190 | "_data_store",
191 | "_check_type",
192 | "_spec_property_naming",
193 | "_path_to_item",
194 | "_configuration",
195 | "_visited_composed_classes",
196 | ]
197 | )
198 |
199 | @convert_js_args_to_python_args
200 | def __init__(self, *args, **kwargs): # noqa: E501
201 | """UNNoticesLinksSelf - a model defined in OpenAPI
202 |
203 | Keyword Args:
204 | _check_type (bool): if True, values for parameters in openapi_types
205 | will be type checked and a TypeError will be
206 | raised if the wrong type is input.
207 | Defaults to True
208 | _path_to_item (tuple/list): This is a list of keys or values to
209 | drill down to the model in received_data
210 | when deserializing a response
211 | _spec_property_naming (bool): True if the variable names in the input data
212 | are serialized names, as specified in the OpenAPI document.
213 | False if the variable names in the input data
214 | are pythonic names, e.g. snake case (default)
215 | _configuration (Configuration): the instance to use when
216 | deserializing a file_type parameter.
217 | If passed, type conversion is attempted
218 | If omitted no type conversion is done.
219 | _visited_composed_classes (tuple): This stores a tuple of
220 | classes that we have traveled through so that
221 | if we see that class again we will not use its
222 | discriminator again.
223 | When traveling through a discriminator, the
224 | composed schema that is
225 | is traveled through is added to this set.
226 | For example if Animal has a discriminator
227 | petType and we pass in "Dog", and the class Dog
228 | allOf includes Animal, we move through Animal
229 | once using the discriminator, and pick Dog.
230 | Then in Dog, we will make an instance of the
231 | Animal class but this time we won't travel
232 | through its discriminator because we passed in
233 | _visited_composed_classes = (Animal,)
234 | href (str): [optional] # noqa: E501
235 | """
236 |
237 | _check_type = kwargs.pop("_check_type", True)
238 | _spec_property_naming = kwargs.pop("_spec_property_naming", False)
239 | _path_to_item = kwargs.pop("_path_to_item", ())
240 | _configuration = kwargs.pop("_configuration", None)
241 | _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
242 |
243 | if args:
244 | for arg in args:
245 | if isinstance(arg, dict):
246 | kwargs.update(arg)
247 | else:
248 | raise ApiTypeError(
249 | "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
250 | % (
251 | args,
252 | self.__class__.__name__,
253 | ),
254 | path_to_item=_path_to_item,
255 | valid_classes=(self.__class__,),
256 | )
257 |
258 | self._data_store = {}
259 | self._check_type = _check_type
260 | self._spec_property_naming = _spec_property_naming
261 | self._path_to_item = _path_to_item
262 | self._configuration = _configuration
263 | self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
264 |
265 | for var_name, var_value in kwargs.items():
266 | if (
267 | var_name not in self.attribute_map
268 | and self._configuration is not None
269 | and self._configuration.discard_unknown_keys
270 | and self.additional_properties_type is None
271 | ):
272 | # discard variable.
273 | continue
274 | setattr(self, var_name, var_value)
275 | if var_name in self.read_only_vars:
276 | raise ApiAttributeError(
277 | f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
278 | f"class with read only attributes."
279 | )
280 |
--------------------------------------------------------------------------------
/python-client/deutschland/interpol/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.interpol.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.interpol.model.red_notice_detail import RedNoticeDetail
13 | from deutschland.interpol.model.red_notice_detail_arrest_warrants_inner import (
14 | RedNoticeDetailArrestWarrantsInner,
15 | )
16 | from deutschland.interpol.model.red_notice_detail_embedded import (
17 | RedNoticeDetailEmbedded,
18 | )
19 | from deutschland.interpol.model.red_notice_detail_images import RedNoticeDetailImages
20 | from deutschland.interpol.model.red_notice_detail_images_embedded import (
21 | RedNoticeDetailImagesEmbedded,
22 | )
23 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner import (
24 | RedNoticeDetailImagesEmbeddedImagesInner,
25 | )
26 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner_links import (
27 | RedNoticeDetailImagesEmbeddedImagesInnerLinks,
28 | )
29 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner_links_self import (
30 | RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
31 | )
32 | from deutschland.interpol.model.red_notice_detail_images_links import (
33 | RedNoticeDetailImagesLinks,
34 | )
35 | from deutschland.interpol.model.red_notice_detail_images_links_notice import (
36 | RedNoticeDetailImagesLinksNotice,
37 | )
38 | from deutschland.interpol.model.red_notice_detail_images_links_self import (
39 | RedNoticeDetailImagesLinksSelf,
40 | )
41 | from deutschland.interpol.model.red_notice_detail_images_links_thumbnail import (
42 | RedNoticeDetailImagesLinksThumbnail,
43 | )
44 | from deutschland.interpol.model.red_notice_detail_links import RedNoticeDetailLinks
45 | from deutschland.interpol.model.red_notices import RedNotices
46 | from deutschland.interpol.model.red_notices_embedded import RedNoticesEmbedded
47 | from deutschland.interpol.model.red_notices_links import RedNoticesLinks
48 | from deutschland.interpol.model.red_notices_links_last import RedNoticesLinksLast
49 | from deutschland.interpol.model.red_notices_links_next import RedNoticesLinksNext
50 | from deutschland.interpol.model.red_notices_links_self import RedNoticesLinksSelf
51 | from deutschland.interpol.model.red_notices_query import RedNoticesQuery
52 | from deutschland.interpol.model.un_notice_detail import UNNoticeDetail
53 | from deutschland.interpol.model.un_notice_detail_images import UNNoticeDetailImages
54 | from deutschland.interpol.model.un_notice_detail_images_embedded import (
55 | UNNoticeDetailImagesEmbedded,
56 | )
57 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner import (
58 | UNNoticeDetailImagesEmbeddedImagesInner,
59 | )
60 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner_links import (
61 | UNNoticeDetailImagesEmbeddedImagesInnerLinks,
62 | )
63 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner_links_self import (
64 | UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
65 | )
66 | from deutschland.interpol.model.un_notice_detail_images_links import (
67 | UNNoticeDetailImagesLinks,
68 | )
69 | from deutschland.interpol.model.un_notice_detail_images_links_notice import (
70 | UNNoticeDetailImagesLinksNotice,
71 | )
72 | from deutschland.interpol.model.un_notice_detail_images_links_self import (
73 | UNNoticeDetailImagesLinksSelf,
74 | )
75 | from deutschland.interpol.model.un_notice_detail_images_links_thumbnail import (
76 | UNNoticeDetailImagesLinksThumbnail,
77 | )
78 | from deutschland.interpol.model.un_notice_detail_links import UNNoticeDetailLinks
79 | from deutschland.interpol.model.un_notice_detail_links_images import (
80 | UNNoticeDetailLinksImages,
81 | )
82 | from deutschland.interpol.model.un_notice_detail_links_self import (
83 | UNNoticeDetailLinksSelf,
84 | )
85 | from deutschland.interpol.model.un_notices import UNNotices
86 | from deutschland.interpol.model.un_notices_links import UNNoticesLinks
87 | from deutschland.interpol.model.un_notices_links_last import UNNoticesLinksLast
88 | from deutschland.interpol.model.un_notices_links_next import UNNoticesLinksNext
89 | from deutschland.interpol.model.un_notices_links_self import UNNoticesLinksSelf
90 | from deutschland.interpol.model.yellow_notice_detail import YellowNoticeDetail
91 | from deutschland.interpol.model.yellow_notice_detail_images import (
92 | YellowNoticeDetailImages,
93 | )
94 | from deutschland.interpol.model.yellow_notice_detail_images_embedded import (
95 | YellowNoticeDetailImagesEmbedded,
96 | )
97 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner import (
98 | YellowNoticeDetailImagesEmbeddedImagesInner,
99 | )
100 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner_links import (
101 | YellowNoticeDetailImagesEmbeddedImagesInnerLinks,
102 | )
103 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner_links_self import (
104 | YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
105 | )
106 | from deutschland.interpol.model.yellow_notice_detail_images_links import (
107 | YellowNoticeDetailImagesLinks,
108 | )
109 | from deutschland.interpol.model.yellow_notice_detail_images_links_notice import (
110 | YellowNoticeDetailImagesLinksNotice,
111 | )
112 | from deutschland.interpol.model.yellow_notice_detail_images_links_self import (
113 | YellowNoticeDetailImagesLinksSelf,
114 | )
115 | from deutschland.interpol.model.yellow_notice_detail_links import (
116 | YellowNoticeDetailLinks,
117 | )
118 | from deutschland.interpol.model.yellow_notice_detail_links_images import (
119 | YellowNoticeDetailLinksImages,
120 | )
121 | from deutschland.interpol.model.yellow_notice_detail_links_self import (
122 | YellowNoticeDetailLinksSelf,
123 | )
124 | from deutschland.interpol.model.yellow_notice_detail_links_thumbnail import (
125 | YellowNoticeDetailLinksThumbnail,
126 | )
127 | from deutschland.interpol.model.yellow_notices import YellowNotices
128 | from deutschland.interpol.model.yellow_notices_links import YellowNoticesLinks
129 | from deutschland.interpol.model.yellow_notices_links_last import YellowNoticesLinksLast
130 | from deutschland.interpol.model.yellow_notices_links_next import YellowNoticesLinksNext
131 | from deutschland.interpol.model.yellow_notices_links_self import YellowNoticesLinksSelf
132 |
--------------------------------------------------------------------------------
/python-client/docs/RedNoticeDetail.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetail
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **arrest_warrants** | [**[RedNoticeDetailArrestWarrantsInner]**](RedNoticeDetailArrestWarrantsInner.md) | | [optional]
8 | **weight** | **int** | | [optional]
9 | **forename** | **str** | | [optional]
10 | **date_of_birth** | **str** | | [optional]
11 | **entity_id** | **str** | | [optional]
12 | **languages_spoken_ids** | **[str]** | | [optional]
13 | **nationalities** | **[str]** | | [optional]
14 | **height** | **float** | | [optional]
15 | **sex_id** | **str** | | [optional]
16 | **country_of_birth_id** | **str** | | [optional]
17 | **name** | **str** | | [optional]
18 | **distinguishing_marks** | **str** | | [optional]
19 | **eyes_colors_id** | **[str]** | | [optional]
20 | **hairs_id** | **[str]** | | [optional]
21 | **place_of_birth** | **str** | | [optional]
22 | **embedded** | [**RedNoticeDetailEmbedded**](RedNoticeDetailEmbedded.md) | | [optional]
23 | **links** | [**RedNoticeDetailLinks**](RedNoticeDetailLinks.md) | | [optional]
24 | **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]
25 |
26 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
27 |
28 |
29 |
--------------------------------------------------------------------------------
/python-client/docs/RedNoticeDetailArrestWarrantsInner.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailArrestWarrantsInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **issuing_country_id** | **str** | | [optional]
8 | **charge** | **str** | | [optional]
9 | **charge_translation** | **str** | | [optional]
10 | **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]
11 |
12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13 |
14 |
15 |
--------------------------------------------------------------------------------
/python-client/docs/RedNoticeDetailEmbedded.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailEmbedded
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **links** | **[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/RedNoticeDetailImages.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImages
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **embedded** | [**RedNoticeDetailImagesEmbedded**](RedNoticeDetailImagesEmbedded.md) | | [optional]
8 | **links** | [**RedNoticeDetailImagesLinks**](RedNoticeDetailImagesLinks.md) | | [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/RedNoticeDetailImagesEmbedded.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesEmbedded
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **images** | [**[RedNoticeDetailImagesEmbeddedImagesInner]**](RedNoticeDetailImagesEmbeddedImagesInner.md) | | [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/RedNoticeDetailImagesEmbeddedImagesInner.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesEmbeddedImagesInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **picture_id** | **str** | | [optional]
8 | **links** | [**RedNoticeDetailImagesEmbeddedImagesInnerLinks**](RedNoticeDetailImagesEmbeddedImagesInnerLinks.md) | | [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/RedNoticeDetailImagesEmbeddedImagesInnerLinks.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesEmbeddedImagesInnerLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf**](RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md) | | [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/RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/RedNoticeDetailImagesLinks.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**RedNoticeDetailImagesLinksSelf**](RedNoticeDetailImagesLinksSelf.md) | | [optional]
8 | **notice** | [**RedNoticeDetailImagesLinksNotice**](RedNoticeDetailImagesLinksNotice.md) | | [optional]
9 | **thumbnail** | [**RedNoticeDetailImagesLinksThumbnail**](RedNoticeDetailImagesLinksThumbnail.md) | | [optional]
10 | **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]
11 |
12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13 |
14 |
15 |
--------------------------------------------------------------------------------
/python-client/docs/RedNoticeDetailImagesLinksNotice.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesLinksNotice
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/RedNoticeDetailImagesLinksSelf.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/RedNoticeDetailImagesLinksThumbnail.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailImagesLinksThumbnail
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/RedNoticeDetailLinks.md:
--------------------------------------------------------------------------------
1 | # RedNoticeDetailLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**RedNoticeDetailImagesLinksNotice**](RedNoticeDetailImagesLinksNotice.md) | | [optional]
8 | **images** | [**RedNoticeDetailImagesLinksSelf**](RedNoticeDetailImagesLinksSelf.md) | | [optional]
9 | **thumbnail** | [**RedNoticeDetailImagesLinksThumbnail**](RedNoticeDetailImagesLinksThumbnail.md) | | [optional]
10 | **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]
11 |
12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13 |
14 |
15 |
--------------------------------------------------------------------------------
/python-client/docs/RedNotices.md:
--------------------------------------------------------------------------------
1 | # RedNotices
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **total** | **int** | | [optional]
8 | **query** | [**RedNoticesQuery**](RedNoticesQuery.md) | | [optional]
9 | **embedded** | [**RedNoticesEmbedded**](RedNoticesEmbedded.md) | | [optional]
10 | **links** | [**RedNoticesLinks**](RedNoticesLinks.md) | | [optional]
11 | **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]
12 |
13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14 |
15 |
16 |
--------------------------------------------------------------------------------
/python-client/docs/RedNoticesEmbedded.md:
--------------------------------------------------------------------------------
1 | # RedNoticesEmbedded
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **notices** | **[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/RedNoticesLinks.md:
--------------------------------------------------------------------------------
1 | # RedNoticesLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**RedNoticesLinksSelf**](RedNoticesLinksSelf.md) | | [optional]
8 | **first** | [**RedNoticesLinksSelf**](RedNoticesLinksSelf.md) | | [optional]
9 | **next** | [**RedNoticesLinksNext**](RedNoticesLinksNext.md) | | [optional]
10 | **last** | [**RedNoticesLinksLast**](RedNoticesLinksLast.md) | | [optional]
11 | **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]
12 |
13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14 |
15 |
16 |
--------------------------------------------------------------------------------
/python-client/docs/RedNoticesLinksLast.md:
--------------------------------------------------------------------------------
1 | # RedNoticesLinksLast
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/RedNoticesLinksNext.md:
--------------------------------------------------------------------------------
1 | # RedNoticesLinksNext
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/RedNoticesLinksSelf.md:
--------------------------------------------------------------------------------
1 | # RedNoticesLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/RedNoticesQuery.md:
--------------------------------------------------------------------------------
1 | # RedNoticesQuery
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **page** | **int** | | [optional]
8 | **result_per_page** | **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/UNNoticeDetail.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetail
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **summary** | **str** | | [optional]
8 | **weight** | **int** | | [optional]
9 | **profession** | **str** | | [optional]
10 | **purposes** | **[str]** | | [optional]
11 | **entity_id** | **str** | | [optional]
12 | **aliases** | **[str]** | | [optional]
13 | **father_name** | **str** | | [optional]
14 | **un_reference** | **str** | | [optional]
15 | **identity_documents** | **[str]** | | [optional]
16 | **nationalities** | **[str]** | | [optional]
17 | **name_at_birth** | **str** | | [optional]
18 | **name** | **str** | | [optional]
19 | **name_in_original_script** | **str** | | [optional]
20 | **un_resolution** | **int** | | [optional]
21 | **father_forename** | **str** | | [optional]
22 | **mother_forename** | **str** | | [optional]
23 | **forename** | **str** | | [optional]
24 | **associates** | **[str]** | | [optional]
25 | **date_of_birth** | **str** | | [optional]
26 | **un_reference_date** | **str** | | [optional]
27 | **forename_in_original_script** | **str** | | [optional]
28 | **languages_spoken_ids** | **[str]** | | [optional]
29 | **country_of_birth_id** | **str** | | [optional]
30 | **sex_id** | **str** | | [optional]
31 | **mother_name** | **str** | | [optional]
32 | **adresses** | **[str]** | | [optional]
33 | **place_of_birth** | **str** | | [optional]
34 | **main_activity** | **str** | | [optional]
35 | **from_chamber_of_commerce** | **str** | | [optional]
36 | **legal_form** | **str** | | [optional]
37 | **administrators** | **[str]** | | [optional]
38 | **additional_information** | **str** | | [optional]
39 | **registration_number** | **str** | | [optional]
40 | **formerly_known_as** | **str** | | [optional]
41 | **embedded** | [**RedNoticeDetailEmbedded**](RedNoticeDetailEmbedded.md) | | [optional]
42 | **links** | [**UNNoticeDetailLinks**](UNNoticeDetailLinks.md) | | [optional]
43 | **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]
44 |
45 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
46 |
47 |
48 |
--------------------------------------------------------------------------------
/python-client/docs/UNNoticeDetailImages.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImages
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **embedded** | [**UNNoticeDetailImagesEmbedded**](UNNoticeDetailImagesEmbedded.md) | | [optional]
8 | **links** | [**UNNoticeDetailImagesLinks**](UNNoticeDetailImagesLinks.md) | | [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/UNNoticeDetailImagesEmbedded.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesEmbedded
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **images** | [**[UNNoticeDetailImagesEmbeddedImagesInner]**](UNNoticeDetailImagesEmbeddedImagesInner.md) | | [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/UNNoticeDetailImagesEmbeddedImagesInner.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesEmbeddedImagesInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **picture_id** | **str** | | [optional]
8 | **links** | [**UNNoticeDetailImagesEmbeddedImagesInnerLinks**](UNNoticeDetailImagesEmbeddedImagesInnerLinks.md) | | [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/UNNoticeDetailImagesEmbeddedImagesInnerLinks.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesEmbeddedImagesInnerLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf**](UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md) | | [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/UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNoticeDetailImagesLinks.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**UNNoticeDetailImagesLinksSelf**](UNNoticeDetailImagesLinksSelf.md) | | [optional]
8 | **notice** | [**UNNoticeDetailImagesLinksNotice**](UNNoticeDetailImagesLinksNotice.md) | | [optional]
9 | **thumbnail** | [**UNNoticeDetailImagesLinksThumbnail**](UNNoticeDetailImagesLinksThumbnail.md) | | [optional]
10 | **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]
11 |
12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13 |
14 |
15 |
--------------------------------------------------------------------------------
/python-client/docs/UNNoticeDetailImagesLinksNotice.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesLinksNotice
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNoticeDetailImagesLinksSelf.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNoticeDetailImagesLinksThumbnail.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailImagesLinksThumbnail
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNoticeDetailLinks.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**UNNoticeDetailLinksSelf**](UNNoticeDetailLinksSelf.md) | | [optional]
8 | **images** | [**UNNoticeDetailLinksImages**](UNNoticeDetailLinksImages.md) | | [optional]
9 | **thumbnail** | [**UNNoticeDetailImagesLinksThumbnail**](UNNoticeDetailImagesLinksThumbnail.md) | | [optional]
10 | **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]
11 |
12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13 |
14 |
15 |
--------------------------------------------------------------------------------
/python-client/docs/UNNoticeDetailLinksImages.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailLinksImages
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNoticeDetailLinksSelf.md:
--------------------------------------------------------------------------------
1 | # UNNoticeDetailLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNotices.md:
--------------------------------------------------------------------------------
1 | # UNNotices
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **total** | **int** | | [optional]
8 | **query** | [**RedNoticesQuery**](RedNoticesQuery.md) | | [optional]
9 | **embedded** | [**RedNoticesEmbedded**](RedNoticesEmbedded.md) | | [optional]
10 | **links** | [**UNNoticesLinks**](UNNoticesLinks.md) | | [optional]
11 | **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]
12 |
13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14 |
15 |
16 |
--------------------------------------------------------------------------------
/python-client/docs/UNNoticesLinks.md:
--------------------------------------------------------------------------------
1 | # UNNoticesLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**UNNoticesLinksSelf**](UNNoticesLinksSelf.md) | | [optional]
8 | **first** | [**UNNoticesLinksSelf**](UNNoticesLinksSelf.md) | | [optional]
9 | **next** | [**UNNoticesLinksNext**](UNNoticesLinksNext.md) | | [optional]
10 | **last** | [**UNNoticesLinksLast**](UNNoticesLinksLast.md) | | [optional]
11 | **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]
12 |
13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14 |
15 |
16 |
--------------------------------------------------------------------------------
/python-client/docs/UNNoticesLinksLast.md:
--------------------------------------------------------------------------------
1 | # UNNoticesLinksLast
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNoticesLinksNext.md:
--------------------------------------------------------------------------------
1 | # UNNoticesLinksNext
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/UNNoticesLinksSelf.md:
--------------------------------------------------------------------------------
1 | # UNNoticesLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticeDetail.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetail
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **weight** | **int** | | [optional]
8 | **birth_name** | **str** | | [optional]
9 | **entity_id** | **str** | | [optional]
10 | **nationalities** | **[str]** | | [optional]
11 | **height** | **float** | | [optional]
12 | **name** | **str** | | [optional]
13 | **eyes_colors_id** | **[str]** | | [optional]
14 | **place** | **str** | | [optional]
15 | **date_of_event** | **str** | | [optional]
16 | **hairs_id** | **[str]** | | [optional]
17 | **father_forename** | **str** | | [optional]
18 | **mother_forename** | **str** | | [optional]
19 | **forename** | **str** | | [optional]
20 | **date_of_birth** | **str** | | [optional]
21 | **languages_spoken_ids** | **[str]** | | [optional]
22 | **country** | **str** | | [optional]
23 | **country_of_birth_id** | **str** | | [optional]
24 | **sex_id** | **str** | | [optional]
25 | **distinguishing_marks** | **str** | | [optional]
26 | **mother_name** | **str** | | [optional]
27 | **place_of_birth** | **str** | | [optional]
28 | **embedded** | [**RedNoticeDetailEmbedded**](RedNoticeDetailEmbedded.md) | | [optional]
29 | **links** | [**YellowNoticeDetailLinks**](YellowNoticeDetailLinks.md) | | [optional]
30 | **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]
31 |
32 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33 |
34 |
35 |
--------------------------------------------------------------------------------
/python-client/docs/YellowNoticeDetailImages.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImages
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **embedded** | [**YellowNoticeDetailImagesEmbedded**](YellowNoticeDetailImagesEmbedded.md) | | [optional]
8 | **links** | [**YellowNoticeDetailImagesLinks**](YellowNoticeDetailImagesLinks.md) | | [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/YellowNoticeDetailImagesEmbedded.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImagesEmbedded
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **images** | [**[YellowNoticeDetailImagesEmbeddedImagesInner]**](YellowNoticeDetailImagesEmbeddedImagesInner.md) | | [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/YellowNoticeDetailImagesEmbeddedImagesInner.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImagesEmbeddedImagesInner
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **picture_id** | **str** | | [optional]
8 | **links** | [**YellowNoticeDetailImagesEmbeddedImagesInnerLinks**](YellowNoticeDetailImagesEmbeddedImagesInnerLinks.md) | | [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/YellowNoticeDetailImagesEmbeddedImagesInnerLinks.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImagesEmbeddedImagesInnerLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf**](YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md) | | [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/YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticeDetailImagesLinks.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImagesLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**YellowNoticeDetailImagesLinksSelf**](YellowNoticeDetailImagesLinksSelf.md) | | [optional]
8 | **notice** | [**YellowNoticeDetailImagesLinksNotice**](YellowNoticeDetailImagesLinksNotice.md) | | [optional]
9 | **thumbnail** | [**YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf**](YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf.md) | | [optional]
10 | **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]
11 |
12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13 |
14 |
15 |
--------------------------------------------------------------------------------
/python-client/docs/YellowNoticeDetailImagesLinksNotice.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImagesLinksNotice
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticeDetailImagesLinksSelf.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailImagesLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticeDetailLinks.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**YellowNoticeDetailLinksSelf**](YellowNoticeDetailLinksSelf.md) | | [optional]
8 | **images** | [**YellowNoticeDetailLinksImages**](YellowNoticeDetailLinksImages.md) | | [optional]
9 | **thumbnail** | [**YellowNoticeDetailLinksThumbnail**](YellowNoticeDetailLinksThumbnail.md) | | [optional]
10 | **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]
11 |
12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13 |
14 |
15 |
--------------------------------------------------------------------------------
/python-client/docs/YellowNoticeDetailLinksImages.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailLinksImages
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticeDetailLinksSelf.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticeDetailLinksThumbnail.md:
--------------------------------------------------------------------------------
1 | # YellowNoticeDetailLinksThumbnail
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNotices.md:
--------------------------------------------------------------------------------
1 | # YellowNotices
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **total** | **int** | | [optional]
8 | **query** | [**RedNoticesQuery**](RedNoticesQuery.md) | | [optional]
9 | **embedded** | [**RedNoticesEmbedded**](RedNoticesEmbedded.md) | | [optional]
10 | **links** | [**YellowNoticesLinks**](YellowNoticesLinks.md) | | [optional]
11 | **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]
12 |
13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14 |
15 |
16 |
--------------------------------------------------------------------------------
/python-client/docs/YellowNoticesLinks.md:
--------------------------------------------------------------------------------
1 | # YellowNoticesLinks
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **_self** | [**YellowNoticesLinksSelf**](YellowNoticesLinksSelf.md) | | [optional]
8 | **first** | [**YellowNoticesLinksSelf**](YellowNoticesLinksSelf.md) | | [optional]
9 | **next** | [**YellowNoticesLinksNext**](YellowNoticesLinksNext.md) | | [optional]
10 | **last** | [**YellowNoticesLinksLast**](YellowNoticesLinksLast.md) | | [optional]
11 | **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]
12 |
13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14 |
15 |
16 |
--------------------------------------------------------------------------------
/python-client/docs/YellowNoticesLinksLast.md:
--------------------------------------------------------------------------------
1 | # YellowNoticesLinksLast
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticesLinksNext.md:
--------------------------------------------------------------------------------
1 | # YellowNoticesLinksNext
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/YellowNoticesLinksSelf.md:
--------------------------------------------------------------------------------
1 | # YellowNoticesLinksSelf
2 |
3 |
4 | ## Properties
5 | Name | Type | Description | Notes
6 | ------------ | ------------- | ------------- | -------------
7 | **href** | **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/pyproject.toml:
--------------------------------------------------------------------------------
1 | [tool]
2 | [tool.poetry]
3 | name = "de-interpol"
4 | version = "0.1.0"
5 | description = "Interpol Notices API"
6 | keywords = ["OpenAPI", "OpenAPI-Generator", "interpol", "App", "API"]
7 | homepage = "https://github.com/bundesAPI/interpol-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/interpol-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 | # This file only contains a selection of the most common options. For a full
8 | # list see the documentation:
9 | # https://www.sphinx-doc.org/en/master/usage/configuration.html
10 |
11 | # -- Path setup --------------------------------------------------------------
12 |
13 | # If extensions (or modules to document with autodoc) are in another directory,
14 | # add these directories to sys.path here. If the directory is relative to the
15 | # documentation root, use os.path.abspath to make it absolute, like shown here.
16 | #
17 | # import os
18 | # import sys
19 | # sys.path.insert(0, os.path.abspath('.'))
20 |
21 |
22 | # -- Project information -----------------------------------------------------
23 |
24 | project = "interpol-api"
25 | copyright = "2022, BundesAPI"
26 | author = "BundesAPI"
27 |
28 | # The short X.Y version
29 | version = "0.1.0"
30 |
31 | # The full version, including alpha/beta/rc tags
32 | release = "0.1.0"
33 |
34 |
35 | # -- General configuration ---------------------------------------------------
36 |
37 | # Add any Sphinx extension module names here, as strings. They can be
38 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
39 | # ones.
40 | extensions = [
41 | "m2r2",
42 | "sphinx.ext.autodoc",
43 | "sphinx.ext.napoleon",
44 | "sphinx.ext.autosummary",
45 | ]
46 |
47 | # Add any paths that contain templates here, relative to this directory.
48 | templates_path = ["_templates"]
49 |
50 | # The language for content autogenerated by Sphinx. Refer to documentation
51 | # for a list of supported languages.
52 | #
53 | # This is also used if you do content translation via gettext catalogs.
54 | # Usually you set "language" from the command line for these cases.
55 | language = "de"
56 |
57 | # List of patterns, relative to source directory, that match files and
58 | # directories to ignore when looking for source files.
59 | # This pattern also affects html_static_path and html_extra_path.
60 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
61 |
62 |
63 | # -- Options for HTML output -------------------------------------------------
64 |
65 | # The theme to use for HTML and HTML Help pages. See the documentation for
66 | # a list of builtin themes.
67 | #
68 | html_theme = "alabaster"
69 |
70 | # Add any paths that contain custom static files (such as style sheets) here,
71 | # relative to this directory. They are copied after the builtin static files,
72 | # so a file named "default.css" will overwrite the builtin "default.css".
73 | html_static_path = ["_static"]
74 |
75 |
76 | # -- Extension configuration -------------------------------------------------
77 | source_extensions = [".rst", ".md"]
78 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/index.rst:
--------------------------------------------------------------------------------
1 | interpol-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/interpol.api.rst:
--------------------------------------------------------------------------------
1 | interpol.api package
2 | ====================
3 |
4 | Submodules
5 | ----------
6 |
7 | interpol.api.default\_api module
8 | --------------------------------
9 |
10 | .. automodule:: interpol.api.default_api
11 | :members:
12 | :undoc-members:
13 | :show-inheritance:
14 |
15 | Module contents
16 | ---------------
17 |
18 | .. automodule:: interpol.api
19 | :members:
20 | :undoc-members:
21 | :show-inheritance:
22 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/interpol.apis.rst:
--------------------------------------------------------------------------------
1 | interpol.apis package
2 | =====================
3 |
4 | Module contents
5 | ---------------
6 |
7 | .. automodule:: interpol.apis
8 | :members:
9 | :undoc-members:
10 | :show-inheritance:
11 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/interpol.models.rst:
--------------------------------------------------------------------------------
1 | interpol.models package
2 | =======================
3 |
4 | Module contents
5 | ---------------
6 |
7 | .. automodule:: interpol.models
8 | :members:
9 | :undoc-members:
10 | :show-inheritance:
11 |
--------------------------------------------------------------------------------
/python-client/sphinx-docs/source/interpol.rst:
--------------------------------------------------------------------------------
1 | interpol package
2 | ================
3 |
4 | Subpackages
5 | -----------
6 |
7 | .. toctree::
8 | :maxdepth: 4
9 |
10 | interpol.api
11 | interpol.apis
12 | interpol.model
13 | interpol.models
14 |
15 | Submodules
16 | ----------
17 |
18 | interpol.api\_client module
19 | ---------------------------
20 |
21 | .. automodule:: interpol.api_client
22 | :members:
23 | :undoc-members:
24 | :show-inheritance:
25 |
26 | interpol.configuration module
27 | -----------------------------
28 |
29 | .. automodule:: interpol.configuration
30 | :members:
31 | :undoc-members:
32 | :show-inheritance:
33 |
34 | interpol.exceptions module
35 | --------------------------
36 |
37 | .. automodule:: interpol.exceptions
38 | :members:
39 | :undoc-members:
40 | :show-inheritance:
41 |
42 | interpol.model\_utils module
43 | ----------------------------
44 |
45 | .. automodule:: interpol.model_utils
46 | :members:
47 | :undoc-members:
48 | :show-inheritance:
49 |
50 | interpol.rest module
51 | --------------------
52 |
53 | .. automodule:: interpol.rest
54 | :members:
55 | :undoc-members:
56 | :show-inheritance:
57 |
58 | Module contents
59 | ---------------
60 |
61 | .. automodule:: interpol
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 | interpol
8 |
--------------------------------------------------------------------------------
/python-client/test-requirements.txt:
--------------------------------------------------------------------------------
1 | pytest-cov>=2.8.1
2 |
--------------------------------------------------------------------------------
/python-client/test/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bundesAPI/interpol-api/788475caa8b01dd450da24362a5f4a0e7d1048f1/python-client/test/__init__.py
--------------------------------------------------------------------------------
/python-client/test/test_default_api.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import unittest
13 |
14 | from deutschland.interpol.api.default_api import DefaultApi # noqa: E501
15 |
16 | from deutschland import interpol
17 |
18 |
19 | class TestDefaultApi(unittest.TestCase):
20 | """DefaultApi unit test stubs"""
21 |
22 | def setUp(self):
23 | self.api = DefaultApi() # noqa: E501
24 |
25 | def tearDown(self):
26 | pass
27 |
28 | def test_notices_v1_red_get(self):
29 | """Test case for notices_v1_red_get
30 |
31 | Get Red Notices # noqa: E501
32 | """
33 | pass
34 |
35 | def test_notices_v1_red_notice_id_get(self):
36 | """Test case for notices_v1_red_notice_id_get
37 |
38 | Get Red Notice Details # noqa: E501
39 | """
40 | pass
41 |
42 | def test_notices_v1_red_notice_id_images_get(self):
43 | """Test case for notices_v1_red_notice_id_images_get
44 |
45 | Get Red Notice Images # noqa: E501
46 | """
47 | pass
48 |
49 | def test_notices_v1_un_get(self):
50 | """Test case for notices_v1_un_get
51 |
52 | Get UN Notices # noqa: E501
53 | """
54 | pass
55 |
56 | def test_notices_v1_un_notice_type_notice_id_get(self):
57 | """Test case for notices_v1_un_notice_type_notice_id_get
58 |
59 | Get UN Notice Details # noqa: E501
60 | """
61 | pass
62 |
63 | def test_notices_v1_un_notice_type_notice_id_images_get(self):
64 | """Test case for notices_v1_un_notice_type_notice_id_images_get
65 |
66 | Get UN Notice Images # noqa: E501
67 | """
68 | pass
69 |
70 | def test_notices_v1_yellow_get(self):
71 | """Test case for notices_v1_yellow_get
72 |
73 | Get Yellow Notices # noqa: E501
74 | """
75 | pass
76 |
77 | def test_notices_v1_yellow_notice_id_get(self):
78 | """Test case for notices_v1_yellow_notice_id_get
79 |
80 | Get Yellow Notice Details # noqa: E501
81 | """
82 | pass
83 |
84 | def test_notices_v1_yellow_notice_id_images_get(self):
85 | """Test case for notices_v1_yellow_notice_id_images_get
86 |
87 | Get Yellow Notice Images # noqa: E501
88 | """
89 | pass
90 |
91 |
92 | if __name__ == "__main__":
93 | unittest.main()
94 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_arrest_warrants_inner import (
16 | RedNoticeDetailArrestWarrantsInner,
17 | )
18 | from deutschland.interpol.model.red_notice_detail_embedded import (
19 | RedNoticeDetailEmbedded,
20 | )
21 | from deutschland.interpol.model.red_notice_detail_links import RedNoticeDetailLinks
22 |
23 | from deutschland import interpol
24 |
25 | globals()["RedNoticeDetailArrestWarrantsInner"] = RedNoticeDetailArrestWarrantsInner
26 | globals()["RedNoticeDetailEmbedded"] = RedNoticeDetailEmbedded
27 | globals()["RedNoticeDetailLinks"] = RedNoticeDetailLinks
28 | from deutschland.interpol.model.red_notice_detail import RedNoticeDetail
29 |
30 |
31 | class TestRedNoticeDetail(unittest.TestCase):
32 | """RedNoticeDetail unit test stubs"""
33 |
34 | def setUp(self):
35 | pass
36 |
37 | def tearDown(self):
38 | pass
39 |
40 | def testRedNoticeDetail(self):
41 | """Test RedNoticeDetail"""
42 | # FIXME: construct object with mandatory attributes with example values
43 | # model = RedNoticeDetail() # noqa: E501
44 | pass
45 |
46 |
47 | if __name__ == "__main__":
48 | unittest.main()
49 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_arrest_warrants_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_arrest_warrants_inner import (
16 | RedNoticeDetailArrestWarrantsInner,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestRedNoticeDetailArrestWarrantsInner(unittest.TestCase):
23 | """RedNoticeDetailArrestWarrantsInner unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testRedNoticeDetailArrestWarrantsInner(self):
32 | """Test RedNoticeDetailArrestWarrantsInner"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = RedNoticeDetailArrestWarrantsInner() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_embedded.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_embedded import (
16 | RedNoticeDetailEmbedded,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestRedNoticeDetailEmbedded(unittest.TestCase):
23 | """RedNoticeDetailEmbedded unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testRedNoticeDetailEmbedded(self):
32 | """Test RedNoticeDetailEmbedded"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = RedNoticeDetailEmbedded() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_embedded import (
16 | RedNoticeDetailImagesEmbedded,
17 | )
18 | from deutschland.interpol.model.red_notice_detail_images_links import (
19 | RedNoticeDetailImagesLinks,
20 | )
21 |
22 | from deutschland import interpol
23 |
24 | globals()["RedNoticeDetailImagesEmbedded"] = RedNoticeDetailImagesEmbedded
25 | globals()["RedNoticeDetailImagesLinks"] = RedNoticeDetailImagesLinks
26 | from deutschland.interpol.model.red_notice_detail_images import RedNoticeDetailImages
27 |
28 |
29 | class TestRedNoticeDetailImages(unittest.TestCase):
30 | """RedNoticeDetailImages unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testRedNoticeDetailImages(self):
39 | """Test RedNoticeDetailImages"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = RedNoticeDetailImages() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_embedded.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner import (
16 | RedNoticeDetailImagesEmbeddedImagesInner,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "RedNoticeDetailImagesEmbeddedImagesInner"
23 | ] = RedNoticeDetailImagesEmbeddedImagesInner
24 | from deutschland.interpol.model.red_notice_detail_images_embedded import (
25 | RedNoticeDetailImagesEmbedded,
26 | )
27 |
28 |
29 | class TestRedNoticeDetailImagesEmbedded(unittest.TestCase):
30 | """RedNoticeDetailImagesEmbedded unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testRedNoticeDetailImagesEmbedded(self):
39 | """Test RedNoticeDetailImagesEmbedded"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = RedNoticeDetailImagesEmbedded() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_embedded_images_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner_links import (
16 | RedNoticeDetailImagesEmbeddedImagesInnerLinks,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "RedNoticeDetailImagesEmbeddedImagesInnerLinks"
23 | ] = RedNoticeDetailImagesEmbeddedImagesInnerLinks
24 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner import (
25 | RedNoticeDetailImagesEmbeddedImagesInner,
26 | )
27 |
28 |
29 | class TestRedNoticeDetailImagesEmbeddedImagesInner(unittest.TestCase):
30 | """RedNoticeDetailImagesEmbeddedImagesInner unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testRedNoticeDetailImagesEmbeddedImagesInner(self):
39 | """Test RedNoticeDetailImagesEmbeddedImagesInner"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = RedNoticeDetailImagesEmbeddedImagesInner() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_embedded_images_inner_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner_links_self import (
16 | RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf"
23 | ] = RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf
24 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner_links import (
25 | RedNoticeDetailImagesEmbeddedImagesInnerLinks,
26 | )
27 |
28 |
29 | class TestRedNoticeDetailImagesEmbeddedImagesInnerLinks(unittest.TestCase):
30 | """RedNoticeDetailImagesEmbeddedImagesInnerLinks unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testRedNoticeDetailImagesEmbeddedImagesInnerLinks(self):
39 | """Test RedNoticeDetailImagesEmbeddedImagesInnerLinks"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = RedNoticeDetailImagesEmbeddedImagesInnerLinks() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_embedded_images_inner_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_embedded_images_inner_links_self import (
16 | RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestRedNoticeDetailImagesEmbeddedImagesInnerLinksSelf(unittest.TestCase):
23 | """RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testRedNoticeDetailImagesEmbeddedImagesInnerLinksSelf(self):
32 | """Test RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = RedNoticeDetailImagesEmbeddedImagesInnerLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_links_notice import (
16 | RedNoticeDetailImagesLinksNotice,
17 | )
18 | from deutschland.interpol.model.red_notice_detail_images_links_self import (
19 | RedNoticeDetailImagesLinksSelf,
20 | )
21 | from deutschland.interpol.model.red_notice_detail_images_links_thumbnail import (
22 | RedNoticeDetailImagesLinksThumbnail,
23 | )
24 |
25 | from deutschland import interpol
26 |
27 | globals()["RedNoticeDetailImagesLinksNotice"] = RedNoticeDetailImagesLinksNotice
28 | globals()["RedNoticeDetailImagesLinksSelf"] = RedNoticeDetailImagesLinksSelf
29 | globals()["RedNoticeDetailImagesLinksThumbnail"] = RedNoticeDetailImagesLinksThumbnail
30 | from deutschland.interpol.model.red_notice_detail_images_links import (
31 | RedNoticeDetailImagesLinks,
32 | )
33 |
34 |
35 | class TestRedNoticeDetailImagesLinks(unittest.TestCase):
36 | """RedNoticeDetailImagesLinks unit test stubs"""
37 |
38 | def setUp(self):
39 | pass
40 |
41 | def tearDown(self):
42 | pass
43 |
44 | def testRedNoticeDetailImagesLinks(self):
45 | """Test RedNoticeDetailImagesLinks"""
46 | # FIXME: construct object with mandatory attributes with example values
47 | # model = RedNoticeDetailImagesLinks() # noqa: E501
48 | pass
49 |
50 |
51 | if __name__ == "__main__":
52 | unittest.main()
53 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_links_notice.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_links_notice import (
16 | RedNoticeDetailImagesLinksNotice,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestRedNoticeDetailImagesLinksNotice(unittest.TestCase):
23 | """RedNoticeDetailImagesLinksNotice unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testRedNoticeDetailImagesLinksNotice(self):
32 | """Test RedNoticeDetailImagesLinksNotice"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = RedNoticeDetailImagesLinksNotice() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_links_self import (
16 | RedNoticeDetailImagesLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestRedNoticeDetailImagesLinksSelf(unittest.TestCase):
23 | """RedNoticeDetailImagesLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testRedNoticeDetailImagesLinksSelf(self):
32 | """Test RedNoticeDetailImagesLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = RedNoticeDetailImagesLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_images_links_thumbnail.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_links_thumbnail import (
16 | RedNoticeDetailImagesLinksThumbnail,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestRedNoticeDetailImagesLinksThumbnail(unittest.TestCase):
23 | """RedNoticeDetailImagesLinksThumbnail unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testRedNoticeDetailImagesLinksThumbnail(self):
32 | """Test RedNoticeDetailImagesLinksThumbnail"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = RedNoticeDetailImagesLinksThumbnail() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notice_detail_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_images_links_notice import (
16 | RedNoticeDetailImagesLinksNotice,
17 | )
18 | from deutschland.interpol.model.red_notice_detail_images_links_self import (
19 | RedNoticeDetailImagesLinksSelf,
20 | )
21 | from deutschland.interpol.model.red_notice_detail_images_links_thumbnail import (
22 | RedNoticeDetailImagesLinksThumbnail,
23 | )
24 |
25 | from deutschland import interpol
26 |
27 | globals()["RedNoticeDetailImagesLinksNotice"] = RedNoticeDetailImagesLinksNotice
28 | globals()["RedNoticeDetailImagesLinksSelf"] = RedNoticeDetailImagesLinksSelf
29 | globals()["RedNoticeDetailImagesLinksThumbnail"] = RedNoticeDetailImagesLinksThumbnail
30 | from deutschland.interpol.model.red_notice_detail_links import RedNoticeDetailLinks
31 |
32 |
33 | class TestRedNoticeDetailLinks(unittest.TestCase):
34 | """RedNoticeDetailLinks unit test stubs"""
35 |
36 | def setUp(self):
37 | pass
38 |
39 | def tearDown(self):
40 | pass
41 |
42 | def testRedNoticeDetailLinks(self):
43 | """Test RedNoticeDetailLinks"""
44 | # FIXME: construct object with mandatory attributes with example values
45 | # model = RedNoticeDetailLinks() # noqa: E501
46 | pass
47 |
48 |
49 | if __name__ == "__main__":
50 | unittest.main()
51 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notices.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_embedded import RedNoticesEmbedded
16 | from deutschland.interpol.model.red_notices_links import RedNoticesLinks
17 | from deutschland.interpol.model.red_notices_query import RedNoticesQuery
18 |
19 | from deutschland import interpol
20 |
21 | globals()["RedNoticesEmbedded"] = RedNoticesEmbedded
22 | globals()["RedNoticesLinks"] = RedNoticesLinks
23 | globals()["RedNoticesQuery"] = RedNoticesQuery
24 | from deutschland.interpol.model.red_notices import RedNotices
25 |
26 |
27 | class TestRedNotices(unittest.TestCase):
28 | """RedNotices unit test stubs"""
29 |
30 | def setUp(self):
31 | pass
32 |
33 | def tearDown(self):
34 | pass
35 |
36 | def testRedNotices(self):
37 | """Test RedNotices"""
38 | # FIXME: construct object with mandatory attributes with example values
39 | # model = RedNotices() # noqa: E501
40 | pass
41 |
42 |
43 | if __name__ == "__main__":
44 | unittest.main()
45 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notices_embedded.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_embedded import RedNoticesEmbedded
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestRedNoticesEmbedded(unittest.TestCase):
21 | """RedNoticesEmbedded unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testRedNoticesEmbedded(self):
30 | """Test RedNoticesEmbedded"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = RedNoticesEmbedded() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notices_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_links_last import RedNoticesLinksLast
16 | from deutschland.interpol.model.red_notices_links_next import RedNoticesLinksNext
17 | from deutschland.interpol.model.red_notices_links_self import RedNoticesLinksSelf
18 |
19 | from deutschland import interpol
20 |
21 | globals()["RedNoticesLinksLast"] = RedNoticesLinksLast
22 | globals()["RedNoticesLinksNext"] = RedNoticesLinksNext
23 | globals()["RedNoticesLinksSelf"] = RedNoticesLinksSelf
24 | from deutschland.interpol.model.red_notices_links import RedNoticesLinks
25 |
26 |
27 | class TestRedNoticesLinks(unittest.TestCase):
28 | """RedNoticesLinks unit test stubs"""
29 |
30 | def setUp(self):
31 | pass
32 |
33 | def tearDown(self):
34 | pass
35 |
36 | def testRedNoticesLinks(self):
37 | """Test RedNoticesLinks"""
38 | # FIXME: construct object with mandatory attributes with example values
39 | # model = RedNoticesLinks() # noqa: E501
40 | pass
41 |
42 |
43 | if __name__ == "__main__":
44 | unittest.main()
45 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notices_links_last.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_links_last import RedNoticesLinksLast
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestRedNoticesLinksLast(unittest.TestCase):
21 | """RedNoticesLinksLast unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testRedNoticesLinksLast(self):
30 | """Test RedNoticesLinksLast"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = RedNoticesLinksLast() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notices_links_next.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_links_next import RedNoticesLinksNext
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestRedNoticesLinksNext(unittest.TestCase):
21 | """RedNoticesLinksNext unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testRedNoticesLinksNext(self):
30 | """Test RedNoticesLinksNext"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = RedNoticesLinksNext() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notices_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_links_self import RedNoticesLinksSelf
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestRedNoticesLinksSelf(unittest.TestCase):
21 | """RedNoticesLinksSelf unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testRedNoticesLinksSelf(self):
30 | """Test RedNoticesLinksSelf"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = RedNoticesLinksSelf() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_red_notices_query.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_query import RedNoticesQuery
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestRedNoticesQuery(unittest.TestCase):
21 | """RedNoticesQuery unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testRedNoticesQuery(self):
30 | """Test RedNoticesQuery"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = RedNoticesQuery() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_embedded import (
16 | RedNoticeDetailEmbedded,
17 | )
18 | from deutschland.interpol.model.un_notice_detail_links import UNNoticeDetailLinks
19 |
20 | from deutschland import interpol
21 |
22 | globals()["RedNoticeDetailEmbedded"] = RedNoticeDetailEmbedded
23 | globals()["UNNoticeDetailLinks"] = UNNoticeDetailLinks
24 | from deutschland.interpol.model.un_notice_detail import UNNoticeDetail
25 |
26 |
27 | class TestUNNoticeDetail(unittest.TestCase):
28 | """UNNoticeDetail unit test stubs"""
29 |
30 | def setUp(self):
31 | pass
32 |
33 | def tearDown(self):
34 | pass
35 |
36 | def testUNNoticeDetail(self):
37 | """Test UNNoticeDetail"""
38 | # FIXME: construct object with mandatory attributes with example values
39 | # model = UNNoticeDetail() # noqa: E501
40 | pass
41 |
42 |
43 | if __name__ == "__main__":
44 | unittest.main()
45 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_embedded import (
16 | UNNoticeDetailImagesEmbedded,
17 | )
18 | from deutschland.interpol.model.un_notice_detail_images_links import (
19 | UNNoticeDetailImagesLinks,
20 | )
21 |
22 | from deutschland import interpol
23 |
24 | globals()["UNNoticeDetailImagesEmbedded"] = UNNoticeDetailImagesEmbedded
25 | globals()["UNNoticeDetailImagesLinks"] = UNNoticeDetailImagesLinks
26 | from deutschland.interpol.model.un_notice_detail_images import UNNoticeDetailImages
27 |
28 |
29 | class TestUNNoticeDetailImages(unittest.TestCase):
30 | """UNNoticeDetailImages unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testUNNoticeDetailImages(self):
39 | """Test UNNoticeDetailImages"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = UNNoticeDetailImages() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_embedded.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner import (
16 | UNNoticeDetailImagesEmbeddedImagesInner,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "UNNoticeDetailImagesEmbeddedImagesInner"
23 | ] = UNNoticeDetailImagesEmbeddedImagesInner
24 | from deutschland.interpol.model.un_notice_detail_images_embedded import (
25 | UNNoticeDetailImagesEmbedded,
26 | )
27 |
28 |
29 | class TestUNNoticeDetailImagesEmbedded(unittest.TestCase):
30 | """UNNoticeDetailImagesEmbedded unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testUNNoticeDetailImagesEmbedded(self):
39 | """Test UNNoticeDetailImagesEmbedded"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = UNNoticeDetailImagesEmbedded() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_embedded_images_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner_links import (
16 | UNNoticeDetailImagesEmbeddedImagesInnerLinks,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "UNNoticeDetailImagesEmbeddedImagesInnerLinks"
23 | ] = UNNoticeDetailImagesEmbeddedImagesInnerLinks
24 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner import (
25 | UNNoticeDetailImagesEmbeddedImagesInner,
26 | )
27 |
28 |
29 | class TestUNNoticeDetailImagesEmbeddedImagesInner(unittest.TestCase):
30 | """UNNoticeDetailImagesEmbeddedImagesInner unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testUNNoticeDetailImagesEmbeddedImagesInner(self):
39 | """Test UNNoticeDetailImagesEmbeddedImagesInner"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = UNNoticeDetailImagesEmbeddedImagesInner() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_embedded_images_inner_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner_links_self import (
16 | UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf"
23 | ] = UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf
24 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner_links import (
25 | UNNoticeDetailImagesEmbeddedImagesInnerLinks,
26 | )
27 |
28 |
29 | class TestUNNoticeDetailImagesEmbeddedImagesInnerLinks(unittest.TestCase):
30 | """UNNoticeDetailImagesEmbeddedImagesInnerLinks unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testUNNoticeDetailImagesEmbeddedImagesInnerLinks(self):
39 | """Test UNNoticeDetailImagesEmbeddedImagesInnerLinks"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = UNNoticeDetailImagesEmbeddedImagesInnerLinks() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_embedded_images_inner_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_embedded_images_inner_links_self import (
16 | UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestUNNoticeDetailImagesEmbeddedImagesInnerLinksSelf(unittest.TestCase):
23 | """UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testUNNoticeDetailImagesEmbeddedImagesInnerLinksSelf(self):
32 | """Test UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = UNNoticeDetailImagesEmbeddedImagesInnerLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_links_notice import (
16 | UNNoticeDetailImagesLinksNotice,
17 | )
18 | from deutschland.interpol.model.un_notice_detail_images_links_self import (
19 | UNNoticeDetailImagesLinksSelf,
20 | )
21 | from deutschland.interpol.model.un_notice_detail_images_links_thumbnail import (
22 | UNNoticeDetailImagesLinksThumbnail,
23 | )
24 |
25 | from deutschland import interpol
26 |
27 | globals()["UNNoticeDetailImagesLinksNotice"] = UNNoticeDetailImagesLinksNotice
28 | globals()["UNNoticeDetailImagesLinksSelf"] = UNNoticeDetailImagesLinksSelf
29 | globals()["UNNoticeDetailImagesLinksThumbnail"] = UNNoticeDetailImagesLinksThumbnail
30 | from deutschland.interpol.model.un_notice_detail_images_links import (
31 | UNNoticeDetailImagesLinks,
32 | )
33 |
34 |
35 | class TestUNNoticeDetailImagesLinks(unittest.TestCase):
36 | """UNNoticeDetailImagesLinks unit test stubs"""
37 |
38 | def setUp(self):
39 | pass
40 |
41 | def tearDown(self):
42 | pass
43 |
44 | def testUNNoticeDetailImagesLinks(self):
45 | """Test UNNoticeDetailImagesLinks"""
46 | # FIXME: construct object with mandatory attributes with example values
47 | # model = UNNoticeDetailImagesLinks() # noqa: E501
48 | pass
49 |
50 |
51 | if __name__ == "__main__":
52 | unittest.main()
53 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_links_notice.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_links_notice import (
16 | UNNoticeDetailImagesLinksNotice,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestUNNoticeDetailImagesLinksNotice(unittest.TestCase):
23 | """UNNoticeDetailImagesLinksNotice unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testUNNoticeDetailImagesLinksNotice(self):
32 | """Test UNNoticeDetailImagesLinksNotice"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = UNNoticeDetailImagesLinksNotice() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_links_self import (
16 | UNNoticeDetailImagesLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestUNNoticeDetailImagesLinksSelf(unittest.TestCase):
23 | """UNNoticeDetailImagesLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testUNNoticeDetailImagesLinksSelf(self):
32 | """Test UNNoticeDetailImagesLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = UNNoticeDetailImagesLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_images_links_thumbnail.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_links_thumbnail import (
16 | UNNoticeDetailImagesLinksThumbnail,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestUNNoticeDetailImagesLinksThumbnail(unittest.TestCase):
23 | """UNNoticeDetailImagesLinksThumbnail unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testUNNoticeDetailImagesLinksThumbnail(self):
32 | """Test UNNoticeDetailImagesLinksThumbnail"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = UNNoticeDetailImagesLinksThumbnail() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_images_links_thumbnail import (
16 | UNNoticeDetailImagesLinksThumbnail,
17 | )
18 | from deutschland.interpol.model.un_notice_detail_links_images import (
19 | UNNoticeDetailLinksImages,
20 | )
21 | from deutschland.interpol.model.un_notice_detail_links_self import (
22 | UNNoticeDetailLinksSelf,
23 | )
24 |
25 | from deutschland import interpol
26 |
27 | globals()["UNNoticeDetailImagesLinksThumbnail"] = UNNoticeDetailImagesLinksThumbnail
28 | globals()["UNNoticeDetailLinksImages"] = UNNoticeDetailLinksImages
29 | globals()["UNNoticeDetailLinksSelf"] = UNNoticeDetailLinksSelf
30 | from deutschland.interpol.model.un_notice_detail_links import UNNoticeDetailLinks
31 |
32 |
33 | class TestUNNoticeDetailLinks(unittest.TestCase):
34 | """UNNoticeDetailLinks unit test stubs"""
35 |
36 | def setUp(self):
37 | pass
38 |
39 | def tearDown(self):
40 | pass
41 |
42 | def testUNNoticeDetailLinks(self):
43 | """Test UNNoticeDetailLinks"""
44 | # FIXME: construct object with mandatory attributes with example values
45 | # model = UNNoticeDetailLinks() # noqa: E501
46 | pass
47 |
48 |
49 | if __name__ == "__main__":
50 | unittest.main()
51 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_links_images.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_links_images import (
16 | UNNoticeDetailLinksImages,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestUNNoticeDetailLinksImages(unittest.TestCase):
23 | """UNNoticeDetailLinksImages unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testUNNoticeDetailLinksImages(self):
32 | """Test UNNoticeDetailLinksImages"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = UNNoticeDetailLinksImages() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notice_detail_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notice_detail_links_self import (
16 | UNNoticeDetailLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestUNNoticeDetailLinksSelf(unittest.TestCase):
23 | """UNNoticeDetailLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testUNNoticeDetailLinksSelf(self):
32 | """Test UNNoticeDetailLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = UNNoticeDetailLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notices.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_embedded import RedNoticesEmbedded
16 | from deutschland.interpol.model.red_notices_query import RedNoticesQuery
17 | from deutschland.interpol.model.un_notices_links import UNNoticesLinks
18 |
19 | from deutschland import interpol
20 |
21 | globals()["RedNoticesEmbedded"] = RedNoticesEmbedded
22 | globals()["RedNoticesQuery"] = RedNoticesQuery
23 | globals()["UNNoticesLinks"] = UNNoticesLinks
24 | from deutschland.interpol.model.un_notices import UNNotices
25 |
26 |
27 | class TestUNNotices(unittest.TestCase):
28 | """UNNotices unit test stubs"""
29 |
30 | def setUp(self):
31 | pass
32 |
33 | def tearDown(self):
34 | pass
35 |
36 | def testUNNotices(self):
37 | """Test UNNotices"""
38 | # FIXME: construct object with mandatory attributes with example values
39 | # model = UNNotices() # noqa: E501
40 | pass
41 |
42 |
43 | if __name__ == "__main__":
44 | unittest.main()
45 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notices_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notices_links_last import UNNoticesLinksLast
16 | from deutschland.interpol.model.un_notices_links_next import UNNoticesLinksNext
17 | from deutschland.interpol.model.un_notices_links_self import UNNoticesLinksSelf
18 |
19 | from deutschland import interpol
20 |
21 | globals()["UNNoticesLinksLast"] = UNNoticesLinksLast
22 | globals()["UNNoticesLinksNext"] = UNNoticesLinksNext
23 | globals()["UNNoticesLinksSelf"] = UNNoticesLinksSelf
24 | from deutschland.interpol.model.un_notices_links import UNNoticesLinks
25 |
26 |
27 | class TestUNNoticesLinks(unittest.TestCase):
28 | """UNNoticesLinks unit test stubs"""
29 |
30 | def setUp(self):
31 | pass
32 |
33 | def tearDown(self):
34 | pass
35 |
36 | def testUNNoticesLinks(self):
37 | """Test UNNoticesLinks"""
38 | # FIXME: construct object with mandatory attributes with example values
39 | # model = UNNoticesLinks() # noqa: E501
40 | pass
41 |
42 |
43 | if __name__ == "__main__":
44 | unittest.main()
45 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notices_links_last.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notices_links_last import UNNoticesLinksLast
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestUNNoticesLinksLast(unittest.TestCase):
21 | """UNNoticesLinksLast unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testUNNoticesLinksLast(self):
30 | """Test UNNoticesLinksLast"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = UNNoticesLinksLast() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notices_links_next.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notices_links_next import UNNoticesLinksNext
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestUNNoticesLinksNext(unittest.TestCase):
21 | """UNNoticesLinksNext unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testUNNoticesLinksNext(self):
30 | """Test UNNoticesLinksNext"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = UNNoticesLinksNext() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_un_notices_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.un_notices_links_self import UNNoticesLinksSelf
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestUNNoticesLinksSelf(unittest.TestCase):
21 | """UNNoticesLinksSelf unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testUNNoticesLinksSelf(self):
30 | """Test UNNoticesLinksSelf"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = UNNoticesLinksSelf() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notice_detail_embedded import (
16 | RedNoticeDetailEmbedded,
17 | )
18 | from deutschland.interpol.model.yellow_notice_detail_links import (
19 | YellowNoticeDetailLinks,
20 | )
21 |
22 | from deutschland import interpol
23 |
24 | globals()["RedNoticeDetailEmbedded"] = RedNoticeDetailEmbedded
25 | globals()["YellowNoticeDetailLinks"] = YellowNoticeDetailLinks
26 | from deutschland.interpol.model.yellow_notice_detail import YellowNoticeDetail
27 |
28 |
29 | class TestYellowNoticeDetail(unittest.TestCase):
30 | """YellowNoticeDetail unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testYellowNoticeDetail(self):
39 | """Test YellowNoticeDetail"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = YellowNoticeDetail() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_embedded import (
16 | YellowNoticeDetailImagesEmbedded,
17 | )
18 | from deutschland.interpol.model.yellow_notice_detail_images_links import (
19 | YellowNoticeDetailImagesLinks,
20 | )
21 |
22 | from deutschland import interpol
23 |
24 | globals()["YellowNoticeDetailImagesEmbedded"] = YellowNoticeDetailImagesEmbedded
25 | globals()["YellowNoticeDetailImagesLinks"] = YellowNoticeDetailImagesLinks
26 | from deutschland.interpol.model.yellow_notice_detail_images import (
27 | YellowNoticeDetailImages,
28 | )
29 |
30 |
31 | class TestYellowNoticeDetailImages(unittest.TestCase):
32 | """YellowNoticeDetailImages unit test stubs"""
33 |
34 | def setUp(self):
35 | pass
36 |
37 | def tearDown(self):
38 | pass
39 |
40 | def testYellowNoticeDetailImages(self):
41 | """Test YellowNoticeDetailImages"""
42 | # FIXME: construct object with mandatory attributes with example values
43 | # model = YellowNoticeDetailImages() # noqa: E501
44 | pass
45 |
46 |
47 | if __name__ == "__main__":
48 | unittest.main()
49 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images_embedded.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner import (
16 | YellowNoticeDetailImagesEmbeddedImagesInner,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "YellowNoticeDetailImagesEmbeddedImagesInner"
23 | ] = YellowNoticeDetailImagesEmbeddedImagesInner
24 | from deutschland.interpol.model.yellow_notice_detail_images_embedded import (
25 | YellowNoticeDetailImagesEmbedded,
26 | )
27 |
28 |
29 | class TestYellowNoticeDetailImagesEmbedded(unittest.TestCase):
30 | """YellowNoticeDetailImagesEmbedded unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testYellowNoticeDetailImagesEmbedded(self):
39 | """Test YellowNoticeDetailImagesEmbedded"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = YellowNoticeDetailImagesEmbedded() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images_embedded_images_inner.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner_links import (
16 | YellowNoticeDetailImagesEmbeddedImagesInnerLinks,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "YellowNoticeDetailImagesEmbeddedImagesInnerLinks"
23 | ] = YellowNoticeDetailImagesEmbeddedImagesInnerLinks
24 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner import (
25 | YellowNoticeDetailImagesEmbeddedImagesInner,
26 | )
27 |
28 |
29 | class TestYellowNoticeDetailImagesEmbeddedImagesInner(unittest.TestCase):
30 | """YellowNoticeDetailImagesEmbeddedImagesInner unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testYellowNoticeDetailImagesEmbeddedImagesInner(self):
39 | """Test YellowNoticeDetailImagesEmbeddedImagesInner"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = YellowNoticeDetailImagesEmbeddedImagesInner() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images_embedded_images_inner_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner_links_self import (
16 | YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 | globals()[
22 | "YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf"
23 | ] = YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf
24 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner_links import (
25 | YellowNoticeDetailImagesEmbeddedImagesInnerLinks,
26 | )
27 |
28 |
29 | class TestYellowNoticeDetailImagesEmbeddedImagesInnerLinks(unittest.TestCase):
30 | """YellowNoticeDetailImagesEmbeddedImagesInnerLinks unit test stubs"""
31 |
32 | def setUp(self):
33 | pass
34 |
35 | def tearDown(self):
36 | pass
37 |
38 | def testYellowNoticeDetailImagesEmbeddedImagesInnerLinks(self):
39 | """Test YellowNoticeDetailImagesEmbeddedImagesInnerLinks"""
40 | # FIXME: construct object with mandatory attributes with example values
41 | # model = YellowNoticeDetailImagesEmbeddedImagesInnerLinks() # noqa: E501
42 | pass
43 |
44 |
45 | if __name__ == "__main__":
46 | unittest.main()
47 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images_embedded_images_inner_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner_links_self import (
16 | YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestYellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf(unittest.TestCase):
23 | """YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testYellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf(self):
32 | """Test YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_embedded_images_inner_links_self import (
16 | YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf,
17 | )
18 | from deutschland.interpol.model.yellow_notice_detail_images_links_notice import (
19 | YellowNoticeDetailImagesLinksNotice,
20 | )
21 | from deutschland.interpol.model.yellow_notice_detail_images_links_self import (
22 | YellowNoticeDetailImagesLinksSelf,
23 | )
24 |
25 | from deutschland import interpol
26 |
27 | globals()[
28 | "YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf"
29 | ] = YellowNoticeDetailImagesEmbeddedImagesInnerLinksSelf
30 | globals()["YellowNoticeDetailImagesLinksNotice"] = YellowNoticeDetailImagesLinksNotice
31 | globals()["YellowNoticeDetailImagesLinksSelf"] = YellowNoticeDetailImagesLinksSelf
32 | from deutschland.interpol.model.yellow_notice_detail_images_links import (
33 | YellowNoticeDetailImagesLinks,
34 | )
35 |
36 |
37 | class TestYellowNoticeDetailImagesLinks(unittest.TestCase):
38 | """YellowNoticeDetailImagesLinks unit test stubs"""
39 |
40 | def setUp(self):
41 | pass
42 |
43 | def tearDown(self):
44 | pass
45 |
46 | def testYellowNoticeDetailImagesLinks(self):
47 | """Test YellowNoticeDetailImagesLinks"""
48 | # FIXME: construct object with mandatory attributes with example values
49 | # model = YellowNoticeDetailImagesLinks() # noqa: E501
50 | pass
51 |
52 |
53 | if __name__ == "__main__":
54 | unittest.main()
55 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images_links_notice.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_links_notice import (
16 | YellowNoticeDetailImagesLinksNotice,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestYellowNoticeDetailImagesLinksNotice(unittest.TestCase):
23 | """YellowNoticeDetailImagesLinksNotice unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testYellowNoticeDetailImagesLinksNotice(self):
32 | """Test YellowNoticeDetailImagesLinksNotice"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = YellowNoticeDetailImagesLinksNotice() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_images_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_images_links_self import (
16 | YellowNoticeDetailImagesLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestYellowNoticeDetailImagesLinksSelf(unittest.TestCase):
23 | """YellowNoticeDetailImagesLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testYellowNoticeDetailImagesLinksSelf(self):
32 | """Test YellowNoticeDetailImagesLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = YellowNoticeDetailImagesLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_links_images import (
16 | YellowNoticeDetailLinksImages,
17 | )
18 | from deutschland.interpol.model.yellow_notice_detail_links_self import (
19 | YellowNoticeDetailLinksSelf,
20 | )
21 | from deutschland.interpol.model.yellow_notice_detail_links_thumbnail import (
22 | YellowNoticeDetailLinksThumbnail,
23 | )
24 |
25 | from deutschland import interpol
26 |
27 | globals()["YellowNoticeDetailLinksImages"] = YellowNoticeDetailLinksImages
28 | globals()["YellowNoticeDetailLinksSelf"] = YellowNoticeDetailLinksSelf
29 | globals()["YellowNoticeDetailLinksThumbnail"] = YellowNoticeDetailLinksThumbnail
30 | from deutschland.interpol.model.yellow_notice_detail_links import (
31 | YellowNoticeDetailLinks,
32 | )
33 |
34 |
35 | class TestYellowNoticeDetailLinks(unittest.TestCase):
36 | """YellowNoticeDetailLinks unit test stubs"""
37 |
38 | def setUp(self):
39 | pass
40 |
41 | def tearDown(self):
42 | pass
43 |
44 | def testYellowNoticeDetailLinks(self):
45 | """Test YellowNoticeDetailLinks"""
46 | # FIXME: construct object with mandatory attributes with example values
47 | # model = YellowNoticeDetailLinks() # noqa: E501
48 | pass
49 |
50 |
51 | if __name__ == "__main__":
52 | unittest.main()
53 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_links_images.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_links_images import (
16 | YellowNoticeDetailLinksImages,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestYellowNoticeDetailLinksImages(unittest.TestCase):
23 | """YellowNoticeDetailLinksImages unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testYellowNoticeDetailLinksImages(self):
32 | """Test YellowNoticeDetailLinksImages"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = YellowNoticeDetailLinksImages() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_links_self import (
16 | YellowNoticeDetailLinksSelf,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestYellowNoticeDetailLinksSelf(unittest.TestCase):
23 | """YellowNoticeDetailLinksSelf unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testYellowNoticeDetailLinksSelf(self):
32 | """Test YellowNoticeDetailLinksSelf"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = YellowNoticeDetailLinksSelf() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notice_detail_links_thumbnail.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notice_detail_links_thumbnail import (
16 | YellowNoticeDetailLinksThumbnail,
17 | )
18 |
19 | from deutschland import interpol
20 |
21 |
22 | class TestYellowNoticeDetailLinksThumbnail(unittest.TestCase):
23 | """YellowNoticeDetailLinksThumbnail unit test stubs"""
24 |
25 | def setUp(self):
26 | pass
27 |
28 | def tearDown(self):
29 | pass
30 |
31 | def testYellowNoticeDetailLinksThumbnail(self):
32 | """Test YellowNoticeDetailLinksThumbnail"""
33 | # FIXME: construct object with mandatory attributes with example values
34 | # model = YellowNoticeDetailLinksThumbnail() # noqa: E501
35 | pass
36 |
37 |
38 | if __name__ == "__main__":
39 | unittest.main()
40 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notices.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.red_notices_embedded import RedNoticesEmbedded
16 | from deutschland.interpol.model.red_notices_query import RedNoticesQuery
17 | from deutschland.interpol.model.yellow_notices_links import YellowNoticesLinks
18 |
19 | from deutschland import interpol
20 |
21 | globals()["RedNoticesEmbedded"] = RedNoticesEmbedded
22 | globals()["RedNoticesQuery"] = RedNoticesQuery
23 | globals()["YellowNoticesLinks"] = YellowNoticesLinks
24 | from deutschland.interpol.model.yellow_notices import YellowNotices
25 |
26 |
27 | class TestYellowNotices(unittest.TestCase):
28 | """YellowNotices unit test stubs"""
29 |
30 | def setUp(self):
31 | pass
32 |
33 | def tearDown(self):
34 | pass
35 |
36 | def testYellowNotices(self):
37 | """Test YellowNotices"""
38 | # FIXME: construct object with mandatory attributes with example values
39 | # model = YellowNotices() # noqa: E501
40 | pass
41 |
42 |
43 | if __name__ == "__main__":
44 | unittest.main()
45 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notices_links.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notices_links_last import YellowNoticesLinksLast
16 | from deutschland.interpol.model.yellow_notices_links_next import YellowNoticesLinksNext
17 | from deutschland.interpol.model.yellow_notices_links_self import YellowNoticesLinksSelf
18 |
19 | from deutschland import interpol
20 |
21 | globals()["YellowNoticesLinksLast"] = YellowNoticesLinksLast
22 | globals()["YellowNoticesLinksNext"] = YellowNoticesLinksNext
23 | globals()["YellowNoticesLinksSelf"] = YellowNoticesLinksSelf
24 | from deutschland.interpol.model.yellow_notices_links import YellowNoticesLinks
25 |
26 |
27 | class TestYellowNoticesLinks(unittest.TestCase):
28 | """YellowNoticesLinks unit test stubs"""
29 |
30 | def setUp(self):
31 | pass
32 |
33 | def tearDown(self):
34 | pass
35 |
36 | def testYellowNoticesLinks(self):
37 | """Test YellowNoticesLinks"""
38 | # FIXME: construct object with mandatory attributes with example values
39 | # model = YellowNoticesLinks() # noqa: E501
40 | pass
41 |
42 |
43 | if __name__ == "__main__":
44 | unittest.main()
45 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notices_links_last.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notices_links_last import YellowNoticesLinksLast
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestYellowNoticesLinksLast(unittest.TestCase):
21 | """YellowNoticesLinksLast unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testYellowNoticesLinksLast(self):
30 | """Test YellowNoticesLinksLast"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = YellowNoticesLinksLast() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notices_links_next.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notices_links_next import YellowNoticesLinksNext
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestYellowNoticesLinksNext(unittest.TestCase):
21 | """YellowNoticesLinksNext unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testYellowNoticesLinksNext(self):
30 | """Test YellowNoticesLinksNext"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = YellowNoticesLinksNext() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/python-client/test/test_yellow_notices_links_self.py:
--------------------------------------------------------------------------------
1 | """
2 | Interpol Notices API
3 |
4 | Interpol Red, Yellow and UN Notices API # noqa: E501
5 |
6 | The version of the OpenAPI document: 1.0.2
7 | Contact: kontakt@bund.dev
8 | Generated by: https://openapi-generator.tech
9 | """
10 |
11 |
12 | import sys
13 | import unittest
14 |
15 | from deutschland.interpol.model.yellow_notices_links_self import YellowNoticesLinksSelf
16 |
17 | from deutschland import interpol
18 |
19 |
20 | class TestYellowNoticesLinksSelf(unittest.TestCase):
21 | """YellowNoticesLinksSelf unit test stubs"""
22 |
23 | def setUp(self):
24 | pass
25 |
26 | def tearDown(self):
27 | pass
28 |
29 | def testYellowNoticesLinksSelf(self):
30 | """Test YellowNoticesLinksSelf"""
31 | # FIXME: construct object with mandatory attributes with example values
32 | # model = YellowNoticesLinksSelf() # noqa: E501
33 | pass
34 |
35 |
36 | if __name__ == "__main__":
37 | unittest.main()
38 |
--------------------------------------------------------------------------------
/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=interpol
10 |
--------------------------------------------------------------------------------