pulp-ansible-client 0.29.0__py3-none-any.whl → 0.29.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulp_ansible-client
3
- Version: 0.29.0
3
+ Version: 0.29.2
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -24,7 +24,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
24
24
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
25
25
 
26
26
  - API version: v3
27
- - Package version: 0.29.0
27
+ - Package version: 0.29.2
28
28
  - Generator version: 7.14.0
29
29
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
30
30
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -1,9 +1,9 @@
1
1
  pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
2
2
  pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
3
- pulpcore/client/pulp_ansible/__init__.py,sha256=viwOj0Bb9439vCPQzqUBgZCVKceWqShHfWCV-eF0e08,30528
4
- pulpcore/client/pulp_ansible/api_client.py,sha256=7WonQ27nrQ0i0X9Ac7Z-reumkB07wzemmtbl5Zndmxk,27778
3
+ pulpcore/client/pulp_ansible/__init__.py,sha256=O0fyiPpXDuCbUHNlasZh3DXgg9Km5NzgmcSrhde9cbI,30528
4
+ pulpcore/client/pulp_ansible/api_client.py,sha256=InDDs3ECIm4n8Me4PHQC6fMntPxEZkGwAStdSgU4lsI,27778
5
5
  pulpcore/client/pulp_ansible/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
- pulpcore/client/pulp_ansible/configuration.py,sha256=a4v-OugU_8qqAi0jPTyGMfU2V_DwsMWYtei2pk5LFL0,19591
6
+ pulpcore/client/pulp_ansible/configuration.py,sha256=WiXNXCVGIuM7U-Ky4T7zIP0NlYQJak8o9pqVvHn2ugo,19591
7
7
  pulpcore/client/pulp_ansible/exceptions.py,sha256=UUQyfmHrA0wKpyniO8D6jgIOSee4k0dBIImRgs74ERw,6456
8
8
  pulpcore/client/pulp_ansible/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  pulpcore/client/pulp_ansible/rest.py,sha256=zwJ0QlaKCkjYtP8-31rTPEmNJ7bi5VKDcKHn6ywtQDo,9467
@@ -16,7 +16,7 @@ pulpcore/client/pulp_ansible/api/collection_import_api.py,sha256=ex6W1SyK82yK01s
16
16
  pulpcore/client/pulp_ansible/api/content_collection_deprecations_api.py,sha256=J_kfM5f7j99UluSvw94Iz_SpqFdDVBYL7UYSRoQ11LY,78245
17
17
  pulpcore/client/pulp_ansible/api/content_collection_marks_api.py,sha256=dkDukvgB4I-PwmCxWNTrvgN9p_xC998sxIJgbXnGn-0,84114
18
18
  pulpcore/client/pulp_ansible/api/content_collection_signatures_api.py,sha256=7BfWF3_Ww0hhR276RqK4XKG215rpgQcjBIIjS_TnFQs,92716
19
- pulpcore/client/pulp_ansible/api/content_collection_versions_api.py,sha256=JBgLcTnd7EhidXXQ7657VVfrYJ9g21xAwtFntDcYRD4,100609
19
+ pulpcore/client/pulp_ansible/api/content_collection_versions_api.py,sha256=lFWMHS4Mmay8kahacnPh-qqg0gI45dcPvx-BczkKJQM,100609
20
20
  pulpcore/client/pulp_ansible/api/content_namespaces_api.py,sha256=FfOzP9KihQ5w7AhhPaFniHtctqT1QrWQ_itAd_vMyoQ,105899
21
21
  pulpcore/client/pulp_ansible/api/content_roles_api.py,sha256=sR7u_np4SeNr6cW_2DwAS1QIbfEn0ryNpyVubt4p8bc,81990
22
22
  pulpcore/client/pulp_ansible/api/distributions_ansible_api.py,sha256=MBhKSQ2KWpxtSEaJzM8QrMqPy4uBqfXZoSB_9ciGiSM,183603
@@ -80,10 +80,10 @@ pulpcore/client/pulp_ansible/models/ansible_collection_remote_response_hidden_fi
80
80
  pulpcore/client/pulp_ansible/models/ansible_collection_response.py,sha256=bBwtnFcJqeAV75lTmkWpR2dWa-60nuWDA1u0qeo5rr4,2621
81
81
  pulpcore/client/pulp_ansible/models/ansible_collection_version_mark.py,sha256=8jbeJtr0XdaexRSZlE_uUAIeeiHmHSYwTCBAhMXeuQo,3040
82
82
  pulpcore/client/pulp_ansible/models/ansible_collection_version_mark_response.py,sha256=l9ul-a9ZZ7ZjOXj_L4XU9X5izU-BKaz2pifZnVDqgSM,3411
83
- pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py,sha256=PzaHT2mZYw66BgRr8BOwJjabfEjBbIM3UqsfmPcB7PM,9458
83
+ pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py,sha256=jA7w7fVqJLNBLrOI-r-0Nk2-1SBVTbE0urbkP00a1RE,8701
84
84
  pulpcore/client/pulp_ansible/models/ansible_collection_version_signature_response.py,sha256=mM6AxP2T7iB6s_MAweA848G1EfMIiOKsHf-UZZICMJg,4554
85
- pulpcore/client/pulp_ansible/models/ansible_git_remote.py,sha256=ho_YNVpVC8K6TbH229UNNnpmMQlt-3M8P8qqufYnVsY,10444
86
- pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py,sha256=YndveUwEyuj3RdSz0GQ_4gsnd5lssAEGG67Q07sfGc8,9536
85
+ pulpcore/client/pulp_ansible/models/ansible_git_remote.py,sha256=Zm73mjh4saWLiay9fHWIorwuknQ-jbXzkwlDjQoEYyU,10444
86
+ pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py,sha256=jualSDXePlsklIizR4dzQmE7fgzbLz_QZxfSoIj1gn0,9536
87
87
  pulpcore/client/pulp_ansible/models/ansible_repository_mark.py,sha256=ZbBabTt_hdzGsokEnhCfX-Mw0E2IfMaGXn3u5s9884o,3048
88
88
  pulpcore/client/pulp_ansible/models/ansible_repository_rebuild.py,sha256=rD6rPDJ4poc5J7mLkzSatYky9sLyerGMusTF7XqKfUs,3386
89
89
  pulpcore/client/pulp_ansible/models/ansible_repository_signature.py,sha256=Rvye9n6AbLK57iAWz0b-74d2AUwDlMO7AHruvCZO6SQ,2723
@@ -91,7 +91,7 @@ pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py,sha256=k3kO9K
91
91
  pulpcore/client/pulp_ansible/models/ansible_role.py,sha256=9BXmoptzMf5A-Fx9G1LaTex-_CtTBQB-bKzJDAeSLAs,3129
92
92
  pulpcore/client/pulp_ansible/models/ansible_role_remote.py,sha256=LzMOoOOSD_hhpSbUPkfxvCH7wh__SuM8dj-x6IcXNSA,10330
93
93
  pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py,sha256=Lb7g7FI9QuvKfUS0T5-9536Q7uhGaxdqJMVyxMz0PXk,9461
94
- pulpcore/client/pulp_ansible/models/ansible_role_response.py,sha256=--OsspwSCFSMUTc_PLSd4Xww613guPxCwHBneMxB2N0,3879
94
+ pulpcore/client/pulp_ansible/models/ansible_role_response.py,sha256=fLHlsWVR0NBPY-rbEQZ-IpvRJwfyGpGDeXfmlPhNdhg,3879
95
95
  pulpcore/client/pulp_ansible/models/artifact_ref_response.py,sha256=ZB7gI5ahhgBgLZH8LKUa0H7tXZDaWBHG4a4um-O8sl0,2532
96
96
  pulpcore/client/pulp_ansible/models/async_operation_response.py,sha256=tu8pF5qBaB8ekyXKMWKGHxOGr27EmRLLKSSnaOCuPSw,2514
97
97
  pulpcore/client/pulp_ansible/models/client_configuration_response.py,sha256=HPB_11QbXjlrzZqWeRkT0CE7gmXapEUHY47_M9fam_w,2836
@@ -144,7 +144,7 @@ pulpcore/client/pulp_ansible/models/patched_collection.py,sha256=GZBd2wvO26fTZYx
144
144
  pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py,sha256=UcptZ7WVef2fZmK4m0Vzq3VGo4BYwCjLpGfgjZO7TRM,4170
145
145
  pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py,sha256=ckZshuVB22scEYMdNgnXkbofYxFZKrHQ0fqiPeM3xCY,4823
146
146
  pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py,sha256=142QTPe-rNNZfRUVdm65u3Wc6PWpbdzc6x8CMz4U-_g,12066
147
- pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py,sha256=ZaYqtbLnfWKkk1Al-Aq5h9U-dbJDcr9ofSqeLXvPf4s,10513
147
+ pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py,sha256=-tPNN4q0nEsgYNQIrxWkhXkQu_AejGw9bnVpNRtrD-4,10513
148
148
  pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py,sha256=6rDojAZVALugQ5mU7UECDi8C2oinHNTQPEC0cJNXoTw,10399
149
149
  pulpcore/client/pulp_ansible/models/policy_enum.py,sha256=fTbVIDfgaD0BEWtpX8wzz1dSDWuvYJhmROvxX52o8lY,770
150
150
  pulpcore/client/pulp_ansible/models/repair.py,sha256=-jAKvUUzykn-n5O5jYGJy40JF0PRI32rJA8lojwQV-o,2635
@@ -159,7 +159,7 @@ pulpcore/client/pulp_ansible/models/tag_response.py,sha256=m5r1IIGuCcZ_3A2EQPg8G
159
159
  pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py,sha256=prqxXFvb-HXWDehIApaILbQQ65Wlw4EjbyY_lkmiVuM,6225
160
160
  pulpcore/client/pulp_ansible/models/unset_label.py,sha256=WnWV9ibAg1S0cNy1wYO1AZ_LevaAw2I1oGrNDv7aZzw,2816
161
161
  pulpcore/client/pulp_ansible/models/unset_label_response.py,sha256=fZqXde-Il2OMNq7O2oA1T9X9K5R9BIwg7vDMzBFKLcI,2965
162
- pulp_ansible_client-0.29.0.dist-info/METADATA,sha256=kLjjcajoVM70kP-DjDK0UvitwxqxA58mv749iVa3RJ4,45931
163
- pulp_ansible_client-0.29.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
164
- pulp_ansible_client-0.29.0.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
165
- pulp_ansible_client-0.29.0.dist-info/RECORD,,
162
+ pulp_ansible_client-0.29.2.dist-info/METADATA,sha256=xUKOzdiKaaUrmo92mTg-kg1TLzJVQI1CtN2z6TAuzwM,45931
163
+ pulp_ansible_client-0.29.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
164
+ pulp_ansible_client-0.29.2.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
165
+ pulp_ansible_client-0.29.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "0.29.0"
18
+ __version__ = "0.29.2"
19
19
 
20
20
  # Define package exports
21
21
  __all__ = [
@@ -52,9 +52,9 @@ class ContentCollectionVersionsApi:
52
52
  x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
53
53
  file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
54
54
  upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
55
- file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
56
55
  artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
57
56
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
57
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
58
58
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
59
59
  expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The name of the collection.")] = None,
60
60
  expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The namespace of the collection.")] = None,
@@ -82,12 +82,12 @@ class ContentCollectionVersionsApi:
82
82
  :type file_url: str
83
83
  :param upload: An uncommitted upload that may be turned into the content unit.
84
84
  :type upload: str
85
- :param file: An uploaded file that may be turned into the content unit.
86
- :type file: bytearray
87
85
  :param artifact: Artifact file representing the physical content
88
86
  :type artifact: str
89
87
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
90
88
  :type pulp_labels: Dict[str, Optional[str]]
89
+ :param file: An uploaded file that may be turned into the content unit.
90
+ :type file: bytearray
91
91
  :param repository: A URI of a repository the new content unit should be associated with.
92
92
  :type repository: str
93
93
  :param expected_name: The name of the collection.
@@ -122,9 +122,9 @@ class ContentCollectionVersionsApi:
122
122
  x_task_diagnostics=x_task_diagnostics,
123
123
  file_url=file_url,
124
124
  upload=upload,
125
- file=file,
126
125
  artifact=artifact,
127
126
  pulp_labels=pulp_labels,
127
+ file=file,
128
128
  repository=repository,
129
129
  expected_name=expected_name,
130
130
  expected_namespace=expected_namespace,
@@ -155,9 +155,9 @@ class ContentCollectionVersionsApi:
155
155
  x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
156
156
  file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
157
157
  upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
158
- file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
159
158
  artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
160
159
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
160
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
161
161
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
162
162
  expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The name of the collection.")] = None,
163
163
  expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The namespace of the collection.")] = None,
@@ -185,12 +185,12 @@ class ContentCollectionVersionsApi:
185
185
  :type file_url: str
186
186
  :param upload: An uncommitted upload that may be turned into the content unit.
187
187
  :type upload: str
188
- :param file: An uploaded file that may be turned into the content unit.
189
- :type file: bytearray
190
188
  :param artifact: Artifact file representing the physical content
191
189
  :type artifact: str
192
190
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
193
191
  :type pulp_labels: Dict[str, Optional[str]]
192
+ :param file: An uploaded file that may be turned into the content unit.
193
+ :type file: bytearray
194
194
  :param repository: A URI of a repository the new content unit should be associated with.
195
195
  :type repository: str
196
196
  :param expected_name: The name of the collection.
@@ -225,9 +225,9 @@ class ContentCollectionVersionsApi:
225
225
  x_task_diagnostics=x_task_diagnostics,
226
226
  file_url=file_url,
227
227
  upload=upload,
228
- file=file,
229
228
  artifact=artifact,
230
229
  pulp_labels=pulp_labels,
230
+ file=file,
231
231
  repository=repository,
232
232
  expected_name=expected_name,
233
233
  expected_namespace=expected_namespace,
@@ -258,9 +258,9 @@ class ContentCollectionVersionsApi:
258
258
  x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
259
259
  file_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
260
260
  upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
261
- file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
262
261
  artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
263
262
  pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
263
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
264
264
  repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
265
265
  expected_name: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The name of the collection.")] = None,
266
266
  expected_namespace: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=64)]], Field(description="The namespace of the collection.")] = None,
@@ -288,12 +288,12 @@ class ContentCollectionVersionsApi:
288
288
  :type file_url: str
289
289
  :param upload: An uncommitted upload that may be turned into the content unit.
290
290
  :type upload: str
291
- :param file: An uploaded file that may be turned into the content unit.
292
- :type file: bytearray
293
291
  :param artifact: Artifact file representing the physical content
294
292
  :type artifact: str
295
293
  :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
296
294
  :type pulp_labels: Dict[str, Optional[str]]
295
+ :param file: An uploaded file that may be turned into the content unit.
296
+ :type file: bytearray
297
297
  :param repository: A URI of a repository the new content unit should be associated with.
298
298
  :type repository: str
299
299
  :param expected_name: The name of the collection.
@@ -328,9 +328,9 @@ class ContentCollectionVersionsApi:
328
328
  x_task_diagnostics=x_task_diagnostics,
329
329
  file_url=file_url,
330
330
  upload=upload,
331
- file=file,
332
331
  artifact=artifact,
333
332
  pulp_labels=pulp_labels,
333
+ file=file,
334
334
  repository=repository,
335
335
  expected_name=expected_name,
336
336
  expected_namespace=expected_namespace,
@@ -356,9 +356,9 @@ class ContentCollectionVersionsApi:
356
356
  x_task_diagnostics,
357
357
  file_url,
358
358
  upload,
359
- file,
360
359
  artifact,
361
360
  pulp_labels,
361
+ file,
362
362
  repository,
363
363
  expected_name,
364
364
  expected_namespace,
@@ -394,12 +394,12 @@ class ContentCollectionVersionsApi:
394
394
  _form_params.append(('file_url', file_url))
395
395
  if upload is not None:
396
396
  _form_params.append(('upload', upload))
397
- if file is not None:
398
- _files['file'] = file
399
397
  if artifact is not None:
400
398
  _form_params.append(('artifact', artifact))
401
399
  if pulp_labels is not None:
402
400
  _form_params.append(('pulp_labels', pulp_labels))
401
+ if file is not None:
402
+ _files['file'] = file
403
403
  if repository is not None:
404
404
  _form_params.append(('repository', repository))
405
405
  if expected_name is not None:
@@ -91,7 +91,7 @@ class ApiClient:
91
91
  self.default_headers[header_name] = header_value
92
92
  self.cookie = cookie
93
93
  # Set default User-Agent.
94
- self.user_agent = 'OpenAPI-Generator/0.29.0/python'
94
+ self.user_agent = 'OpenAPI-Generator/0.29.2/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -556,7 +556,7 @@ conf = pulpcore.client.pulp_ansible.Configuration(
556
556
  "OS: {env}\n"\
557
557
  "Python Version: {pyversion}\n"\
558
558
  "Version of the API: v3\n"\
559
- "SDK Package Version: 0.29.0".\
559
+ "SDK Package Version: 0.29.2".\
560
560
  format(env=sys.platform, pyversion=sys.version)
561
561
 
562
562
  def get_host_settings(self) -> List[HostSetting]:
@@ -30,12 +30,12 @@ class AnsibleCollectionVersionResponse(BaseModel):
30
30
  """
31
31
  A serializer for CollectionVersion Content.
32
32
  """ # noqa: E501
33
- pulp_href: Optional[StrictStr] = None
34
- vuln_report: Optional[StrictStr] = None
35
33
  pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
36
- pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
37
34
  artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
38
35
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
36
+ pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
37
+ vuln_report: Optional[StrictStr] = None
38
+ pulp_href: Optional[StrictStr] = None
39
39
  prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
40
40
  sha256: Optional[StrictStr] = Field(default=None, description="The SHA-256 checksum if available.")
41
41
  md5: Optional[StrictStr] = Field(default=None, description="The MD5 checksum if available.")
@@ -45,12 +45,8 @@ class AnsibleCollectionVersionResponse(BaseModel):
45
45
  sha512: Optional[StrictStr] = Field(default=None, description="The SHA-512 checksum if available.")
46
46
  id: Optional[StrictStr] = Field(default=None, description="A collection identifier.")
47
47
  authors: Optional[List[Annotated[str, Field(strict=True, max_length=64)]]] = Field(default=None, description="A list of the CollectionVersion content's authors.")
48
- contents: Optional[List[Any]] = Field(default=None, description="A JSON field with data about the contents.")
49
48
  dependencies: Optional[Dict[str, Any]] = Field(default=None, description="A dict declaring Collections that this collection requires to be installed for it to be usable.")
50
49
  description: Optional[StrictStr] = Field(default=None, description="A short summary description of the collection.")
51
- docs_blob: Optional[Dict[str, Any]] = Field(default=None, description="A JSON field holding the various documentation blobs in the collection.")
52
- manifest: Optional[Dict[str, Any]] = Field(default=None, description="A JSON field holding MANIFEST.json data.")
53
- files: Optional[Dict[str, Any]] = Field(default=None, description="A JSON field holding FILES.json data.")
54
50
  documentation: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The URL to any online docs.")
55
51
  homepage: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The URL to the homepage of the collection/project.")
56
52
  issues: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The URL to the collection issue tracker.")
@@ -61,7 +57,7 @@ class AnsibleCollectionVersionResponse(BaseModel):
61
57
  tags: Optional[List[CollectionSummaryResponseTagsInner]] = None
62
58
  version: Optional[Annotated[str, Field(strict=True, max_length=128)]] = Field(default=None, description="The version of the collection.")
63
59
  requires_ansible: Optional[StrictStr] = Field(default=None, description="The version of Ansible required to use the collection. Multiple versions can be separated with a comma.")
64
- __properties: ClassVar[List[str]] = ["pulp_href", "vuln_report", "pulp_created", "pulp_last_updated", "artifact", "pulp_labels", "prn", "sha256", "md5", "sha1", "sha224", "sha384", "sha512", "id", "authors", "contents", "dependencies", "description", "docs_blob", "manifest", "files", "documentation", "homepage", "issues", "license", "name", "namespace", "origin_repository", "tags", "version", "requires_ansible"]
60
+ __properties: ClassVar[List[str]] = ["pulp_created", "artifact", "pulp_labels", "pulp_last_updated", "vuln_report", "pulp_href", "prn", "sha256", "md5", "sha1", "sha224", "sha384", "sha512", "id", "authors", "dependencies", "description", "documentation", "homepage", "issues", "license", "name", "namespace", "origin_repository", "tags", "version", "requires_ansible"]
65
61
 
66
62
  model_config = ConfigDict(
67
63
  populate_by_name=True,
@@ -115,15 +111,12 @@ class AnsibleCollectionVersionResponse(BaseModel):
115
111
  * OpenAPI `readOnly` fields are excluded.
116
112
  * OpenAPI `readOnly` fields are excluded.
117
113
  * OpenAPI `readOnly` fields are excluded.
118
- * OpenAPI `readOnly` fields are excluded.
119
- * OpenAPI `readOnly` fields are excluded.
120
- * OpenAPI `readOnly` fields are excluded.
121
114
  """
122
115
  excluded_fields: Set[str] = set([
123
- "pulp_href",
124
- "vuln_report",
125
116
  "pulp_created",
126
117
  "pulp_last_updated",
118
+ "vuln_report",
119
+ "pulp_href",
127
120
  "prn",
128
121
  "sha256",
129
122
  "md5",
@@ -134,9 +127,6 @@ class AnsibleCollectionVersionResponse(BaseModel):
134
127
  "id",
135
128
  "dependencies",
136
129
  "description",
137
- "docs_blob",
138
- "manifest",
139
- "files",
140
130
  "documentation",
141
131
  "homepage",
142
132
  "issues",
@@ -28,29 +28,29 @@ class AnsibleGitRemote(BaseModel):
28
28
  """
29
29
  A serializer for Git Collection Remotes.
30
30
  """ # noqa: E501
31
- name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
32
- proxy_password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.")
31
+ total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
32
+ sock_read_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
33
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
34
+ max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
33
35
  password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.")
34
- proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
36
+ client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
37
+ tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
35
38
  username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
36
- ca_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
37
- url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
38
- rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
39
- sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
40
- connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
41
- sock_read_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
42
39
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
40
+ connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
41
+ ca_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
42
+ proxy_password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.")
43
43
  proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
44
+ proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
45
+ rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
44
46
  headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
47
+ url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
45
48
  client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
46
- total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
47
- client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
48
- tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
49
- download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
50
- max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
49
+ sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
50
+ name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
51
51
  metadata_only: Optional[StrictBool] = Field(default=None, description="If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.")
52
52
  git_ref: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A git ref. e.g.: branch, tag, or commit sha.")
53
- __properties: ClassVar[List[str]] = ["name", "proxy_password", "password", "proxy_username", "username", "ca_cert", "url", "rate_limit", "sock_connect_timeout", "connect_timeout", "sock_read_timeout", "pulp_labels", "proxy_url", "headers", "client_key", "total_timeout", "client_cert", "tls_validation", "download_concurrency", "max_retries", "metadata_only", "git_ref"]
53
+ __properties: ClassVar[List[str]] = ["total_timeout", "sock_read_timeout", "download_concurrency", "max_retries", "password", "client_cert", "tls_validation", "username", "pulp_labels", "connect_timeout", "ca_cert", "proxy_password", "proxy_url", "proxy_username", "rate_limit", "headers", "url", "client_key", "sock_connect_timeout", "name", "metadata_only", "git_ref"]
54
54
 
55
55
  model_config = ConfigDict(
56
56
  populate_by_name=True,
@@ -91,80 +91,80 @@ class AnsibleGitRemote(BaseModel):
91
91
  exclude=excluded_fields,
92
92
  exclude_none=True,
93
93
  )
94
- # set to None if proxy_password (nullable) is None
94
+ # set to None if total_timeout (nullable) is None
95
95
  # and model_fields_set contains the field
96
- if self.proxy_password is None and "proxy_password" in self.model_fields_set:
97
- _dict['proxy_password'] = None
96
+ if self.total_timeout is None and "total_timeout" in self.model_fields_set:
97
+ _dict['total_timeout'] = None
98
98
 
99
- # set to None if password (nullable) is None
99
+ # set to None if sock_read_timeout (nullable) is None
100
100
  # and model_fields_set contains the field
101
- if self.password is None and "password" in self.model_fields_set:
102
- _dict['password'] = None
101
+ if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
102
+ _dict['sock_read_timeout'] = None
103
103
 
104
- # set to None if proxy_username (nullable) is None
104
+ # set to None if download_concurrency (nullable) is None
105
105
  # and model_fields_set contains the field
106
- if self.proxy_username is None and "proxy_username" in self.model_fields_set:
107
- _dict['proxy_username'] = None
106
+ if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
107
+ _dict['download_concurrency'] = None
108
108
 
109
- # set to None if username (nullable) is None
109
+ # set to None if max_retries (nullable) is None
110
110
  # and model_fields_set contains the field
111
- if self.username is None and "username" in self.model_fields_set:
112
- _dict['username'] = None
111
+ if self.max_retries is None and "max_retries" in self.model_fields_set:
112
+ _dict['max_retries'] = None
113
113
 
114
- # set to None if ca_cert (nullable) is None
114
+ # set to None if password (nullable) is None
115
115
  # and model_fields_set contains the field
116
- if self.ca_cert is None and "ca_cert" in self.model_fields_set:
117
- _dict['ca_cert'] = None
116
+ if self.password is None and "password" in self.model_fields_set:
117
+ _dict['password'] = None
118
118
 
119
- # set to None if rate_limit (nullable) is None
119
+ # set to None if client_cert (nullable) is None
120
120
  # and model_fields_set contains the field
121
- if self.rate_limit is None and "rate_limit" in self.model_fields_set:
122
- _dict['rate_limit'] = None
121
+ if self.client_cert is None and "client_cert" in self.model_fields_set:
122
+ _dict['client_cert'] = None
123
123
 
124
- # set to None if sock_connect_timeout (nullable) is None
124
+ # set to None if username (nullable) is None
125
125
  # and model_fields_set contains the field
126
- if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
127
- _dict['sock_connect_timeout'] = None
126
+ if self.username is None and "username" in self.model_fields_set:
127
+ _dict['username'] = None
128
128
 
129
129
  # set to None if connect_timeout (nullable) is None
130
130
  # and model_fields_set contains the field
131
131
  if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
132
132
  _dict['connect_timeout'] = None
133
133
 
134
- # set to None if sock_read_timeout (nullable) is None
134
+ # set to None if ca_cert (nullable) is None
135
135
  # and model_fields_set contains the field
136
- if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
137
- _dict['sock_read_timeout'] = None
136
+ if self.ca_cert is None and "ca_cert" in self.model_fields_set:
137
+ _dict['ca_cert'] = None
138
+
139
+ # set to None if proxy_password (nullable) is None
140
+ # and model_fields_set contains the field
141
+ if self.proxy_password is None and "proxy_password" in self.model_fields_set:
142
+ _dict['proxy_password'] = None
138
143
 
139
144
  # set to None if proxy_url (nullable) is None
140
145
  # and model_fields_set contains the field
141
146
  if self.proxy_url is None and "proxy_url" in self.model_fields_set:
142
147
  _dict['proxy_url'] = None
143
148
 
144
- # set to None if client_key (nullable) is None
145
- # and model_fields_set contains the field
146
- if self.client_key is None and "client_key" in self.model_fields_set:
147
- _dict['client_key'] = None
148
-
149
- # set to None if total_timeout (nullable) is None
149
+ # set to None if proxy_username (nullable) is None
150
150
  # and model_fields_set contains the field
151
- if self.total_timeout is None and "total_timeout" in self.model_fields_set:
152
- _dict['total_timeout'] = None
151
+ if self.proxy_username is None and "proxy_username" in self.model_fields_set:
152
+ _dict['proxy_username'] = None
153
153
 
154
- # set to None if client_cert (nullable) is None
154
+ # set to None if rate_limit (nullable) is None
155
155
  # and model_fields_set contains the field
156
- if self.client_cert is None and "client_cert" in self.model_fields_set:
157
- _dict['client_cert'] = None
156
+ if self.rate_limit is None and "rate_limit" in self.model_fields_set:
157
+ _dict['rate_limit'] = None
158
158
 
159
- # set to None if download_concurrency (nullable) is None
159
+ # set to None if client_key (nullable) is None
160
160
  # and model_fields_set contains the field
161
- if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
162
- _dict['download_concurrency'] = None
161
+ if self.client_key is None and "client_key" in self.model_fields_set:
162
+ _dict['client_key'] = None
163
163
 
164
- # set to None if max_retries (nullable) is None
164
+ # set to None if sock_connect_timeout (nullable) is None
165
165
  # and model_fields_set contains the field
166
- if self.max_retries is None and "max_retries" in self.model_fields_set:
167
- _dict['max_retries'] = None
166
+ if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
167
+ _dict['sock_connect_timeout'] = None
168
168
 
169
169
  return _dict
170
170
 
@@ -30,29 +30,29 @@ class AnsibleGitRemoteResponse(BaseModel):
30
30
  """
31
31
  A serializer for Git Collection Remotes.
32
32
  """ # noqa: E501
33
- name: StrictStr = Field(description="A unique name for this remote.")
34
- pulp_href: Optional[StrictStr] = None
35
- ca_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
36
- url: StrictStr = Field(description="The URL of an external content source.")
37
- rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
38
- sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
39
- connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
33
+ hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
34
+ total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
40
35
  sock_read_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
36
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
37
+ max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
38
+ client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
39
+ tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
41
40
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
42
- hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
41
+ connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
42
+ ca_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
43
43
  proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
44
+ prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
45
+ rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
44
46
  headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
45
- total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
46
- client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
47
47
  pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
48
48
  pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the most recent update of the remote.")
49
- tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
50
- download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
51
- max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
52
- prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
49
+ url: StrictStr = Field(description="The URL of an external content source.")
50
+ pulp_href: Optional[StrictStr] = None
51
+ sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
52
+ name: StrictStr = Field(description="A unique name for this remote.")
53
53
  metadata_only: Optional[StrictBool] = Field(default=None, description="If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.")
54
54
  git_ref: Optional[StrictStr] = Field(default=None, description="A git ref. e.g.: branch, tag, or commit sha.")
55
- __properties: ClassVar[List[str]] = ["name", "pulp_href", "ca_cert", "url", "rate_limit", "sock_connect_timeout", "connect_timeout", "sock_read_timeout", "pulp_labels", "hidden_fields", "proxy_url", "headers", "total_timeout", "client_cert", "pulp_created", "pulp_last_updated", "tls_validation", "download_concurrency", "max_retries", "prn", "metadata_only", "git_ref"]
55
+ __properties: ClassVar[List[str]] = ["hidden_fields", "total_timeout", "sock_read_timeout", "download_concurrency", "max_retries", "client_cert", "tls_validation", "pulp_labels", "connect_timeout", "ca_cert", "proxy_url", "prn", "rate_limit", "headers", "pulp_created", "pulp_last_updated", "url", "pulp_href", "sock_connect_timeout", "name", "metadata_only", "git_ref"]
56
56
 
57
57
  model_config = ConfigDict(
58
58
  populate_by_name=True,
@@ -90,10 +90,10 @@ class AnsibleGitRemoteResponse(BaseModel):
90
90
  * OpenAPI `readOnly` fields are excluded.
91
91
  """
92
92
  excluded_fields: Set[str] = set([
93
- "pulp_href",
93
+ "prn",
94
94
  "pulp_created",
95
95
  "pulp_last_updated",
96
- "prn",
96
+ "pulp_href",
97
97
  ])
98
98
 
99
99
  _dict = self.model_dump(
@@ -108,55 +108,55 @@ class AnsibleGitRemoteResponse(BaseModel):
108
108
  if _item_hidden_fields:
109
109
  _items.append(_item_hidden_fields.to_dict())
110
110
  _dict['hidden_fields'] = _items
111
- # set to None if ca_cert (nullable) is None
111
+ # set to None if total_timeout (nullable) is None
112
112
  # and model_fields_set contains the field
113
- if self.ca_cert is None and "ca_cert" in self.model_fields_set:
114
- _dict['ca_cert'] = None
113
+ if self.total_timeout is None and "total_timeout" in self.model_fields_set:
114
+ _dict['total_timeout'] = None
115
115
 
116
- # set to None if rate_limit (nullable) is None
116
+ # set to None if sock_read_timeout (nullable) is None
117
117
  # and model_fields_set contains the field
118
- if self.rate_limit is None and "rate_limit" in self.model_fields_set:
119
- _dict['rate_limit'] = None
118
+ if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
119
+ _dict['sock_read_timeout'] = None
120
120
 
121
- # set to None if sock_connect_timeout (nullable) is None
121
+ # set to None if download_concurrency (nullable) is None
122
122
  # and model_fields_set contains the field
123
- if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
124
- _dict['sock_connect_timeout'] = None
123
+ if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
124
+ _dict['download_concurrency'] = None
125
+
126
+ # set to None if max_retries (nullable) is None
127
+ # and model_fields_set contains the field
128
+ if self.max_retries is None and "max_retries" in self.model_fields_set:
129
+ _dict['max_retries'] = None
130
+
131
+ # set to None if client_cert (nullable) is None
132
+ # and model_fields_set contains the field
133
+ if self.client_cert is None and "client_cert" in self.model_fields_set:
134
+ _dict['client_cert'] = None
125
135
 
126
136
  # set to None if connect_timeout (nullable) is None
127
137
  # and model_fields_set contains the field
128
138
  if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
129
139
  _dict['connect_timeout'] = None
130
140
 
131
- # set to None if sock_read_timeout (nullable) is None
141
+ # set to None if ca_cert (nullable) is None
132
142
  # and model_fields_set contains the field
133
- if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
134
- _dict['sock_read_timeout'] = None
143
+ if self.ca_cert is None and "ca_cert" in self.model_fields_set:
144
+ _dict['ca_cert'] = None
135
145
 
136
146
  # set to None if proxy_url (nullable) is None
137
147
  # and model_fields_set contains the field
138
148
  if self.proxy_url is None and "proxy_url" in self.model_fields_set:
139
149
  _dict['proxy_url'] = None
140
150
 
141
- # set to None if total_timeout (nullable) is None
142
- # and model_fields_set contains the field
143
- if self.total_timeout is None and "total_timeout" in self.model_fields_set:
144
- _dict['total_timeout'] = None
145
-
146
- # set to None if client_cert (nullable) is None
147
- # and model_fields_set contains the field
148
- if self.client_cert is None and "client_cert" in self.model_fields_set:
149
- _dict['client_cert'] = None
150
-
151
- # set to None if download_concurrency (nullable) is None
151
+ # set to None if rate_limit (nullable) is None
152
152
  # and model_fields_set contains the field
153
- if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
154
- _dict['download_concurrency'] = None
153
+ if self.rate_limit is None and "rate_limit" in self.model_fields_set:
154
+ _dict['rate_limit'] = None
155
155
 
156
- # set to None if max_retries (nullable) is None
156
+ # set to None if sock_connect_timeout (nullable) is None
157
157
  # and model_fields_set contains the field
158
- if self.max_retries is None and "max_retries" in self.model_fields_set:
159
- _dict['max_retries'] = None
158
+ if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
159
+ _dict['sock_connect_timeout'] = None
160
160
 
161
161
  return _dict
162
162
 
@@ -28,17 +28,17 @@ class AnsibleRoleResponse(BaseModel):
28
28
  """
29
29
  A serializer for Role versions.
30
30
  """ # noqa: E501
31
- pulp_href: Optional[StrictStr] = None
32
- vuln_report: Optional[StrictStr] = None
33
31
  pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
34
- pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
35
32
  artifact: StrictStr = Field(description="Artifact file representing the physical content")
36
33
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
34
+ pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
35
+ vuln_report: Optional[StrictStr] = None
36
+ pulp_href: Optional[StrictStr] = None
37
37
  prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
38
38
  version: StrictStr
39
39
  name: StrictStr
40
40
  namespace: StrictStr
41
- __properties: ClassVar[List[str]] = ["pulp_href", "vuln_report", "pulp_created", "pulp_last_updated", "artifact", "pulp_labels", "prn", "version", "name", "namespace"]
41
+ __properties: ClassVar[List[str]] = ["pulp_created", "artifact", "pulp_labels", "pulp_last_updated", "vuln_report", "pulp_href", "prn", "version", "name", "namespace"]
42
42
 
43
43
  model_config = ConfigDict(
44
44
  populate_by_name=True,
@@ -77,10 +77,10 @@ class AnsibleRoleResponse(BaseModel):
77
77
  * OpenAPI `readOnly` fields are excluded.
78
78
  """
79
79
  excluded_fields: Set[str] = set([
80
- "pulp_href",
81
- "vuln_report",
82
80
  "pulp_created",
83
81
  "pulp_last_updated",
82
+ "vuln_report",
83
+ "pulp_href",
84
84
  "prn",
85
85
  ])
86
86
 
@@ -28,29 +28,29 @@ class PatchedansibleGitRemote(BaseModel):
28
28
  """
29
29
  A serializer for Git Collection Remotes.
30
30
  """ # noqa: E501
31
- name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this remote.")
32
- proxy_password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.")
31
+ total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
32
+ sock_read_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
33
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
34
+ max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
33
35
  password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.")
34
- proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
36
+ client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
37
+ tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
35
38
  username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
36
- ca_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
37
- url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The URL of an external content source.")
38
- rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
39
- sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
40
- connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
41
- sock_read_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
42
39
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
40
+ connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
41
+ ca_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
42
+ proxy_password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.")
43
43
  proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
44
+ proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
45
+ rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
44
46
  headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
47
+ url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The URL of an external content source.")
45
48
  client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
46
- total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
47
- client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
48
- tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
49
- download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
50
- max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
49
+ sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
50
+ name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this remote.")
51
51
  metadata_only: Optional[StrictBool] = Field(default=None, description="If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.")
52
52
  git_ref: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A git ref. e.g.: branch, tag, or commit sha.")
53
- __properties: ClassVar[List[str]] = ["name", "proxy_password", "password", "proxy_username", "username", "ca_cert", "url", "rate_limit", "sock_connect_timeout", "connect_timeout", "sock_read_timeout", "pulp_labels", "proxy_url", "headers", "client_key", "total_timeout", "client_cert", "tls_validation", "download_concurrency", "max_retries", "metadata_only", "git_ref"]
53
+ __properties: ClassVar[List[str]] = ["total_timeout", "sock_read_timeout", "download_concurrency", "max_retries", "password", "client_cert", "tls_validation", "username", "pulp_labels", "connect_timeout", "ca_cert", "proxy_password", "proxy_url", "proxy_username", "rate_limit", "headers", "url", "client_key", "sock_connect_timeout", "name", "metadata_only", "git_ref"]
54
54
 
55
55
  model_config = ConfigDict(
56
56
  populate_by_name=True,
@@ -91,80 +91,80 @@ class PatchedansibleGitRemote(BaseModel):
91
91
  exclude=excluded_fields,
92
92
  exclude_none=True,
93
93
  )
94
- # set to None if proxy_password (nullable) is None
94
+ # set to None if total_timeout (nullable) is None
95
95
  # and model_fields_set contains the field
96
- if self.proxy_password is None and "proxy_password" in self.model_fields_set:
97
- _dict['proxy_password'] = None
96
+ if self.total_timeout is None and "total_timeout" in self.model_fields_set:
97
+ _dict['total_timeout'] = None
98
98
 
99
- # set to None if password (nullable) is None
99
+ # set to None if sock_read_timeout (nullable) is None
100
100
  # and model_fields_set contains the field
101
- if self.password is None and "password" in self.model_fields_set:
102
- _dict['password'] = None
101
+ if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
102
+ _dict['sock_read_timeout'] = None
103
103
 
104
- # set to None if proxy_username (nullable) is None
104
+ # set to None if download_concurrency (nullable) is None
105
105
  # and model_fields_set contains the field
106
- if self.proxy_username is None and "proxy_username" in self.model_fields_set:
107
- _dict['proxy_username'] = None
106
+ if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
107
+ _dict['download_concurrency'] = None
108
108
 
109
- # set to None if username (nullable) is None
109
+ # set to None if max_retries (nullable) is None
110
110
  # and model_fields_set contains the field
111
- if self.username is None and "username" in self.model_fields_set:
112
- _dict['username'] = None
111
+ if self.max_retries is None and "max_retries" in self.model_fields_set:
112
+ _dict['max_retries'] = None
113
113
 
114
- # set to None if ca_cert (nullable) is None
114
+ # set to None if password (nullable) is None
115
115
  # and model_fields_set contains the field
116
- if self.ca_cert is None and "ca_cert" in self.model_fields_set:
117
- _dict['ca_cert'] = None
116
+ if self.password is None and "password" in self.model_fields_set:
117
+ _dict['password'] = None
118
118
 
119
- # set to None if rate_limit (nullable) is None
119
+ # set to None if client_cert (nullable) is None
120
120
  # and model_fields_set contains the field
121
- if self.rate_limit is None and "rate_limit" in self.model_fields_set:
122
- _dict['rate_limit'] = None
121
+ if self.client_cert is None and "client_cert" in self.model_fields_set:
122
+ _dict['client_cert'] = None
123
123
 
124
- # set to None if sock_connect_timeout (nullable) is None
124
+ # set to None if username (nullable) is None
125
125
  # and model_fields_set contains the field
126
- if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
127
- _dict['sock_connect_timeout'] = None
126
+ if self.username is None and "username" in self.model_fields_set:
127
+ _dict['username'] = None
128
128
 
129
129
  # set to None if connect_timeout (nullable) is None
130
130
  # and model_fields_set contains the field
131
131
  if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
132
132
  _dict['connect_timeout'] = None
133
133
 
134
- # set to None if sock_read_timeout (nullable) is None
134
+ # set to None if ca_cert (nullable) is None
135
135
  # and model_fields_set contains the field
136
- if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
137
- _dict['sock_read_timeout'] = None
136
+ if self.ca_cert is None and "ca_cert" in self.model_fields_set:
137
+ _dict['ca_cert'] = None
138
+
139
+ # set to None if proxy_password (nullable) is None
140
+ # and model_fields_set contains the field
141
+ if self.proxy_password is None and "proxy_password" in self.model_fields_set:
142
+ _dict['proxy_password'] = None
138
143
 
139
144
  # set to None if proxy_url (nullable) is None
140
145
  # and model_fields_set contains the field
141
146
  if self.proxy_url is None and "proxy_url" in self.model_fields_set:
142
147
  _dict['proxy_url'] = None
143
148
 
144
- # set to None if client_key (nullable) is None
145
- # and model_fields_set contains the field
146
- if self.client_key is None and "client_key" in self.model_fields_set:
147
- _dict['client_key'] = None
148
-
149
- # set to None if total_timeout (nullable) is None
149
+ # set to None if proxy_username (nullable) is None
150
150
  # and model_fields_set contains the field
151
- if self.total_timeout is None and "total_timeout" in self.model_fields_set:
152
- _dict['total_timeout'] = None
151
+ if self.proxy_username is None and "proxy_username" in self.model_fields_set:
152
+ _dict['proxy_username'] = None
153
153
 
154
- # set to None if client_cert (nullable) is None
154
+ # set to None if rate_limit (nullable) is None
155
155
  # and model_fields_set contains the field
156
- if self.client_cert is None and "client_cert" in self.model_fields_set:
157
- _dict['client_cert'] = None
156
+ if self.rate_limit is None and "rate_limit" in self.model_fields_set:
157
+ _dict['rate_limit'] = None
158
158
 
159
- # set to None if download_concurrency (nullable) is None
159
+ # set to None if client_key (nullable) is None
160
160
  # and model_fields_set contains the field
161
- if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
162
- _dict['download_concurrency'] = None
161
+ if self.client_key is None and "client_key" in self.model_fields_set:
162
+ _dict['client_key'] = None
163
163
 
164
- # set to None if max_retries (nullable) is None
164
+ # set to None if sock_connect_timeout (nullable) is None
165
165
  # and model_fields_set contains the field
166
- if self.max_retries is None and "max_retries" in self.model_fields_set:
167
- _dict['max_retries'] = None
166
+ if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
167
+ _dict['sock_connect_timeout'] = None
168
168
 
169
169
  return _dict
170
170