crc-pulpcore-client 20250819.1__py3-none-any.whl → 20250821.1__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.

Potentially problematic release.


This version of crc-pulpcore-client might be problematic. Click here for more details.

Files changed (239) hide show
  1. crc-pulpcore-client/api_client.py +1 -1
  2. crc-pulpcore-client/configuration.py +3 -3
  3. crc-pulpcore-client/models/artifact_distribution_response.py +13 -13
  4. {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/METADATA +1 -1
  5. crc_pulpcore_client-20250821.1.dist-info/RECORD +234 -0
  6. crc_pulpcore_client-20250821.1.dist-info/top_level.txt +1 -0
  7. crc_pulpcore_client-20250819.1.dist-info/RECORD +0 -464
  8. crc_pulpcore_client-20250819.1.dist-info/top_level.txt +0 -2
  9. services-pulpcore-client/__init__.py +0 -2
  10. services-pulpcore-client/api/__init__.py +0 -53
  11. services-pulpcore-client/api/access_policies_api.py +0 -1864
  12. services-pulpcore-client/api/artifacts_api.py +0 -1615
  13. services-pulpcore-client/api/content_api.py +0 -598
  14. services-pulpcore-client/api/content_openpgp_publickey_api.py +0 -1887
  15. services-pulpcore-client/api/content_openpgp_publicsubkey_api.py +0 -1518
  16. services-pulpcore-client/api/content_openpgp_signature_api.py +0 -1518
  17. services-pulpcore-client/api/content_openpgp_userattribute_api.py +0 -1518
  18. services-pulpcore-client/api/content_openpgp_userid_api.py +0 -1655
  19. services-pulpcore-client/api/contentguards_api.py +0 -667
  20. services-pulpcore-client/api/contentguards_composite_api.py +0 -3401
  21. services-pulpcore-client/api/contentguards_content_redirect_api.py +0 -3401
  22. services-pulpcore-client/api/contentguards_header_api.py +0 -3401
  23. services-pulpcore-client/api/contentguards_rbac_api.py +0 -3401
  24. services-pulpcore-client/api/distributions_api.py +0 -822
  25. services-pulpcore-client/api/distributions_artifacts_api.py +0 -1103
  26. services-pulpcore-client/api/distributions_openpgp_api.py +0 -2676
  27. services-pulpcore-client/api/domains_api.py +0 -3106
  28. services-pulpcore-client/api/exporters_filesystem_api.py +0 -2157
  29. services-pulpcore-client/api/exporters_filesystem_exports_api.py +0 -1288
  30. services-pulpcore-client/api/exporters_pulp_api.py +0 -2157
  31. services-pulpcore-client/api/exporters_pulp_exports_api.py +0 -1288
  32. services-pulpcore-client/api/groups_api.py +0 -3368
  33. services-pulpcore-client/api/groups_roles_api.py +0 -1496
  34. services-pulpcore-client/api/groups_users_api.py +0 -972
  35. services-pulpcore-client/api/importers_pulp_api.py +0 -2149
  36. services-pulpcore-client/api/importers_pulp_import_check_api.py +0 -350
  37. services-pulpcore-client/api/importers_pulp_imports_api.py +0 -1288
  38. services-pulpcore-client/api/livez_api.py +0 -329
  39. services-pulpcore-client/api/login_api.py +0 -897
  40. services-pulpcore-client/api/orphans_api.py +0 -319
  41. services-pulpcore-client/api/orphans_cleanup_api.py +0 -350
  42. services-pulpcore-client/api/publications_api.py +0 -765
  43. services-pulpcore-client/api/remotes_api.py +0 -850
  44. services-pulpcore-client/api/repair_api.py +0 -350
  45. services-pulpcore-client/api/repositories_api.py +0 -872
  46. services-pulpcore-client/api/repositories_openpgp_keyring_api.py +0 -4546
  47. services-pulpcore-client/api/repositories_reclaim_space_api.py +0 -350
  48. services-pulpcore-client/api/repository_versions_api.py +0 -764
  49. services-pulpcore-client/api/roles_api.py +0 -2269
  50. services-pulpcore-client/api/signing_services_api.py +0 -811
  51. services-pulpcore-client/api/status_api.py +0 -337
  52. services-pulpcore-client/api/task_groups_api.py +0 -1012
  53. services-pulpcore-client/api/task_schedules_api.py +0 -2114
  54. services-pulpcore-client/api/tasks_api.py +0 -4299
  55. services-pulpcore-client/api/uploads_api.py +0 -3346
  56. services-pulpcore-client/api/upstream_pulps_api.py +0 -4001
  57. services-pulpcore-client/api/users_api.py +0 -2373
  58. services-pulpcore-client/api/users_roles_api.py +0 -1496
  59. services-pulpcore-client/api/workers_api.py +0 -1148
  60. services-pulpcore-client/api_client.py +0 -798
  61. services-pulpcore-client/api_response.py +0 -21
  62. services-pulpcore-client/configuration.py +0 -628
  63. services-pulpcore-client/exceptions.py +0 -200
  64. services-pulpcore-client/models/__init__.py +0 -189
  65. services-pulpcore-client/models/access_policy.py +0 -94
  66. services-pulpcore-client/models/access_policy_response.py +0 -119
  67. services-pulpcore-client/models/api_app_status_response.py +0 -99
  68. services-pulpcore-client/models/artifact_distribution_response.py +0 -126
  69. services-pulpcore-client/models/artifact_response.py +0 -149
  70. services-pulpcore-client/models/async_operation_response.py +0 -88
  71. services-pulpcore-client/models/composite_content_guard.py +0 -98
  72. services-pulpcore-client/models/composite_content_guard_response.py +0 -114
  73. services-pulpcore-client/models/content_app_status_response.py +0 -99
  74. services-pulpcore-client/models/content_guard_response.py +0 -112
  75. services-pulpcore-client/models/content_redirect_content_guard.py +0 -96
  76. services-pulpcore-client/models/content_redirect_content_guard_response.py +0 -112
  77. services-pulpcore-client/models/content_settings_response.py +0 -95
  78. services-pulpcore-client/models/content_summary_response.py +0 -92
  79. services-pulpcore-client/models/database_connection_response.py +0 -88
  80. services-pulpcore-client/models/distribution_response.py +0 -133
  81. services-pulpcore-client/models/domain.py +0 -114
  82. services-pulpcore-client/models/domain_backend_migrator.py +0 -91
  83. services-pulpcore-client/models/domain_response.py +0 -131
  84. services-pulpcore-client/models/evaluation_response.py +0 -92
  85. services-pulpcore-client/models/filesystem_export.py +0 -99
  86. services-pulpcore-client/models/filesystem_export_response.py +0 -118
  87. services-pulpcore-client/models/filesystem_exporter.py +0 -94
  88. services-pulpcore-client/models/filesystem_exporter_response.py +0 -110
  89. services-pulpcore-client/models/generic_remote_response.py +0 -199
  90. services-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +0 -90
  91. services-pulpcore-client/models/generic_remote_response_policy_enum.py +0 -39
  92. services-pulpcore-client/models/group.py +0 -89
  93. services-pulpcore-client/models/group_progress_report_response.py +0 -111
  94. services-pulpcore-client/models/group_response.py +0 -101
  95. services-pulpcore-client/models/group_role.py +0 -110
  96. services-pulpcore-client/models/group_role_response.py +0 -134
  97. services-pulpcore-client/models/group_user.py +0 -89
  98. services-pulpcore-client/models/group_user_response.py +0 -97
  99. services-pulpcore-client/models/header_content_guard.py +0 -107
  100. services-pulpcore-client/models/header_content_guard_response.py +0 -123
  101. services-pulpcore-client/models/import_response.py +0 -107
  102. services-pulpcore-client/models/login_response.py +0 -98
  103. services-pulpcore-client/models/method_enum.py +0 -39
  104. services-pulpcore-client/models/minimal_task_response.py +0 -125
  105. services-pulpcore-client/models/multiple_artifact_content_response.py +0 -107
  106. services-pulpcore-client/models/my_permissions_response.py +0 -88
  107. services-pulpcore-client/models/nested_open_pgp_public_subkey.py +0 -92
  108. services-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +0 -104
  109. services-pulpcore-client/models/nested_open_pgp_signature.py +0 -120
  110. services-pulpcore-client/models/nested_open_pgp_signature_response.py +0 -124
  111. services-pulpcore-client/models/nested_open_pgp_user_attribute.py +0 -89
  112. services-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +0 -101
  113. services-pulpcore-client/models/nested_open_pgp_user_id.py +0 -89
  114. services-pulpcore-client/models/nested_open_pgp_user_id_response.py +0 -100
  115. services-pulpcore-client/models/nested_role.py +0 -93
  116. services-pulpcore-client/models/nested_role_response.py +0 -92
  117. services-pulpcore-client/models/object_roles_response.py +0 -96
  118. services-pulpcore-client/models/open_pgp_distribution.py +0 -116
  119. services-pulpcore-client/models/open_pgp_distribution_response.py +0 -140
  120. services-pulpcore-client/models/open_pgp_keyring.py +0 -112
  121. services-pulpcore-client/models/open_pgp_keyring_response.py +0 -137
  122. services-pulpcore-client/models/open_pgp_public_key_response.py +0 -150
  123. services-pulpcore-client/models/open_pgp_public_subkey_response.py +0 -126
  124. services-pulpcore-client/models/open_pgp_signature_response.py +0 -146
  125. services-pulpcore-client/models/open_pgp_user_attribute_response.py +0 -124
  126. services-pulpcore-client/models/open_pgp_user_id_response.py +0 -123
  127. services-pulpcore-client/models/orphans_cleanup.py +0 -96
  128. services-pulpcore-client/models/paginated_access_policy_response_list.py +0 -112
  129. services-pulpcore-client/models/paginated_artifact_distribution_response_list.py +0 -112
  130. services-pulpcore-client/models/paginated_artifact_response_list.py +0 -112
  131. services-pulpcore-client/models/paginated_composite_content_guard_response_list.py +0 -112
  132. services-pulpcore-client/models/paginated_content_guard_response_list.py +0 -112
  133. services-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +0 -112
  134. services-pulpcore-client/models/paginated_distribution_response_list.py +0 -112
  135. services-pulpcore-client/models/paginated_domain_response_list.py +0 -112
  136. services-pulpcore-client/models/paginated_filesystem_export_response_list.py +0 -112
  137. services-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +0 -112
  138. services-pulpcore-client/models/paginated_generic_remote_response_list.py +0 -112
  139. services-pulpcore-client/models/paginated_group_response_list.py +0 -112
  140. services-pulpcore-client/models/paginated_group_role_response_list.py +0 -112
  141. services-pulpcore-client/models/paginated_group_user_response_list.py +0 -112
  142. services-pulpcore-client/models/paginated_header_content_guard_response_list.py +0 -112
  143. services-pulpcore-client/models/paginated_import_response_list.py +0 -112
  144. services-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +0 -112
  145. services-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +0 -112
  146. services-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +0 -112
  147. services-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +0 -112
  148. services-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +0 -112
  149. services-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +0 -112
  150. services-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +0 -112
  151. services-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +0 -112
  152. services-pulpcore-client/models/paginated_publication_response_list.py +0 -112
  153. services-pulpcore-client/models/paginated_pulp_export_response_list.py +0 -112
  154. services-pulpcore-client/models/paginated_pulp_exporter_response_list.py +0 -112
  155. services-pulpcore-client/models/paginated_pulp_importer_response_list.py +0 -112
  156. services-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +0 -112
  157. services-pulpcore-client/models/paginated_repository_response_list.py +0 -112
  158. services-pulpcore-client/models/paginated_repository_version_response_list.py +0 -112
  159. services-pulpcore-client/models/paginated_role_response_list.py +0 -112
  160. services-pulpcore-client/models/paginated_signing_service_response_list.py +0 -112
  161. services-pulpcore-client/models/paginated_task_group_response_list.py +0 -112
  162. services-pulpcore-client/models/paginated_task_response_list.py +0 -112
  163. services-pulpcore-client/models/paginated_task_schedule_response_list.py +0 -112
  164. services-pulpcore-client/models/paginated_upload_response_list.py +0 -112
  165. services-pulpcore-client/models/paginated_upstream_pulp_response_list.py +0 -112
  166. services-pulpcore-client/models/paginated_user_response_list.py +0 -112
  167. services-pulpcore-client/models/paginated_user_role_response_list.py +0 -112
  168. services-pulpcore-client/models/paginated_worker_response_list.py +0 -112
  169. services-pulpcore-client/models/patched_access_policy.py +0 -94
  170. services-pulpcore-client/models/patched_composite_content_guard.py +0 -98
  171. services-pulpcore-client/models/patched_content_redirect_content_guard.py +0 -96
  172. services-pulpcore-client/models/patched_domain.py +0 -117
  173. services-pulpcore-client/models/patched_filesystem_exporter.py +0 -94
  174. services-pulpcore-client/models/patched_group.py +0 -89
  175. services-pulpcore-client/models/patched_header_content_guard.py +0 -107
  176. services-pulpcore-client/models/patched_open_pgp_distribution.py +0 -116
  177. services-pulpcore-client/models/patched_open_pgp_keyring.py +0 -112
  178. services-pulpcore-client/models/patched_pulp_exporter.py +0 -100
  179. services-pulpcore-client/models/patched_pulp_importer.py +0 -91
  180. services-pulpcore-client/models/patched_rbac_content_guard.py +0 -96
  181. services-pulpcore-client/models/patched_role.py +0 -98
  182. services-pulpcore-client/models/patched_task_cancel.py +0 -89
  183. services-pulpcore-client/models/patched_upstream_pulp.py +0 -147
  184. services-pulpcore-client/models/patched_user.py +0 -106
  185. services-pulpcore-client/models/policy357_enum.py +0 -39
  186. services-pulpcore-client/models/profile_artifact_response.py +0 -88
  187. services-pulpcore-client/models/progress_report_response.py +0 -115
  188. services-pulpcore-client/models/publication_response.py +0 -107
  189. services-pulpcore-client/models/pulp_export.py +0 -104
  190. services-pulpcore-client/models/pulp_export_response.py +0 -126
  191. services-pulpcore-client/models/pulp_exporter.py +0 -100
  192. services-pulpcore-client/models/pulp_exporter_response.py +0 -116
  193. services-pulpcore-client/models/pulp_import.py +0 -93
  194. services-pulpcore-client/models/pulp_import_check.py +0 -93
  195. services-pulpcore-client/models/pulp_import_check_response.py +0 -102
  196. services-pulpcore-client/models/pulp_importer.py +0 -91
  197. services-pulpcore-client/models/pulp_importer_response.py +0 -107
  198. services-pulpcore-client/models/purge.py +0 -92
  199. services-pulpcore-client/models/rbac_content_guard.py +0 -96
  200. services-pulpcore-client/models/rbac_content_guard_response.py +0 -136
  201. services-pulpcore-client/models/reclaim_space.py +0 -90
  202. services-pulpcore-client/models/redis_connection_response.py +0 -88
  203. services-pulpcore-client/models/repair.py +0 -88
  204. services-pulpcore-client/models/repository_add_remove_content.py +0 -93
  205. services-pulpcore-client/models/repository_response.py +0 -137
  206. services-pulpcore-client/models/repository_version_response.py +0 -121
  207. services-pulpcore-client/models/role.py +0 -98
  208. services-pulpcore-client/models/role_response.py +0 -118
  209. services-pulpcore-client/models/set_label.py +0 -103
  210. services-pulpcore-client/models/set_label_response.py +0 -103
  211. services-pulpcore-client/models/signing_service_response.py +0 -111
  212. services-pulpcore-client/models/states_enum.py +0 -40
  213. services-pulpcore-client/models/status_response.py +0 -152
  214. services-pulpcore-client/models/storage_class_enum.py +0 -40
  215. services-pulpcore-client/models/storage_response.py +0 -108
  216. services-pulpcore-client/models/task_group_operation_response.py +0 -88
  217. services-pulpcore-client/models/task_group_response.py +0 -150
  218. services-pulpcore-client/models/task_response.py +0 -167
  219. services-pulpcore-client/models/task_schedule_response.py +0 -127
  220. services-pulpcore-client/models/unset_label.py +0 -96
  221. services-pulpcore-client/models/unset_label_response.py +0 -100
  222. services-pulpcore-client/models/upload.py +0 -88
  223. services-pulpcore-client/models/upload_chunk_response.py +0 -94
  224. services-pulpcore-client/models/upload_commit.py +0 -89
  225. services-pulpcore-client/models/upload_detail_response.py +0 -121
  226. services-pulpcore-client/models/upload_response.py +0 -109
  227. services-pulpcore-client/models/upstream_pulp.py +0 -147
  228. services-pulpcore-client/models/upstream_pulp_response.py +0 -158
  229. services-pulpcore-client/models/user.py +0 -106
  230. services-pulpcore-client/models/user_group.py +0 -89
  231. services-pulpcore-client/models/user_group_response.py +0 -97
  232. services-pulpcore-client/models/user_response.py +0 -140
  233. services-pulpcore-client/models/user_role.py +0 -110
  234. services-pulpcore-client/models/user_role_response.py +0 -134
  235. services-pulpcore-client/models/version_response.py +0 -96
  236. services-pulpcore-client/models/worker_response.py +0 -119
  237. services-pulpcore-client/py.typed +0 -0
  238. services-pulpcore-client/rest.py +0 -258
  239. {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/WHEEL +0 -0
@@ -1,667 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- Fetch, Upload, Organize, and Distribute Software Packages
7
-
8
- The version of the OpenAPI document: v3
9
- Contact: pulp-list@redhat.com
10
- Generated by OpenAPI Generator (https://openapi-generator.tech)
11
-
12
- Do not edit the class manually.
13
- """ # noqa: E501
14
-
15
- import warnings
16
- from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
- from typing import Any, Dict, List, Optional, Tuple, Union
18
- from typing_extensions import Annotated
19
-
20
- from pydantic import Field, StrictInt, StrictStr, field_validator
21
- from typing import List, Optional
22
- from typing_extensions import Annotated
23
- from services-pulpcore-client.models.paginated_content_guard_response_list import PaginatedContentGuardResponseList
24
-
25
- from services-pulpcore-client.api_client import ApiClient, RequestSerialized
26
- from services-pulpcore-client.api_response import ApiResponse
27
- from services-pulpcore-client.rest import RESTResponseType
28
-
29
-
30
- class ContentguardsApi:
31
- """NOTE: This class is auto generated by OpenAPI Generator
32
- Ref: https://openapi-generator.tech
33
-
34
- Do not edit the class manually.
35
- """
36
-
37
- def __init__(self, api_client=None) -> None:
38
- if api_client is None:
39
- api_client = ApiClient.get_default()
40
- self.api_client = api_client
41
-
42
-
43
- @validate_call
44
- def list(
45
- self,
46
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
47
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
48
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
49
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
50
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
51
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
52
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
53
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
54
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
55
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
56
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
57
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
58
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
59
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
60
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
61
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
62
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509")] = None,
63
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509")] = None,
64
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
65
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
66
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
67
- pulp_domain: StrictStr = "default",
68
- _request_timeout: Union[
69
- None,
70
- Annotated[StrictFloat, Field(gt=0)],
71
- Tuple[
72
- Annotated[StrictFloat, Field(gt=0)],
73
- Annotated[StrictFloat, Field(gt=0)]
74
- ]
75
- ] = None,
76
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
77
- _content_type: Optional[StrictStr] = None,
78
- _headers: Optional[Dict[StrictStr, Any]] = None,
79
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
80
- ) -> PaginatedContentGuardResponseList:
81
- """List content guards
82
-
83
- Endpoint to list all contentguards.
84
-
85
- :param pulp_domain: (required)
86
- :type pulp_domain: str
87
- :param x_task_diagnostics: List of profilers to use on tasks.
88
- :type x_task_diagnostics: List[str]
89
- :param limit: Number of results to return per page.
90
- :type limit: int
91
- :param name: Filter results where name matches value
92
- :type name: str
93
- :param name__contains: Filter results where name contains value
94
- :type name__contains: str
95
- :param name__icontains: Filter results where name contains value
96
- :type name__icontains: str
97
- :param name__iexact: Filter results where name matches value
98
- :type name__iexact: str
99
- :param name__in: Filter results where name is in a comma-separated list of values
100
- :type name__in: List[str]
101
- :param name__iregex: Filter results where name matches regex value
102
- :type name__iregex: str
103
- :param name__istartswith: Filter results where name starts with value
104
- :type name__istartswith: str
105
- :param name__regex: Filter results where name matches regex value
106
- :type name__regex: str
107
- :param name__startswith: Filter results where name starts with value
108
- :type name__startswith: str
109
- :param offset: The initial index from which to return the results.
110
- :type offset: int
111
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
112
- :type ordering: List[str]
113
- :param prn__in: Multiple values may be separated by commas.
114
- :type prn__in: List[str]
115
- :param pulp_href__in: Multiple values may be separated by commas.
116
- :type pulp_href__in: List[str]
117
- :param pulp_id__in: Multiple values may be separated by commas.
118
- :type pulp_id__in: List[str]
119
- :param pulp_type: Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
120
- :type pulp_type: str
121
- :param pulp_type__in: Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
122
- :type pulp_type__in: List[str]
123
- :param q: Filter results by using NOT, AND and OR operations on other filters
124
- :type q: str
125
- :param fields: A list of fields to include in the response.
126
- :type fields: List[str]
127
- :param exclude_fields: A list of fields to exclude from the response.
128
- :type exclude_fields: List[str]
129
- :param _request_timeout: timeout setting for this request. If one
130
- number provided, it will be total request
131
- timeout. It can also be a pair (tuple) of
132
- (connection, read) timeouts.
133
- :type _request_timeout: int, tuple(int, int), optional
134
- :param _request_auth: set to override the auth_settings for an a single
135
- request; this effectively ignores the
136
- authentication in the spec for a single request.
137
- :type _request_auth: dict, optional
138
- :param _content_type: force content-type for the request.
139
- :type _content_type: str, Optional
140
- :param _headers: set to override the headers for a single
141
- request; this effectively ignores the headers
142
- in the spec for a single request.
143
- :type _headers: dict, optional
144
- :param _host_index: set to override the host_index for a single
145
- request; this effectively ignores the host_index
146
- in the spec for a single request.
147
- :type _host_index: int, optional
148
- :return: Returns the result object.
149
- """ # noqa: E501
150
-
151
- _param = self._list_serialize(
152
- pulp_domain=pulp_domain,
153
- x_task_diagnostics=x_task_diagnostics,
154
- limit=limit,
155
- name=name,
156
- name__contains=name__contains,
157
- name__icontains=name__icontains,
158
- name__iexact=name__iexact,
159
- name__in=name__in,
160
- name__iregex=name__iregex,
161
- name__istartswith=name__istartswith,
162
- name__regex=name__regex,
163
- name__startswith=name__startswith,
164
- offset=offset,
165
- ordering=ordering,
166
- prn__in=prn__in,
167
- pulp_href__in=pulp_href__in,
168
- pulp_id__in=pulp_id__in,
169
- pulp_type=pulp_type,
170
- pulp_type__in=pulp_type__in,
171
- q=q,
172
- fields=fields,
173
- exclude_fields=exclude_fields,
174
- _request_auth=_request_auth,
175
- _content_type=_content_type,
176
- _headers=_headers,
177
- _host_index=_host_index
178
- )
179
-
180
- _response_types_map: Dict[str, Optional[str]] = {
181
- '200': "PaginatedContentGuardResponseList",
182
- }
183
- response_data = self.api_client.call_api(
184
- *_param,
185
- _request_timeout=_request_timeout
186
- )
187
- response_data.read()
188
- return self.api_client.response_deserialize(
189
- response_data=response_data,
190
- response_types_map=_response_types_map,
191
- ).data
192
-
193
-
194
- @validate_call
195
- def list_with_http_info(
196
- self,
197
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
198
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
199
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
200
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
201
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
202
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
203
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
204
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
205
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
206
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
207
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
208
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
209
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
210
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
211
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
212
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
213
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509")] = None,
214
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509")] = None,
215
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
216
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
217
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
218
- pulp_domain: StrictStr = "default",
219
- _request_timeout: Union[
220
- None,
221
- Annotated[StrictFloat, Field(gt=0)],
222
- Tuple[
223
- Annotated[StrictFloat, Field(gt=0)],
224
- Annotated[StrictFloat, Field(gt=0)]
225
- ]
226
- ] = None,
227
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
228
- _content_type: Optional[StrictStr] = None,
229
- _headers: Optional[Dict[StrictStr, Any]] = None,
230
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
231
- ) -> ApiResponse[PaginatedContentGuardResponseList]:
232
- """List content guards
233
-
234
- Endpoint to list all contentguards.
235
-
236
- :param pulp_domain: (required)
237
- :type pulp_domain: str
238
- :param x_task_diagnostics: List of profilers to use on tasks.
239
- :type x_task_diagnostics: List[str]
240
- :param limit: Number of results to return per page.
241
- :type limit: int
242
- :param name: Filter results where name matches value
243
- :type name: str
244
- :param name__contains: Filter results where name contains value
245
- :type name__contains: str
246
- :param name__icontains: Filter results where name contains value
247
- :type name__icontains: str
248
- :param name__iexact: Filter results where name matches value
249
- :type name__iexact: str
250
- :param name__in: Filter results where name is in a comma-separated list of values
251
- :type name__in: List[str]
252
- :param name__iregex: Filter results where name matches regex value
253
- :type name__iregex: str
254
- :param name__istartswith: Filter results where name starts with value
255
- :type name__istartswith: str
256
- :param name__regex: Filter results where name matches regex value
257
- :type name__regex: str
258
- :param name__startswith: Filter results where name starts with value
259
- :type name__startswith: str
260
- :param offset: The initial index from which to return the results.
261
- :type offset: int
262
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
263
- :type ordering: List[str]
264
- :param prn__in: Multiple values may be separated by commas.
265
- :type prn__in: List[str]
266
- :param pulp_href__in: Multiple values may be separated by commas.
267
- :type pulp_href__in: List[str]
268
- :param pulp_id__in: Multiple values may be separated by commas.
269
- :type pulp_id__in: List[str]
270
- :param pulp_type: Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
271
- :type pulp_type: str
272
- :param pulp_type__in: Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
273
- :type pulp_type__in: List[str]
274
- :param q: Filter results by using NOT, AND and OR operations on other filters
275
- :type q: str
276
- :param fields: A list of fields to include in the response.
277
- :type fields: List[str]
278
- :param exclude_fields: A list of fields to exclude from the response.
279
- :type exclude_fields: List[str]
280
- :param _request_timeout: timeout setting for this request. If one
281
- number provided, it will be total request
282
- timeout. It can also be a pair (tuple) of
283
- (connection, read) timeouts.
284
- :type _request_timeout: int, tuple(int, int), optional
285
- :param _request_auth: set to override the auth_settings for an a single
286
- request; this effectively ignores the
287
- authentication in the spec for a single request.
288
- :type _request_auth: dict, optional
289
- :param _content_type: force content-type for the request.
290
- :type _content_type: str, Optional
291
- :param _headers: set to override the headers for a single
292
- request; this effectively ignores the headers
293
- in the spec for a single request.
294
- :type _headers: dict, optional
295
- :param _host_index: set to override the host_index for a single
296
- request; this effectively ignores the host_index
297
- in the spec for a single request.
298
- :type _host_index: int, optional
299
- :return: Returns the result object.
300
- """ # noqa: E501
301
-
302
- _param = self._list_serialize(
303
- pulp_domain=pulp_domain,
304
- x_task_diagnostics=x_task_diagnostics,
305
- limit=limit,
306
- name=name,
307
- name__contains=name__contains,
308
- name__icontains=name__icontains,
309
- name__iexact=name__iexact,
310
- name__in=name__in,
311
- name__iregex=name__iregex,
312
- name__istartswith=name__istartswith,
313
- name__regex=name__regex,
314
- name__startswith=name__startswith,
315
- offset=offset,
316
- ordering=ordering,
317
- prn__in=prn__in,
318
- pulp_href__in=pulp_href__in,
319
- pulp_id__in=pulp_id__in,
320
- pulp_type=pulp_type,
321
- pulp_type__in=pulp_type__in,
322
- q=q,
323
- fields=fields,
324
- exclude_fields=exclude_fields,
325
- _request_auth=_request_auth,
326
- _content_type=_content_type,
327
- _headers=_headers,
328
- _host_index=_host_index
329
- )
330
-
331
- _response_types_map: Dict[str, Optional[str]] = {
332
- '200': "PaginatedContentGuardResponseList",
333
- }
334
- response_data = self.api_client.call_api(
335
- *_param,
336
- _request_timeout=_request_timeout
337
- )
338
- response_data.read()
339
- return self.api_client.response_deserialize(
340
- response_data=response_data,
341
- response_types_map=_response_types_map,
342
- )
343
-
344
-
345
- @validate_call
346
- def list_without_preload_content(
347
- self,
348
- x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
349
- limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
350
- name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
351
- name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
352
- name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
353
- name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
354
- name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
355
- name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
356
- name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
357
- name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
358
- name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
359
- offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
360
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
361
- prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
362
- pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
363
- pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
364
- pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509")] = None,
365
- pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509")] = None,
366
- q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
367
- fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
368
- exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
369
- pulp_domain: StrictStr = "default",
370
- _request_timeout: Union[
371
- None,
372
- Annotated[StrictFloat, Field(gt=0)],
373
- Tuple[
374
- Annotated[StrictFloat, Field(gt=0)],
375
- Annotated[StrictFloat, Field(gt=0)]
376
- ]
377
- ] = None,
378
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
379
- _content_type: Optional[StrictStr] = None,
380
- _headers: Optional[Dict[StrictStr, Any]] = None,
381
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
382
- ) -> RESTResponseType:
383
- """List content guards
384
-
385
- Endpoint to list all contentguards.
386
-
387
- :param pulp_domain: (required)
388
- :type pulp_domain: str
389
- :param x_task_diagnostics: List of profilers to use on tasks.
390
- :type x_task_diagnostics: List[str]
391
- :param limit: Number of results to return per page.
392
- :type limit: int
393
- :param name: Filter results where name matches value
394
- :type name: str
395
- :param name__contains: Filter results where name contains value
396
- :type name__contains: str
397
- :param name__icontains: Filter results where name contains value
398
- :type name__icontains: str
399
- :param name__iexact: Filter results where name matches value
400
- :type name__iexact: str
401
- :param name__in: Filter results where name is in a comma-separated list of values
402
- :type name__in: List[str]
403
- :param name__iregex: Filter results where name matches regex value
404
- :type name__iregex: str
405
- :param name__istartswith: Filter results where name starts with value
406
- :type name__istartswith: str
407
- :param name__regex: Filter results where name matches regex value
408
- :type name__regex: str
409
- :param name__startswith: Filter results where name starts with value
410
- :type name__startswith: str
411
- :param offset: The initial index from which to return the results.
412
- :type offset: int
413
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
414
- :type ordering: List[str]
415
- :param prn__in: Multiple values may be separated by commas.
416
- :type prn__in: List[str]
417
- :param pulp_href__in: Multiple values may be separated by commas.
418
- :type pulp_href__in: List[str]
419
- :param pulp_id__in: Multiple values may be separated by commas.
420
- :type pulp_id__in: List[str]
421
- :param pulp_type: Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
422
- :type pulp_type: str
423
- :param pulp_type__in: Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
424
- :type pulp_type__in: List[str]
425
- :param q: Filter results by using NOT, AND and OR operations on other filters
426
- :type q: str
427
- :param fields: A list of fields to include in the response.
428
- :type fields: List[str]
429
- :param exclude_fields: A list of fields to exclude from the response.
430
- :type exclude_fields: List[str]
431
- :param _request_timeout: timeout setting for this request. If one
432
- number provided, it will be total request
433
- timeout. It can also be a pair (tuple) of
434
- (connection, read) timeouts.
435
- :type _request_timeout: int, tuple(int, int), optional
436
- :param _request_auth: set to override the auth_settings for an a single
437
- request; this effectively ignores the
438
- authentication in the spec for a single request.
439
- :type _request_auth: dict, optional
440
- :param _content_type: force content-type for the request.
441
- :type _content_type: str, Optional
442
- :param _headers: set to override the headers for a single
443
- request; this effectively ignores the headers
444
- in the spec for a single request.
445
- :type _headers: dict, optional
446
- :param _host_index: set to override the host_index for a single
447
- request; this effectively ignores the host_index
448
- in the spec for a single request.
449
- :type _host_index: int, optional
450
- :return: Returns the result object.
451
- """ # noqa: E501
452
-
453
- _param = self._list_serialize(
454
- pulp_domain=pulp_domain,
455
- x_task_diagnostics=x_task_diagnostics,
456
- limit=limit,
457
- name=name,
458
- name__contains=name__contains,
459
- name__icontains=name__icontains,
460
- name__iexact=name__iexact,
461
- name__in=name__in,
462
- name__iregex=name__iregex,
463
- name__istartswith=name__istartswith,
464
- name__regex=name__regex,
465
- name__startswith=name__startswith,
466
- offset=offset,
467
- ordering=ordering,
468
- prn__in=prn__in,
469
- pulp_href__in=pulp_href__in,
470
- pulp_id__in=pulp_id__in,
471
- pulp_type=pulp_type,
472
- pulp_type__in=pulp_type__in,
473
- q=q,
474
- fields=fields,
475
- exclude_fields=exclude_fields,
476
- _request_auth=_request_auth,
477
- _content_type=_content_type,
478
- _headers=_headers,
479
- _host_index=_host_index
480
- )
481
-
482
- _response_types_map: Dict[str, Optional[str]] = {
483
- '200': "PaginatedContentGuardResponseList",
484
- }
485
- response_data = self.api_client.call_api(
486
- *_param,
487
- _request_timeout=_request_timeout
488
- )
489
- return response_data.response
490
-
491
-
492
- def _list_serialize(
493
- self,
494
- pulp_domain,
495
- x_task_diagnostics,
496
- limit,
497
- name,
498
- name__contains,
499
- name__icontains,
500
- name__iexact,
501
- name__in,
502
- name__iregex,
503
- name__istartswith,
504
- name__regex,
505
- name__startswith,
506
- offset,
507
- ordering,
508
- prn__in,
509
- pulp_href__in,
510
- pulp_id__in,
511
- pulp_type,
512
- pulp_type__in,
513
- q,
514
- fields,
515
- exclude_fields,
516
- _request_auth,
517
- _content_type,
518
- _headers,
519
- _host_index,
520
- ) -> RequestSerialized:
521
-
522
- _host = None
523
-
524
- _collection_formats: Dict[str, str] = {
525
- 'X-Task-Diagnostics': 'csv',
526
- 'name__in': 'csv',
527
- 'ordering': 'csv',
528
- 'prn__in': 'csv',
529
- 'pulp_href__in': 'csv',
530
- 'pulp_id__in': 'csv',
531
- 'pulp_type__in': 'csv',
532
- 'fields': 'multi',
533
- 'exclude_fields': 'multi',
534
- }
535
-
536
- _path_params: Dict[str, str] = {}
537
- _query_params: List[Tuple[str, str]] = []
538
- _header_params: Dict[str, Optional[str]] = _headers or {}
539
- _form_params: List[Tuple[str, str]] = []
540
- _files: Dict[
541
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
542
- ] = {}
543
- _body_params: Optional[bytes] = None
544
-
545
- # process the path parameters
546
- if pulp_domain is not None:
547
- _path_params['pulp_domain'] = pulp_domain
548
- # process the query parameters
549
- if limit is not None:
550
-
551
- _query_params.append(('limit', limit))
552
-
553
- if name is not None:
554
-
555
- _query_params.append(('name', name))
556
-
557
- if name__contains is not None:
558
-
559
- _query_params.append(('name__contains', name__contains))
560
-
561
- if name__icontains is not None:
562
-
563
- _query_params.append(('name__icontains', name__icontains))
564
-
565
- if name__iexact is not None:
566
-
567
- _query_params.append(('name__iexact', name__iexact))
568
-
569
- if name__in is not None:
570
-
571
- _query_params.append(('name__in', name__in))
572
-
573
- if name__iregex is not None:
574
-
575
- _query_params.append(('name__iregex', name__iregex))
576
-
577
- if name__istartswith is not None:
578
-
579
- _query_params.append(('name__istartswith', name__istartswith))
580
-
581
- if name__regex is not None:
582
-
583
- _query_params.append(('name__regex', name__regex))
584
-
585
- if name__startswith is not None:
586
-
587
- _query_params.append(('name__startswith', name__startswith))
588
-
589
- if offset is not None:
590
-
591
- _query_params.append(('offset', offset))
592
-
593
- if ordering is not None:
594
-
595
- _query_params.append(('ordering', ordering))
596
-
597
- if prn__in is not None:
598
-
599
- _query_params.append(('prn__in', prn__in))
600
-
601
- if pulp_href__in is not None:
602
-
603
- _query_params.append(('pulp_href__in', pulp_href__in))
604
-
605
- if pulp_id__in is not None:
606
-
607
- _query_params.append(('pulp_id__in', pulp_id__in))
608
-
609
- if pulp_type is not None:
610
-
611
- _query_params.append(('pulp_type', pulp_type))
612
-
613
- if pulp_type__in is not None:
614
-
615
- _query_params.append(('pulp_type__in', pulp_type__in))
616
-
617
- if q is not None:
618
-
619
- _query_params.append(('q', q))
620
-
621
- if fields is not None:
622
-
623
- _query_params.append(('fields', fields))
624
-
625
- if exclude_fields is not None:
626
-
627
- _query_params.append(('exclude_fields', exclude_fields))
628
-
629
- # process the header parameters
630
- if x_task_diagnostics is not None:
631
- _header_params['X-Task-Diagnostics'] = x_task_diagnostics
632
- # process the form parameters
633
- # process the body parameter
634
-
635
-
636
- # set the HTTP header `Accept`
637
- if 'Accept' not in _header_params:
638
- _header_params['Accept'] = self.api_client.select_header_accept(
639
- [
640
- 'application/json'
641
- ]
642
- )
643
-
644
-
645
- # authentication setting
646
- _auth_settings: List[str] = [
647
- 'json_header_remote_authentication',
648
- 'basicAuth',
649
- 'cookieAuth'
650
- ]
651
-
652
- return self.api_client.param_serialize(
653
- method='GET',
654
- resource_path='/api/pulp/{pulp_domain}/api/v3/contentguards/',
655
- path_params=_path_params,
656
- query_params=_query_params,
657
- header_params=_header_params,
658
- body=_body_params,
659
- post_params=_form_params,
660
- files=_files,
661
- auth_settings=_auth_settings,
662
- collection_formats=_collection_formats,
663
- _host=_host,
664
- _request_auth=_request_auth
665
- )
666
-
667
-