pulp-ansible-client 0.28.0__py3-none-any.whl → 0.28.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.
Files changed (108) hide show
  1. pulp_ansible_client-0.28.2.dist-info/METADATA +437 -0
  2. {pulp_ansible_client-0.28.0.dist-info → pulp_ansible_client-0.28.2.dist-info}/RECORD +107 -107
  3. {pulp_ansible_client-0.28.0.dist-info → pulp_ansible_client-0.28.2.dist-info}/WHEEL +1 -1
  4. pulpcore/client/pulp_ansible/__init__.py +323 -160
  5. pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +60 -60
  6. pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +16 -10
  7. pulpcore/client/pulp_ansible/api/remotes_collection_api.py +16 -10
  8. pulpcore/client/pulp_ansible/api/remotes_git_api.py +16 -10
  9. pulpcore/client/pulp_ansible/api/remotes_role_api.py +16 -10
  10. pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +16 -10
  11. pulpcore/client/pulp_ansible/api_client.py +6 -2
  12. pulpcore/client/pulp_ansible/configuration.py +10 -3
  13. pulpcore/client/pulp_ansible/exceptions.py +17 -0
  14. pulpcore/client/pulp_ansible/models/ansible_ansible_collection_deprecated.py +1 -6
  15. pulpcore/client/pulp_ansible/models/ansible_ansible_collection_deprecated_response.py +1 -10
  16. pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +1 -8
  17. pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +1 -11
  18. pulpcore/client/pulp_ansible/models/ansible_ansible_namespace_metadata.py +1 -9
  19. pulpcore/client/pulp_ansible/models/ansible_ansible_namespace_metadata_response.py +1 -12
  20. pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +1 -10
  21. pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +1 -17
  22. pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +1 -28
  23. pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +1 -28
  24. pulpcore/client/pulp_ansible/models/ansible_collection_remote_response_hidden_fields_inner.py +1 -4
  25. pulpcore/client/pulp_ansible/models/ansible_collection_response.py +1 -4
  26. pulpcore/client/pulp_ansible/models/ansible_collection_version_mark.py +1 -4
  27. pulpcore/client/pulp_ansible/models/ansible_collection_version_mark_response.py +1 -6
  28. pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +7 -39
  29. pulpcore/client/pulp_ansible/models/ansible_collection_version_signature_response.py +1 -11
  30. pulpcore/client/pulp_ansible/models/ansible_git_remote.py +55 -78
  31. pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py +40 -63
  32. pulpcore/client/pulp_ansible/models/ansible_repository_mark.py +1 -4
  33. pulpcore/client/pulp_ansible/models/ansible_repository_rebuild.py +1 -5
  34. pulpcore/client/pulp_ansible/models/ansible_repository_signature.py +1 -4
  35. pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +1 -5
  36. pulpcore/client/pulp_ansible/models/ansible_role.py +4 -11
  37. pulpcore/client/pulp_ansible/models/ansible_role_remote.py +1 -23
  38. pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +1 -23
  39. pulpcore/client/pulp_ansible/models/ansible_role_response.py +7 -18
  40. pulpcore/client/pulp_ansible/models/artifact_ref_response.py +1 -5
  41. pulpcore/client/pulp_ansible/models/async_operation_response.py +1 -3
  42. pulpcore/client/pulp_ansible/models/client_configuration_response.py +1 -3
  43. pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +1 -10
  44. pulpcore/client/pulp_ansible/models/collection_metadata_response.py +1 -12
  45. pulpcore/client/pulp_ansible/models/collection_namespace_response.py +1 -4
  46. pulpcore/client/pulp_ansible/models/collection_ref_response.py +1 -5
  47. pulpcore/client/pulp_ansible/models/collection_response.py +1 -11
  48. pulpcore/client/pulp_ansible/models/collection_summary_response.py +1 -12
  49. pulpcore/client/pulp_ansible/models/collection_summary_response_tags_inner.py +1 -3
  50. pulpcore/client/pulp_ansible/models/collection_version_copy_move.py +1 -5
  51. pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +1 -3
  52. pulpcore/client/pulp_ansible/models/collection_version_list_response.py +1 -8
  53. pulpcore/client/pulp_ansible/models/collection_version_response.py +1 -19
  54. pulpcore/client/pulp_ansible/models/collection_version_search_list.py +1 -7
  55. pulpcore/client/pulp_ansible/models/collection_version_search_list_response.py +1 -9
  56. pulpcore/client/pulp_ansible/models/collection_version_signature_response.py +1 -6
  57. pulpcore/client/pulp_ansible/models/content_summary_response.py +1 -5
  58. pulpcore/client/pulp_ansible/models/copy.py +1 -3
  59. pulpcore/client/pulp_ansible/models/galaxy_role_response.py +1 -5
  60. pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +1 -4
  61. pulpcore/client/pulp_ansible/models/my_permissions_response.py +1 -3
  62. pulpcore/client/pulp_ansible/models/namespace_link.py +1 -4
  63. pulpcore/client/pulp_ansible/models/namespace_link_response.py +1 -4
  64. pulpcore/client/pulp_ansible/models/nested_role.py +1 -5
  65. pulpcore/client/pulp_ansible/models/nested_role_response.py +1 -5
  66. pulpcore/client/pulp_ansible/models/object_roles_response.py +1 -3
  67. pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +1 -5
  68. pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +1 -6
  69. pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +1 -3
  70. pulpcore/client/pulp_ansible/models/paginated_collection_version_list_response_list.py +1 -5
  71. pulpcore/client/pulp_ansible/models/paginated_collection_version_search_list_response_list.py +1 -5
  72. pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +1 -6
  73. pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +1 -6
  74. pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +1 -6
  75. pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +1 -6
  76. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_collection_deprecated_response_list.py +1 -6
  77. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +1 -6
  78. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_namespace_metadata_response_list.py +1 -6
  79. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +1 -6
  80. pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +1 -6
  81. pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +1 -6
  82. pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_mark_response_list.py +1 -6
  83. pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +1 -6
  84. pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_signature_response_list.py +1 -6
  85. pulpcore/client/pulp_ansible/models/paginatedansible_git_remote_response_list.py +1 -6
  86. pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +1 -6
  87. pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +1 -6
  88. pulpcore/client/pulp_ansible/models/patched_collection.py +1 -3
  89. pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +1 -8
  90. pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +1 -10
  91. pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +1 -28
  92. pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py +55 -78
  93. pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +1 -23
  94. pulpcore/client/pulp_ansible/models/repair.py +1 -3
  95. pulpcore/client/pulp_ansible/models/repo_metadata_response.py +1 -3
  96. pulpcore/client/pulp_ansible/models/repository.py +1 -7
  97. pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +1 -5
  98. pulpcore/client/pulp_ansible/models/repository_response.py +1 -13
  99. pulpcore/client/pulp_ansible/models/repository_version_response.py +1 -11
  100. pulpcore/client/pulp_ansible/models/set_label.py +1 -4
  101. pulpcore/client/pulp_ansible/models/set_label_response.py +1 -4
  102. pulpcore/client/pulp_ansible/models/tag_response.py +1 -4
  103. pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +1 -17
  104. pulpcore/client/pulp_ansible/models/unset_label.py +1 -3
  105. pulpcore/client/pulp_ansible/models/unset_label_response.py +1 -4
  106. pulpcore/client/pulp_ansible/rest.py +1 -0
  107. pulp_ansible_client-0.28.0.dist-info/METADATA +0 -17
  108. {pulp_ansible_client-0.28.0.dist-info → pulp_ansible_client-0.28.2.dist-info}/top_level.txt +0 -0
@@ -50,12 +50,12 @@ class ContentCollectionVersionsApi:
50
50
  def create(
51
51
  self,
52
52
  x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
53
- repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
54
- 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,
55
- artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
56
53
  upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
57
- 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
+ artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
58
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
+ 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_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,
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,
61
61
  expected_version: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=128)]], Field(description="The version of the collection.")] = None,
@@ -78,18 +78,18 @@ class ContentCollectionVersionsApi:
78
78
 
79
79
  :param x_task_diagnostics: List of profilers to use on tasks.
80
80
  :type x_task_diagnostics: List[str]
81
- :param repository: A URI of a repository the new content unit should be associated with.
82
- :type repository: str
83
- :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
84
- :type pulp_labels: Dict[str, Optional[str]]
85
- :param artifact: Artifact file representing the physical content
86
- :type artifact: str
87
81
  :param upload: An uncommitted upload that may be turned into the content unit.
88
82
  :type upload: str
89
- :param file_url: A url that Pulp can download and turn into the content unit.
90
- :type file_url: str
83
+ :param artifact: Artifact file representing the physical content
84
+ :type artifact: str
91
85
  :param file: An uploaded file that may be turned into the content unit.
92
86
  :type file: bytearray
87
+ :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
88
+ :type pulp_labels: Dict[str, Optional[str]]
89
+ :param file_url: A url that Pulp can download and turn into the content unit.
90
+ :type file_url: str
91
+ :param repository: A URI of a repository the new content unit should be associated with.
92
+ :type repository: str
93
93
  :param expected_name: The name of the collection.
94
94
  :type expected_name: str
95
95
  :param expected_namespace: The namespace of the collection.
@@ -120,12 +120,12 @@ class ContentCollectionVersionsApi:
120
120
 
121
121
  _param = self._create_serialize(
122
122
  x_task_diagnostics=x_task_diagnostics,
123
- repository=repository,
124
- pulp_labels=pulp_labels,
125
- artifact=artifact,
126
123
  upload=upload,
127
- file_url=file_url,
124
+ artifact=artifact,
128
125
  file=file,
126
+ pulp_labels=pulp_labels,
127
+ file_url=file_url,
128
+ repository=repository,
129
129
  expected_name=expected_name,
130
130
  expected_namespace=expected_namespace,
131
131
  expected_version=expected_version,
@@ -153,12 +153,12 @@ class ContentCollectionVersionsApi:
153
153
  def create_with_http_info(
154
154
  self,
155
155
  x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
156
- repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
157
- 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,
158
- artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
159
156
  upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
160
- 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
+ artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
161
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
+ 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_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,
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,
164
164
  expected_version: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=128)]], Field(description="The version of the collection.")] = None,
@@ -181,18 +181,18 @@ class ContentCollectionVersionsApi:
181
181
 
182
182
  :param x_task_diagnostics: List of profilers to use on tasks.
183
183
  :type x_task_diagnostics: List[str]
184
- :param repository: A URI of a repository the new content unit should be associated with.
185
- :type repository: str
186
- :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
187
- :type pulp_labels: Dict[str, Optional[str]]
188
- :param artifact: Artifact file representing the physical content
189
- :type artifact: str
190
184
  :param upload: An uncommitted upload that may be turned into the content unit.
191
185
  :type upload: str
192
- :param file_url: A url that Pulp can download and turn into the content unit.
193
- :type file_url: str
186
+ :param artifact: Artifact file representing the physical content
187
+ :type artifact: str
194
188
  :param file: An uploaded file that may be turned into the content unit.
195
189
  :type file: bytearray
190
+ :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
191
+ :type pulp_labels: Dict[str, Optional[str]]
192
+ :param file_url: A url that Pulp can download and turn into the content unit.
193
+ :type file_url: str
194
+ :param repository: A URI of a repository the new content unit should be associated with.
195
+ :type repository: str
196
196
  :param expected_name: The name of the collection.
197
197
  :type expected_name: str
198
198
  :param expected_namespace: The namespace of the collection.
@@ -223,12 +223,12 @@ class ContentCollectionVersionsApi:
223
223
 
224
224
  _param = self._create_serialize(
225
225
  x_task_diagnostics=x_task_diagnostics,
226
- repository=repository,
227
- pulp_labels=pulp_labels,
228
- artifact=artifact,
229
226
  upload=upload,
230
- file_url=file_url,
227
+ artifact=artifact,
231
228
  file=file,
229
+ pulp_labels=pulp_labels,
230
+ file_url=file_url,
231
+ repository=repository,
232
232
  expected_name=expected_name,
233
233
  expected_namespace=expected_namespace,
234
234
  expected_version=expected_version,
@@ -256,12 +256,12 @@ class ContentCollectionVersionsApi:
256
256
  def create_without_preload_content(
257
257
  self,
258
258
  x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
259
- repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
260
- 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,
261
- artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
262
259
  upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
263
- 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
+ artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
264
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
+ 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_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,
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,
267
267
  expected_version: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=128)]], Field(description="The version of the collection.")] = None,
@@ -284,18 +284,18 @@ class ContentCollectionVersionsApi:
284
284
 
285
285
  :param x_task_diagnostics: List of profilers to use on tasks.
286
286
  :type x_task_diagnostics: List[str]
287
- :param repository: A URI of a repository the new content unit should be associated with.
288
- :type repository: str
289
- :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
290
- :type pulp_labels: Dict[str, Optional[str]]
291
- :param artifact: Artifact file representing the physical content
292
- :type artifact: str
293
287
  :param upload: An uncommitted upload that may be turned into the content unit.
294
288
  :type upload: str
295
- :param file_url: A url that Pulp can download and turn into the content unit.
296
- :type file_url: str
289
+ :param artifact: Artifact file representing the physical content
290
+ :type artifact: str
297
291
  :param file: An uploaded file that may be turned into the content unit.
298
292
  :type file: bytearray
293
+ :param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
294
+ :type pulp_labels: Dict[str, Optional[str]]
295
+ :param file_url: A url that Pulp can download and turn into the content unit.
296
+ :type file_url: str
297
+ :param repository: A URI of a repository the new content unit should be associated with.
298
+ :type repository: str
299
299
  :param expected_name: The name of the collection.
300
300
  :type expected_name: str
301
301
  :param expected_namespace: The namespace of the collection.
@@ -326,12 +326,12 @@ class ContentCollectionVersionsApi:
326
326
 
327
327
  _param = self._create_serialize(
328
328
  x_task_diagnostics=x_task_diagnostics,
329
- repository=repository,
330
- pulp_labels=pulp_labels,
331
- artifact=artifact,
332
329
  upload=upload,
333
- file_url=file_url,
330
+ artifact=artifact,
334
331
  file=file,
332
+ pulp_labels=pulp_labels,
333
+ file_url=file_url,
334
+ repository=repository,
335
335
  expected_name=expected_name,
336
336
  expected_namespace=expected_namespace,
337
337
  expected_version=expected_version,
@@ -354,12 +354,12 @@ class ContentCollectionVersionsApi:
354
354
  def _create_serialize(
355
355
  self,
356
356
  x_task_diagnostics,
357
- repository,
358
- pulp_labels,
359
- artifact,
360
357
  upload,
361
- file_url,
358
+ artifact,
362
359
  file,
360
+ pulp_labels,
361
+ file_url,
362
+ repository,
363
363
  expected_name,
364
364
  expected_namespace,
365
365
  expected_version,
@@ -390,18 +390,18 @@ class ContentCollectionVersionsApi:
390
390
  if x_task_diagnostics is not None:
391
391
  _header_params['X-Task-Diagnostics'] = x_task_diagnostics
392
392
  # process the form parameters
393
- if repository is not None:
394
- _form_params.append(('repository', repository))
395
- if pulp_labels is not None:
396
- _form_params.append(('pulp_labels', pulp_labels))
397
- if artifact is not None:
398
- _form_params.append(('artifact', artifact))
399
393
  if upload is not None:
400
394
  _form_params.append(('upload', upload))
401
- if file_url is not None:
402
- _form_params.append(('file_url', file_url))
395
+ if artifact is not None:
396
+ _form_params.append(('artifact', artifact))
403
397
  if file is not None:
404
398
  _files['file'] = file
399
+ if pulp_labels is not None:
400
+ _form_params.append(('pulp_labels', pulp_labels))
401
+ if file_url is not None:
402
+ _form_params.append(('file_url', file_url))
403
+ if repository is not None:
404
+ _form_params.append(('repository', repository))
405
405
  if expected_name is not None:
406
406
  _form_params.append(('expected_name', expected_name))
407
407
  if expected_namespace is not None:
@@ -2308,10 +2308,10 @@ class DistributionsAnsibleApi:
2308
2308
  _content_type: Optional[StrictStr] = None,
2309
2309
  _headers: Optional[Dict[StrictStr, Any]] = None,
2310
2310
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2311
- ) -> AsyncOperationResponse:
2311
+ ) -> AnsibleAnsibleDistributionResponse:
2312
2312
  """Update an ansible distribution
2313
2313
 
2314
- Trigger an asynchronous partial update task
2314
+ Update the entity partially and trigger an asynchronous task if necessary
2315
2315
 
2316
2316
  :param ansible_ansible_distribution_href: (required)
2317
2317
  :type ansible_ansible_distribution_href: str
@@ -2352,6 +2352,7 @@ class DistributionsAnsibleApi:
2352
2352
  )
2353
2353
 
2354
2354
  _response_types_map: Dict[str, Optional[str]] = {
2355
+ '200': "AnsibleAnsibleDistributionResponse",
2355
2356
  '202': "AsyncOperationResponse",
2356
2357
  }
2357
2358
  response_data = self.api_client.call_api(
@@ -2383,10 +2384,10 @@ class DistributionsAnsibleApi:
2383
2384
  _content_type: Optional[StrictStr] = None,
2384
2385
  _headers: Optional[Dict[StrictStr, Any]] = None,
2385
2386
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2386
- ) -> ApiResponse[AsyncOperationResponse]:
2387
+ ) -> ApiResponse[AnsibleAnsibleDistributionResponse]:
2387
2388
  """Update an ansible distribution
2388
2389
 
2389
- Trigger an asynchronous partial update task
2390
+ Update the entity partially and trigger an asynchronous task if necessary
2390
2391
 
2391
2392
  :param ansible_ansible_distribution_href: (required)
2392
2393
  :type ansible_ansible_distribution_href: str
@@ -2427,6 +2428,7 @@ class DistributionsAnsibleApi:
2427
2428
  )
2428
2429
 
2429
2430
  _response_types_map: Dict[str, Optional[str]] = {
2431
+ '200': "AnsibleAnsibleDistributionResponse",
2430
2432
  '202': "AsyncOperationResponse",
2431
2433
  }
2432
2434
  response_data = self.api_client.call_api(
@@ -2461,7 +2463,7 @@ class DistributionsAnsibleApi:
2461
2463
  ) -> RESTResponseType:
2462
2464
  """Update an ansible distribution
2463
2465
 
2464
- Trigger an asynchronous partial update task
2466
+ Update the entity partially and trigger an asynchronous task if necessary
2465
2467
 
2466
2468
  :param ansible_ansible_distribution_href: (required)
2467
2469
  :type ansible_ansible_distribution_href: str
@@ -2502,6 +2504,7 @@ class DistributionsAnsibleApi:
2502
2504
  )
2503
2505
 
2504
2506
  _response_types_map: Dict[str, Optional[str]] = {
2507
+ '200': "AnsibleAnsibleDistributionResponse",
2505
2508
  '202': "AsyncOperationResponse",
2506
2509
  }
2507
2510
  response_data = self.api_client.call_api(
@@ -3854,10 +3857,10 @@ class DistributionsAnsibleApi:
3854
3857
  _content_type: Optional[StrictStr] = None,
3855
3858
  _headers: Optional[Dict[StrictStr, Any]] = None,
3856
3859
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3857
- ) -> AsyncOperationResponse:
3860
+ ) -> AnsibleAnsibleDistributionResponse:
3858
3861
  """Update an ansible distribution
3859
3862
 
3860
- Trigger an asynchronous update task
3863
+ Update the entity and trigger an asynchronous task if necessary
3861
3864
 
3862
3865
  :param ansible_ansible_distribution_href: (required)
3863
3866
  :type ansible_ansible_distribution_href: str
@@ -3898,6 +3901,7 @@ class DistributionsAnsibleApi:
3898
3901
  )
3899
3902
 
3900
3903
  _response_types_map: Dict[str, Optional[str]] = {
3904
+ '200': "AnsibleAnsibleDistributionResponse",
3901
3905
  '202': "AsyncOperationResponse",
3902
3906
  }
3903
3907
  response_data = self.api_client.call_api(
@@ -3929,10 +3933,10 @@ class DistributionsAnsibleApi:
3929
3933
  _content_type: Optional[StrictStr] = None,
3930
3934
  _headers: Optional[Dict[StrictStr, Any]] = None,
3931
3935
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3932
- ) -> ApiResponse[AsyncOperationResponse]:
3936
+ ) -> ApiResponse[AnsibleAnsibleDistributionResponse]:
3933
3937
  """Update an ansible distribution
3934
3938
 
3935
- Trigger an asynchronous update task
3939
+ Update the entity and trigger an asynchronous task if necessary
3936
3940
 
3937
3941
  :param ansible_ansible_distribution_href: (required)
3938
3942
  :type ansible_ansible_distribution_href: str
@@ -3973,6 +3977,7 @@ class DistributionsAnsibleApi:
3973
3977
  )
3974
3978
 
3975
3979
  _response_types_map: Dict[str, Optional[str]] = {
3980
+ '200': "AnsibleAnsibleDistributionResponse",
3976
3981
  '202': "AsyncOperationResponse",
3977
3982
  }
3978
3983
  response_data = self.api_client.call_api(
@@ -4007,7 +4012,7 @@ class DistributionsAnsibleApi:
4007
4012
  ) -> RESTResponseType:
4008
4013
  """Update an ansible distribution
4009
4014
 
4010
- Trigger an asynchronous update task
4015
+ Update the entity and trigger an asynchronous task if necessary
4011
4016
 
4012
4017
  :param ansible_ansible_distribution_href: (required)
4013
4018
  :type ansible_ansible_distribution_href: str
@@ -4048,6 +4053,7 @@ class DistributionsAnsibleApi:
4048
4053
  )
4049
4054
 
4050
4055
  _response_types_map: Dict[str, Optional[str]] = {
4056
+ '200': "AnsibleAnsibleDistributionResponse",
4051
4057
  '202': "AsyncOperationResponse",
4052
4058
  }
4053
4059
  response_data = self.api_client.call_api(
@@ -2405,10 +2405,10 @@ class RemotesCollectionApi:
2405
2405
  _content_type: Optional[StrictStr] = None,
2406
2406
  _headers: Optional[Dict[StrictStr, Any]] = None,
2407
2407
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2408
- ) -> AsyncOperationResponse:
2408
+ ) -> AnsibleCollectionRemoteResponse:
2409
2409
  """Update a collection remote
2410
2410
 
2411
- Trigger an asynchronous partial update task
2411
+ Update the entity partially and trigger an asynchronous task if necessary
2412
2412
 
2413
2413
  :param ansible_collection_remote_href: (required)
2414
2414
  :type ansible_collection_remote_href: str
@@ -2449,6 +2449,7 @@ class RemotesCollectionApi:
2449
2449
  )
2450
2450
 
2451
2451
  _response_types_map: Dict[str, Optional[str]] = {
2452
+ '200': "AnsibleCollectionRemoteResponse",
2452
2453
  '202': "AsyncOperationResponse",
2453
2454
  }
2454
2455
  response_data = self.api_client.call_api(
@@ -2480,10 +2481,10 @@ class RemotesCollectionApi:
2480
2481
  _content_type: Optional[StrictStr] = None,
2481
2482
  _headers: Optional[Dict[StrictStr, Any]] = None,
2482
2483
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2483
- ) -> ApiResponse[AsyncOperationResponse]:
2484
+ ) -> ApiResponse[AnsibleCollectionRemoteResponse]:
2484
2485
  """Update a collection remote
2485
2486
 
2486
- Trigger an asynchronous partial update task
2487
+ Update the entity partially and trigger an asynchronous task if necessary
2487
2488
 
2488
2489
  :param ansible_collection_remote_href: (required)
2489
2490
  :type ansible_collection_remote_href: str
@@ -2524,6 +2525,7 @@ class RemotesCollectionApi:
2524
2525
  )
2525
2526
 
2526
2527
  _response_types_map: Dict[str, Optional[str]] = {
2528
+ '200': "AnsibleCollectionRemoteResponse",
2527
2529
  '202': "AsyncOperationResponse",
2528
2530
  }
2529
2531
  response_data = self.api_client.call_api(
@@ -2558,7 +2560,7 @@ class RemotesCollectionApi:
2558
2560
  ) -> RESTResponseType:
2559
2561
  """Update a collection remote
2560
2562
 
2561
- Trigger an asynchronous partial update task
2563
+ Update the entity partially and trigger an asynchronous task if necessary
2562
2564
 
2563
2565
  :param ansible_collection_remote_href: (required)
2564
2566
  :type ansible_collection_remote_href: str
@@ -2599,6 +2601,7 @@ class RemotesCollectionApi:
2599
2601
  )
2600
2602
 
2601
2603
  _response_types_map: Dict[str, Optional[str]] = {
2604
+ '200': "AnsibleCollectionRemoteResponse",
2602
2605
  '202': "AsyncOperationResponse",
2603
2606
  }
2604
2607
  response_data = self.api_client.call_api(
@@ -3951,10 +3954,10 @@ class RemotesCollectionApi:
3951
3954
  _content_type: Optional[StrictStr] = None,
3952
3955
  _headers: Optional[Dict[StrictStr, Any]] = None,
3953
3956
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3954
- ) -> AsyncOperationResponse:
3957
+ ) -> AnsibleCollectionRemoteResponse:
3955
3958
  """Update a collection remote
3956
3959
 
3957
- Trigger an asynchronous update task
3960
+ Update the entity and trigger an asynchronous task if necessary
3958
3961
 
3959
3962
  :param ansible_collection_remote_href: (required)
3960
3963
  :type ansible_collection_remote_href: str
@@ -3995,6 +3998,7 @@ class RemotesCollectionApi:
3995
3998
  )
3996
3999
 
3997
4000
  _response_types_map: Dict[str, Optional[str]] = {
4001
+ '200': "AnsibleCollectionRemoteResponse",
3998
4002
  '202': "AsyncOperationResponse",
3999
4003
  }
4000
4004
  response_data = self.api_client.call_api(
@@ -4026,10 +4030,10 @@ class RemotesCollectionApi:
4026
4030
  _content_type: Optional[StrictStr] = None,
4027
4031
  _headers: Optional[Dict[StrictStr, Any]] = None,
4028
4032
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4029
- ) -> ApiResponse[AsyncOperationResponse]:
4033
+ ) -> ApiResponse[AnsibleCollectionRemoteResponse]:
4030
4034
  """Update a collection remote
4031
4035
 
4032
- Trigger an asynchronous update task
4036
+ Update the entity and trigger an asynchronous task if necessary
4033
4037
 
4034
4038
  :param ansible_collection_remote_href: (required)
4035
4039
  :type ansible_collection_remote_href: str
@@ -4070,6 +4074,7 @@ class RemotesCollectionApi:
4070
4074
  )
4071
4075
 
4072
4076
  _response_types_map: Dict[str, Optional[str]] = {
4077
+ '200': "AnsibleCollectionRemoteResponse",
4073
4078
  '202': "AsyncOperationResponse",
4074
4079
  }
4075
4080
  response_data = self.api_client.call_api(
@@ -4104,7 +4109,7 @@ class RemotesCollectionApi:
4104
4109
  ) -> RESTResponseType:
4105
4110
  """Update a collection remote
4106
4111
 
4107
- Trigger an asynchronous update task
4112
+ Update the entity and trigger an asynchronous task if necessary
4108
4113
 
4109
4114
  :param ansible_collection_remote_href: (required)
4110
4115
  :type ansible_collection_remote_href: str
@@ -4145,6 +4150,7 @@ class RemotesCollectionApi:
4145
4150
  )
4146
4151
 
4147
4152
  _response_types_map: Dict[str, Optional[str]] = {
4153
+ '200': "AnsibleCollectionRemoteResponse",
4148
4154
  '202': "AsyncOperationResponse",
4149
4155
  }
4150
4156
  response_data = self.api_client.call_api(
@@ -2336,10 +2336,10 @@ class RemotesGitApi:
2336
2336
  _content_type: Optional[StrictStr] = None,
2337
2337
  _headers: Optional[Dict[StrictStr, Any]] = None,
2338
2338
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2339
- ) -> AsyncOperationResponse:
2339
+ ) -> AnsibleGitRemoteResponse:
2340
2340
  """Update a git remote
2341
2341
 
2342
- Trigger an asynchronous partial update task
2342
+ Update the entity partially and trigger an asynchronous task if necessary
2343
2343
 
2344
2344
  :param ansible_git_remote_href: (required)
2345
2345
  :type ansible_git_remote_href: str
@@ -2380,6 +2380,7 @@ class RemotesGitApi:
2380
2380
  )
2381
2381
 
2382
2382
  _response_types_map: Dict[str, Optional[str]] = {
2383
+ '200': "AnsibleGitRemoteResponse",
2383
2384
  '202': "AsyncOperationResponse",
2384
2385
  }
2385
2386
  response_data = self.api_client.call_api(
@@ -2411,10 +2412,10 @@ class RemotesGitApi:
2411
2412
  _content_type: Optional[StrictStr] = None,
2412
2413
  _headers: Optional[Dict[StrictStr, Any]] = None,
2413
2414
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2414
- ) -> ApiResponse[AsyncOperationResponse]:
2415
+ ) -> ApiResponse[AnsibleGitRemoteResponse]:
2415
2416
  """Update a git remote
2416
2417
 
2417
- Trigger an asynchronous partial update task
2418
+ Update the entity partially and trigger an asynchronous task if necessary
2418
2419
 
2419
2420
  :param ansible_git_remote_href: (required)
2420
2421
  :type ansible_git_remote_href: str
@@ -2455,6 +2456,7 @@ class RemotesGitApi:
2455
2456
  )
2456
2457
 
2457
2458
  _response_types_map: Dict[str, Optional[str]] = {
2459
+ '200': "AnsibleGitRemoteResponse",
2458
2460
  '202': "AsyncOperationResponse",
2459
2461
  }
2460
2462
  response_data = self.api_client.call_api(
@@ -2489,7 +2491,7 @@ class RemotesGitApi:
2489
2491
  ) -> RESTResponseType:
2490
2492
  """Update a git remote
2491
2493
 
2492
- Trigger an asynchronous partial update task
2494
+ Update the entity partially and trigger an asynchronous task if necessary
2493
2495
 
2494
2496
  :param ansible_git_remote_href: (required)
2495
2497
  :type ansible_git_remote_href: str
@@ -2530,6 +2532,7 @@ class RemotesGitApi:
2530
2532
  )
2531
2533
 
2532
2534
  _response_types_map: Dict[str, Optional[str]] = {
2535
+ '200': "AnsibleGitRemoteResponse",
2533
2536
  '202': "AsyncOperationResponse",
2534
2537
  }
2535
2538
  response_data = self.api_client.call_api(
@@ -3882,10 +3885,10 @@ class RemotesGitApi:
3882
3885
  _content_type: Optional[StrictStr] = None,
3883
3886
  _headers: Optional[Dict[StrictStr, Any]] = None,
3884
3887
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3885
- ) -> AsyncOperationResponse:
3888
+ ) -> AnsibleGitRemoteResponse:
3886
3889
  """Update a git remote
3887
3890
 
3888
- Trigger an asynchronous update task
3891
+ Update the entity and trigger an asynchronous task if necessary
3889
3892
 
3890
3893
  :param ansible_git_remote_href: (required)
3891
3894
  :type ansible_git_remote_href: str
@@ -3926,6 +3929,7 @@ class RemotesGitApi:
3926
3929
  )
3927
3930
 
3928
3931
  _response_types_map: Dict[str, Optional[str]] = {
3932
+ '200': "AnsibleGitRemoteResponse",
3929
3933
  '202': "AsyncOperationResponse",
3930
3934
  }
3931
3935
  response_data = self.api_client.call_api(
@@ -3957,10 +3961,10 @@ class RemotesGitApi:
3957
3961
  _content_type: Optional[StrictStr] = None,
3958
3962
  _headers: Optional[Dict[StrictStr, Any]] = None,
3959
3963
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3960
- ) -> ApiResponse[AsyncOperationResponse]:
3964
+ ) -> ApiResponse[AnsibleGitRemoteResponse]:
3961
3965
  """Update a git remote
3962
3966
 
3963
- Trigger an asynchronous update task
3967
+ Update the entity and trigger an asynchronous task if necessary
3964
3968
 
3965
3969
  :param ansible_git_remote_href: (required)
3966
3970
  :type ansible_git_remote_href: str
@@ -4001,6 +4005,7 @@ class RemotesGitApi:
4001
4005
  )
4002
4006
 
4003
4007
  _response_types_map: Dict[str, Optional[str]] = {
4008
+ '200': "AnsibleGitRemoteResponse",
4004
4009
  '202': "AsyncOperationResponse",
4005
4010
  }
4006
4011
  response_data = self.api_client.call_api(
@@ -4035,7 +4040,7 @@ class RemotesGitApi:
4035
4040
  ) -> RESTResponseType:
4036
4041
  """Update a git remote
4037
4042
 
4038
- Trigger an asynchronous update task
4043
+ Update the entity and trigger an asynchronous task if necessary
4039
4044
 
4040
4045
  :param ansible_git_remote_href: (required)
4041
4046
  :type ansible_git_remote_href: str
@@ -4076,6 +4081,7 @@ class RemotesGitApi:
4076
4081
  )
4077
4082
 
4078
4083
  _response_types_map: Dict[str, Optional[str]] = {
4084
+ '200': "AnsibleGitRemoteResponse",
4079
4085
  '202': "AsyncOperationResponse",
4080
4086
  }
4081
4087
  response_data = self.api_client.call_api(