pulp-ansible-client 0.28.3__py3-none-any.whl → 0.29.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.
- {pulp_ansible_client-0.28.3.dist-info → pulp_ansible_client-0.29.1.dist-info}/METADATA +2 -2
- {pulp_ansible_client-0.28.3.dist-info → pulp_ansible_client-0.29.1.dist-info}/RECORD +14 -14
- pulpcore/client/pulp_ansible/__init__.py +1 -1
- pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +45 -45
- pulpcore/client/pulp_ansible/api_client.py +1 -1
- pulpcore/client/pulp_ansible/configuration.py +1 -1
- pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +17 -7
- pulpcore/client/pulp_ansible/models/ansible_git_remote.py +55 -55
- pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py +43 -43
- pulpcore/client/pulp_ansible/models/ansible_role.py +2 -2
- pulpcore/client/pulp_ansible/models/ansible_role_response.py +7 -7
- pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py +55 -55
- {pulp_ansible_client-0.28.3.dist-info → pulp_ansible_client-0.29.1.dist-info}/WHEEL +0 -0
- {pulp_ansible_client-0.28.3.dist-info → pulp_ansible_client-0.29.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulp_ansible-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.29.1
|
|
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.
|
|
27
|
+
- Package version: 0.29.1
|
|
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=
|
|
4
|
-
pulpcore/client/pulp_ansible/api_client.py,sha256=
|
|
3
|
+
pulpcore/client/pulp_ansible/__init__.py,sha256=Zabv84_XyJGyM2yr9mpOLGpK3J06mwchTXuLKO2TJcU,30528
|
|
4
|
+
pulpcore/client/pulp_ansible/api_client.py,sha256=cKCkKtdCojFjXobNaZNW6vIiR-bjd9yujuj8yzoB-lA,27778
|
|
5
5
|
pulpcore/client/pulp_ansible/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulp_ansible/configuration.py,sha256=
|
|
6
|
+
pulpcore/client/pulp_ansible/configuration.py,sha256=CJSElkhbPtWWGToYPSjmukoQkGc45faIs4QmtbdLmCQ,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=
|
|
19
|
+
pulpcore/client/pulp_ansible/api/content_collection_versions_api.py,sha256=h1ECsxKIfEMYv0KVAO9sW5q4HlvpXkBRsRQIV2WakmQ,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,18 +80,18 @@ 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=
|
|
83
|
+
pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py,sha256=k3DfQVl_wsGldiYS8zWOhXbWiSBZ5EwIt37VK8PisIw,9458
|
|
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=
|
|
86
|
-
pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py,sha256=
|
|
85
|
+
pulpcore/client/pulp_ansible/models/ansible_git_remote.py,sha256=FPaFp86jxkKKAH_Oge3Zh5_C4laBurCjDcQyxxTqS5Q,10444
|
|
86
|
+
pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py,sha256=b4UMqISd0Xh_0UYOzj20ZxkdxZREqdCmdQYgSV1Zimg,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
|
|
90
90
|
pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py,sha256=k3kO9KFxkFtGeSFMkTxfhoeFT6OwZAMFN9mpsY55bjo,2961
|
|
91
|
-
pulpcore/client/pulp_ansible/models/ansible_role.py,sha256=
|
|
91
|
+
pulpcore/client/pulp_ansible/models/ansible_role.py,sha256=SVyIDv_1ShZfpLrHIDsUf1brfAyIxlmUNt2ikg-Y918,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=
|
|
94
|
+
pulpcore/client/pulp_ansible/models/ansible_role_response.py,sha256=68J-QWXaivNjc5VnsAMQGTuKgWK457-EOvMPOtiLc0A,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=
|
|
147
|
+
pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py,sha256=rUcOVpTRhAqPzD12YsOXe4yq0ZSbYVvyjcJ4D2aXLYM,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.
|
|
163
|
-
pulp_ansible_client-0.
|
|
164
|
-
pulp_ansible_client-0.
|
|
165
|
-
pulp_ansible_client-0.
|
|
162
|
+
pulp_ansible_client-0.29.1.dist-info/METADATA,sha256=lPU8zj6FeBkKMaSzwc20G-chG1wV1vd2kI-xAlxXOgw,45931
|
|
163
|
+
pulp_ansible_client-0.29.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
164
|
+
pulp_ansible_client-0.29.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
165
|
+
pulp_ansible_client-0.29.1.dist-info/RECORD,,
|
|
@@ -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
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
54
|
-
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
55
|
-
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,
|
|
56
53
|
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
54
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
58
55
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
56
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file 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,
|
|
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 file: An uploaded file that may be turned into the content unit.
|
|
82
|
-
:type file: bytearray
|
|
83
|
-
:param repository: A URI of a repository the new content unit should be associated with.
|
|
84
|
-
:type repository: str
|
|
85
|
-
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
86
|
-
:type file_url: str
|
|
87
81
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
88
82
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
89
83
|
:param artifact: Artifact file representing the physical content
|
|
90
84
|
:type artifact: str
|
|
91
85
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
92
86
|
:type upload: str
|
|
87
|
+
:param file: An uploaded file that may be turned into the content unit.
|
|
88
|
+
:type file: bytearray
|
|
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
|
-
file=file,
|
|
124
|
-
repository=repository,
|
|
125
|
-
file_url=file_url,
|
|
126
123
|
pulp_labels=pulp_labels,
|
|
127
124
|
artifact=artifact,
|
|
128
125
|
upload=upload,
|
|
126
|
+
file=file,
|
|
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
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
157
|
-
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
158
|
-
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,
|
|
159
156
|
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
157
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
161
158
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
159
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file 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,
|
|
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 file: An uploaded file that may be turned into the content unit.
|
|
185
|
-
:type file: bytearray
|
|
186
|
-
:param repository: A URI of a repository the new content unit should be associated with.
|
|
187
|
-
:type repository: str
|
|
188
|
-
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
189
|
-
:type file_url: str
|
|
190
184
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
191
185
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
192
186
|
:param artifact: Artifact file representing the physical content
|
|
193
187
|
:type artifact: str
|
|
194
188
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
195
189
|
:type upload: str
|
|
190
|
+
:param file: An uploaded file that may be turned into the content unit.
|
|
191
|
+
:type file: bytearray
|
|
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
|
-
file=file,
|
|
227
|
-
repository=repository,
|
|
228
|
-
file_url=file_url,
|
|
229
226
|
pulp_labels=pulp_labels,
|
|
230
227
|
artifact=artifact,
|
|
231
228
|
upload=upload,
|
|
229
|
+
file=file,
|
|
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
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
260
|
-
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
261
|
-
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,
|
|
262
259
|
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
260
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
264
261
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
262
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file 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,
|
|
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 file: An uploaded file that may be turned into the content unit.
|
|
288
|
-
:type file: bytearray
|
|
289
|
-
:param repository: A URI of a repository the new content unit should be associated with.
|
|
290
|
-
:type repository: str
|
|
291
|
-
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
292
|
-
:type file_url: str
|
|
293
287
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
294
288
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
295
289
|
:param artifact: Artifact file representing the physical content
|
|
296
290
|
:type artifact: str
|
|
297
291
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
298
292
|
:type upload: str
|
|
293
|
+
:param file: An uploaded file that may be turned into the content unit.
|
|
294
|
+
:type file: bytearray
|
|
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
|
-
file=file,
|
|
330
|
-
repository=repository,
|
|
331
|
-
file_url=file_url,
|
|
332
329
|
pulp_labels=pulp_labels,
|
|
333
330
|
artifact=artifact,
|
|
334
331
|
upload=upload,
|
|
332
|
+
file=file,
|
|
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
|
-
file,
|
|
358
|
-
repository,
|
|
359
|
-
file_url,
|
|
360
357
|
pulp_labels,
|
|
361
358
|
artifact,
|
|
362
359
|
upload,
|
|
360
|
+
file,
|
|
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 file is not None:
|
|
394
|
-
_files['file'] = file
|
|
395
|
-
if repository is not None:
|
|
396
|
-
_form_params.append(('repository', repository))
|
|
397
|
-
if file_url is not None:
|
|
398
|
-
_form_params.append(('file_url', file_url))
|
|
399
393
|
if pulp_labels is not None:
|
|
400
394
|
_form_params.append(('pulp_labels', pulp_labels))
|
|
401
395
|
if artifact is not None:
|
|
402
396
|
_form_params.append(('artifact', artifact))
|
|
403
397
|
if upload is not None:
|
|
404
398
|
_form_params.append(('upload', upload))
|
|
399
|
+
if file is not None:
|
|
400
|
+
_files['file'] = file
|
|
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:
|
|
@@ -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.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.29.1/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.
|
|
559
|
+
"SDK Package Version: 0.29.1".\
|
|
560
560
|
format(env=sys.platform, pyversion=sys.version)
|
|
561
561
|
|
|
562
562
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -30,13 +30,13 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
30
30
|
"""
|
|
31
31
|
A serializer for CollectionVersion Content.
|
|
32
32
|
""" # noqa: E501
|
|
33
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
34
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
33
35
|
pulp_href: Optional[StrictStr] = None
|
|
34
|
-
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.")
|
|
35
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.")
|
|
36
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
37
|
-
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
38
|
-
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
39
37
|
vuln_report: Optional[StrictStr] = None
|
|
38
|
+
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.")
|
|
39
|
+
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
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.")
|
|
42
42
|
sha1: Optional[StrictStr] = Field(default=None, description="The SHA-1 checksum if available.")
|
|
@@ -45,8 +45,12 @@ 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.")
|
|
48
49
|
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.")
|
|
49
50
|
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.")
|
|
50
54
|
documentation: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The URL to any online docs.")
|
|
51
55
|
homepage: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The URL to the homepage of the collection/project.")
|
|
52
56
|
issues: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The URL to the collection issue tracker.")
|
|
@@ -57,7 +61,7 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
57
61
|
tags: Optional[List[CollectionSummaryResponseTagsInner]] = None
|
|
58
62
|
version: Optional[Annotated[str, Field(strict=True, max_length=128)]] = Field(default=None, description="The version of the collection.")
|
|
59
63
|
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.")
|
|
60
|
-
__properties: ClassVar[List[str]] = ["
|
|
64
|
+
__properties: ClassVar[List[str]] = ["prn", "pulp_created", "pulp_href", "pulp_last_updated", "vuln_report", "pulp_labels", "artifact", "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"]
|
|
61
65
|
|
|
62
66
|
model_config = ConfigDict(
|
|
63
67
|
populate_by_name=True,
|
|
@@ -111,12 +115,15 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
111
115
|
* OpenAPI `readOnly` fields are excluded.
|
|
112
116
|
* OpenAPI `readOnly` fields are excluded.
|
|
113
117
|
* OpenAPI `readOnly` fields are excluded.
|
|
118
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
119
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
120
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
114
121
|
"""
|
|
115
122
|
excluded_fields: Set[str] = set([
|
|
123
|
+
"prn",
|
|
124
|
+
"pulp_created",
|
|
116
125
|
"pulp_href",
|
|
117
126
|
"pulp_last_updated",
|
|
118
|
-
"pulp_created",
|
|
119
|
-
"prn",
|
|
120
127
|
"vuln_report",
|
|
121
128
|
"sha256",
|
|
122
129
|
"md5",
|
|
@@ -127,6 +134,9 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
127
134
|
"id",
|
|
128
135
|
"dependencies",
|
|
129
136
|
"description",
|
|
137
|
+
"docs_blob",
|
|
138
|
+
"manifest",
|
|
139
|
+
"files",
|
|
130
140
|
"documentation",
|
|
131
141
|
"homepage",
|
|
132
142
|
"issues",
|
|
@@ -28,29 +28,29 @@ class AnsibleGitRemote(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
A serializer for Git Collection Remotes.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
+
proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
32
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
33
|
+
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.")
|
|
31
34
|
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
|
|
32
|
-
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.")
|
|
33
35
|
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
34
|
-
|
|
35
|
-
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
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
|
-
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.")
|
|
36
|
+
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.")
|
|
38
37
|
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
39
|
-
client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
40
|
-
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
41
38
|
url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
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.")
|
|
39
|
+
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
40
|
+
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.")
|
|
41
|
+
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
42
|
proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
|
|
47
|
-
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.")
|
|
48
43
|
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.")
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
45
|
+
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
46
|
+
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.")
|
|
47
|
+
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
48
|
+
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.")
|
|
49
|
+
client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
50
|
+
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.")
|
|
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]] = ["
|
|
53
|
+
__properties: ClassVar[List[str]] = ["proxy_url", "download_concurrency", "connect_timeout", "name", "headers", "password", "tls_validation", "url", "rate_limit", "ca_cert", "total_timeout", "proxy_username", "proxy_password", "pulp_labels", "username", "max_retries", "client_key", "sock_read_timeout", "client_cert", "sock_connect_timeout", "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
|
|
94
|
+
# set to None if proxy_url (nullable) is None
|
|
95
95
|
# and model_fields_set contains the field
|
|
96
|
-
if self.
|
|
97
|
-
_dict['
|
|
96
|
+
if self.proxy_url is None and "proxy_url" in self.model_fields_set:
|
|
97
|
+
_dict['proxy_url'] = None
|
|
98
98
|
|
|
99
|
-
# set to None if
|
|
99
|
+
# set to None if download_concurrency (nullable) is None
|
|
100
100
|
# and model_fields_set contains the field
|
|
101
|
-
if self.
|
|
102
|
-
_dict['
|
|
101
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
102
|
+
_dict['download_concurrency'] = None
|
|
103
103
|
|
|
104
|
-
# set to None if
|
|
104
|
+
# set to None if connect_timeout (nullable) is None
|
|
105
105
|
# and model_fields_set contains the field
|
|
106
|
-
if self.
|
|
107
|
-
_dict['
|
|
106
|
+
if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
|
|
107
|
+
_dict['connect_timeout'] = None
|
|
108
|
+
|
|
109
|
+
# set to None if password (nullable) is None
|
|
110
|
+
# and model_fields_set contains the field
|
|
111
|
+
if self.password is None and "password" in self.model_fields_set:
|
|
112
|
+
_dict['password'] = None
|
|
113
|
+
|
|
114
|
+
# set to None if rate_limit (nullable) is None
|
|
115
|
+
# and model_fields_set contains the field
|
|
116
|
+
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
117
|
+
_dict['rate_limit'] = None
|
|
108
118
|
|
|
109
119
|
# set to None if ca_cert (nullable) is None
|
|
110
120
|
# and model_fields_set contains the field
|
|
111
121
|
if self.ca_cert is None and "ca_cert" in self.model_fields_set:
|
|
112
122
|
_dict['ca_cert'] = None
|
|
113
123
|
|
|
114
|
-
# set to None if
|
|
115
|
-
# and model_fields_set contains the field
|
|
116
|
-
if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
|
|
117
|
-
_dict['sock_connect_timeout'] = None
|
|
118
|
-
|
|
119
|
-
# set to None if client_cert (nullable) is None
|
|
124
|
+
# set to None if total_timeout (nullable) is None
|
|
120
125
|
# and model_fields_set contains the field
|
|
121
|
-
if self.
|
|
122
|
-
_dict['
|
|
126
|
+
if self.total_timeout is None and "total_timeout" in self.model_fields_set:
|
|
127
|
+
_dict['total_timeout'] = None
|
|
123
128
|
|
|
124
|
-
# set to None if
|
|
129
|
+
# set to None if proxy_username (nullable) is None
|
|
125
130
|
# and model_fields_set contains the field
|
|
126
|
-
if self.
|
|
127
|
-
_dict['
|
|
131
|
+
if self.proxy_username is None and "proxy_username" in self.model_fields_set:
|
|
132
|
+
_dict['proxy_username'] = None
|
|
128
133
|
|
|
129
|
-
# set to None if
|
|
134
|
+
# set to None if proxy_password (nullable) is None
|
|
130
135
|
# and model_fields_set contains the field
|
|
131
|
-
if self.
|
|
132
|
-
_dict['
|
|
136
|
+
if self.proxy_password is None and "proxy_password" in self.model_fields_set:
|
|
137
|
+
_dict['proxy_password'] = None
|
|
133
138
|
|
|
134
139
|
# set to None if username (nullable) is None
|
|
135
140
|
# and model_fields_set contains the field
|
|
136
141
|
if self.username is None and "username" in self.model_fields_set:
|
|
137
142
|
_dict['username'] = None
|
|
138
143
|
|
|
139
|
-
# set to None if
|
|
144
|
+
# set to None if max_retries (nullable) is None
|
|
140
145
|
# and model_fields_set contains the field
|
|
141
|
-
if self.
|
|
142
|
-
_dict['
|
|
146
|
+
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
147
|
+
_dict['max_retries'] = None
|
|
143
148
|
|
|
144
|
-
# set to None if
|
|
149
|
+
# set to None if client_key (nullable) is None
|
|
145
150
|
# and model_fields_set contains the field
|
|
146
|
-
if self.
|
|
147
|
-
_dict['
|
|
151
|
+
if self.client_key is None and "client_key" in self.model_fields_set:
|
|
152
|
+
_dict['client_key'] = None
|
|
148
153
|
|
|
149
154
|
# set to None if sock_read_timeout (nullable) is None
|
|
150
155
|
# and model_fields_set contains the field
|
|
151
156
|
if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
|
|
152
157
|
_dict['sock_read_timeout'] = None
|
|
153
158
|
|
|
154
|
-
# set to None if
|
|
155
|
-
# and model_fields_set contains the field
|
|
156
|
-
if self.proxy_password is None and "proxy_password" in self.model_fields_set:
|
|
157
|
-
_dict['proxy_password'] = None
|
|
158
|
-
|
|
159
|
-
# set to None if connect_timeout (nullable) is None
|
|
159
|
+
# set to None if client_cert (nullable) is None
|
|
160
160
|
# and model_fields_set contains the field
|
|
161
|
-
if self.
|
|
162
|
-
_dict['
|
|
161
|
+
if self.client_cert is None and "client_cert" in self.model_fields_set:
|
|
162
|
+
_dict['client_cert'] = None
|
|
163
163
|
|
|
164
|
-
# set to None if
|
|
164
|
+
# set to None if sock_connect_timeout (nullable) is None
|
|
165
165
|
# and model_fields_set contains the field
|
|
166
|
-
if self.
|
|
167
|
-
_dict['
|
|
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
|
+
proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
34
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
35
|
+
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.")
|
|
36
|
+
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the most recent update of the remote.")
|
|
37
|
+
hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
|
|
33
38
|
name: StrictStr = Field(description="A unique name for this remote.")
|
|
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.")
|
|
35
39
|
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
36
|
-
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.")
|
|
37
|
-
ca_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
|
|
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
40
|
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
40
|
-
client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
41
|
-
hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
|
|
42
|
-
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
43
41
|
url: StrictStr = Field(description="The URL of an external content source.")
|
|
42
|
+
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
43
|
+
ca_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
|
|
44
|
+
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.")
|
|
45
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
46
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
44
47
|
pulp_href: Optional[StrictStr] = None
|
|
45
|
-
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
46
48
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
47
|
-
|
|
48
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
49
|
+
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
50
|
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.")
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
51
|
+
client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
52
|
+
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.")
|
|
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]] = ["
|
|
55
|
+
__properties: ClassVar[List[str]] = ["proxy_url", "download_concurrency", "connect_timeout", "pulp_last_updated", "hidden_fields", "name", "headers", "tls_validation", "url", "rate_limit", "ca_cert", "total_timeout", "prn", "pulp_created", "pulp_href", "pulp_labels", "max_retries", "sock_read_timeout", "client_cert", "sock_connect_timeout", "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",
|
|
94
93
|
"pulp_last_updated",
|
|
95
|
-
"pulp_created",
|
|
96
94
|
"prn",
|
|
95
|
+
"pulp_created",
|
|
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
|
|
111
|
+
# set to None if proxy_url (nullable) is None
|
|
112
112
|
# and model_fields_set contains the field
|
|
113
|
-
if self.
|
|
114
|
-
_dict['
|
|
113
|
+
if self.proxy_url is None and "proxy_url" in self.model_fields_set:
|
|
114
|
+
_dict['proxy_url'] = None
|
|
115
115
|
|
|
116
|
-
# set to None if
|
|
116
|
+
# set to None if download_concurrency (nullable) is None
|
|
117
117
|
# and model_fields_set contains the field
|
|
118
|
-
if self.
|
|
119
|
-
_dict['
|
|
118
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
119
|
+
_dict['download_concurrency'] = None
|
|
120
120
|
|
|
121
|
-
# set to None if
|
|
121
|
+
# set to None if connect_timeout (nullable) is None
|
|
122
122
|
# and model_fields_set contains the field
|
|
123
|
-
if self.
|
|
124
|
-
_dict['
|
|
123
|
+
if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
|
|
124
|
+
_dict['connect_timeout'] = None
|
|
125
125
|
|
|
126
|
-
# set to None if
|
|
126
|
+
# set to None if rate_limit (nullable) is None
|
|
127
127
|
# and model_fields_set contains the field
|
|
128
|
-
if self.
|
|
129
|
-
_dict['
|
|
128
|
+
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
129
|
+
_dict['rate_limit'] = None
|
|
130
130
|
|
|
131
|
-
# set to None if
|
|
131
|
+
# set to None if ca_cert (nullable) is None
|
|
132
132
|
# and model_fields_set contains the field
|
|
133
|
-
if self.
|
|
134
|
-
_dict['
|
|
133
|
+
if self.ca_cert is None and "ca_cert" in self.model_fields_set:
|
|
134
|
+
_dict['ca_cert'] = None
|
|
135
135
|
|
|
136
|
-
# set to None if
|
|
136
|
+
# set to None if total_timeout (nullable) is None
|
|
137
137
|
# and model_fields_set contains the field
|
|
138
|
-
if self.
|
|
139
|
-
_dict['
|
|
138
|
+
if self.total_timeout is None and "total_timeout" in self.model_fields_set:
|
|
139
|
+
_dict['total_timeout'] = None
|
|
140
140
|
|
|
141
|
-
# set to None if
|
|
141
|
+
# set to None if max_retries (nullable) is None
|
|
142
142
|
# and model_fields_set contains the field
|
|
143
|
-
if self.
|
|
144
|
-
_dict['
|
|
143
|
+
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
144
|
+
_dict['max_retries'] = None
|
|
145
145
|
|
|
146
146
|
# set to None if sock_read_timeout (nullable) is None
|
|
147
147
|
# and model_fields_set contains the field
|
|
148
148
|
if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
|
|
149
149
|
_dict['sock_read_timeout'] = None
|
|
150
150
|
|
|
151
|
-
# set to None if
|
|
151
|
+
# set to None if client_cert (nullable) is None
|
|
152
152
|
# and model_fields_set contains the field
|
|
153
|
-
if self.
|
|
154
|
-
_dict['
|
|
153
|
+
if self.client_cert is None and "client_cert" in self.model_fields_set:
|
|
154
|
+
_dict['client_cert'] = None
|
|
155
155
|
|
|
156
|
-
# set to None if
|
|
156
|
+
# set to None if sock_connect_timeout (nullable) is None
|
|
157
157
|
# and model_fields_set contains the field
|
|
158
|
-
if self.
|
|
159
|
-
_dict['
|
|
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,13 +28,13 @@ class AnsibleRole(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
A serializer for Role versions.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
repository: Optional[StrictStr] = Field(default=None, description="A URI of a repository the new content unit should be associated with.")
|
|
32
31
|
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.")
|
|
33
32
|
artifact: StrictStr = Field(description="Artifact file representing the physical content")
|
|
33
|
+
repository: Optional[StrictStr] = Field(default=None, description="A URI of a repository the new content unit should be associated with.")
|
|
34
34
|
version: Annotated[str, Field(min_length=1, strict=True)]
|
|
35
35
|
name: Annotated[str, Field(min_length=1, strict=True)]
|
|
36
36
|
namespace: Annotated[str, Field(min_length=1, strict=True)]
|
|
37
|
-
__properties: ClassVar[List[str]] = ["
|
|
37
|
+
__properties: ClassVar[List[str]] = ["pulp_labels", "artifact", "repository", "version", "name", "namespace"]
|
|
38
38
|
|
|
39
39
|
model_config = ConfigDict(
|
|
40
40
|
populate_by_name=True,
|
|
@@ -28,17 +28,17 @@ class AnsibleRoleResponse(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
A serializer for Role versions.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
32
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
31
33
|
pulp_href: Optional[StrictStr] = None
|
|
32
|
-
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.")
|
|
33
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.")
|
|
34
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
35
|
-
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
36
|
-
artifact: StrictStr = Field(description="Artifact file representing the physical content")
|
|
37
35
|
vuln_report: Optional[StrictStr] = None
|
|
36
|
+
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.")
|
|
37
|
+
artifact: StrictStr = Field(description="Artifact file representing the physical content")
|
|
38
38
|
version: StrictStr
|
|
39
39
|
name: StrictStr
|
|
40
40
|
namespace: StrictStr
|
|
41
|
-
__properties: ClassVar[List[str]] = ["
|
|
41
|
+
__properties: ClassVar[List[str]] = ["prn", "pulp_created", "pulp_href", "pulp_last_updated", "vuln_report", "pulp_labels", "artifact", "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
|
+
"prn",
|
|
81
|
+
"pulp_created",
|
|
80
82
|
"pulp_href",
|
|
81
83
|
"pulp_last_updated",
|
|
82
|
-
"pulp_created",
|
|
83
|
-
"prn",
|
|
84
84
|
"vuln_report",
|
|
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
|
+
proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
32
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
33
|
+
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.")
|
|
31
34
|
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this remote.")
|
|
32
|
-
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.")
|
|
33
35
|
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
34
|
-
|
|
35
|
-
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
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
|
-
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.")
|
|
36
|
+
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.")
|
|
38
37
|
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
39
|
-
client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
40
|
-
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
41
38
|
url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The URL of an external content source.")
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
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.")
|
|
39
|
+
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
40
|
+
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.")
|
|
41
|
+
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
42
|
proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
|
|
47
|
-
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.")
|
|
48
43
|
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.")
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
45
|
+
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
46
|
+
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.")
|
|
47
|
+
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
48
|
+
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.")
|
|
49
|
+
client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
50
|
+
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.")
|
|
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]] = ["
|
|
53
|
+
__properties: ClassVar[List[str]] = ["proxy_url", "download_concurrency", "connect_timeout", "name", "headers", "password", "tls_validation", "url", "rate_limit", "ca_cert", "total_timeout", "proxy_username", "proxy_password", "pulp_labels", "username", "max_retries", "client_key", "sock_read_timeout", "client_cert", "sock_connect_timeout", "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
|
|
94
|
+
# set to None if proxy_url (nullable) is None
|
|
95
95
|
# and model_fields_set contains the field
|
|
96
|
-
if self.
|
|
97
|
-
_dict['
|
|
96
|
+
if self.proxy_url is None and "proxy_url" in self.model_fields_set:
|
|
97
|
+
_dict['proxy_url'] = None
|
|
98
98
|
|
|
99
|
-
# set to None if
|
|
99
|
+
# set to None if download_concurrency (nullable) is None
|
|
100
100
|
# and model_fields_set contains the field
|
|
101
|
-
if self.
|
|
102
|
-
_dict['
|
|
101
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
102
|
+
_dict['download_concurrency'] = None
|
|
103
103
|
|
|
104
|
-
# set to None if
|
|
104
|
+
# set to None if connect_timeout (nullable) is None
|
|
105
105
|
# and model_fields_set contains the field
|
|
106
|
-
if self.
|
|
107
|
-
_dict['
|
|
106
|
+
if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
|
|
107
|
+
_dict['connect_timeout'] = None
|
|
108
|
+
|
|
109
|
+
# set to None if password (nullable) is None
|
|
110
|
+
# and model_fields_set contains the field
|
|
111
|
+
if self.password is None and "password" in self.model_fields_set:
|
|
112
|
+
_dict['password'] = None
|
|
113
|
+
|
|
114
|
+
# set to None if rate_limit (nullable) is None
|
|
115
|
+
# and model_fields_set contains the field
|
|
116
|
+
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
117
|
+
_dict['rate_limit'] = None
|
|
108
118
|
|
|
109
119
|
# set to None if ca_cert (nullable) is None
|
|
110
120
|
# and model_fields_set contains the field
|
|
111
121
|
if self.ca_cert is None and "ca_cert" in self.model_fields_set:
|
|
112
122
|
_dict['ca_cert'] = None
|
|
113
123
|
|
|
114
|
-
# set to None if
|
|
115
|
-
# and model_fields_set contains the field
|
|
116
|
-
if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
|
|
117
|
-
_dict['sock_connect_timeout'] = None
|
|
118
|
-
|
|
119
|
-
# set to None if client_cert (nullable) is None
|
|
124
|
+
# set to None if total_timeout (nullable) is None
|
|
120
125
|
# and model_fields_set contains the field
|
|
121
|
-
if self.
|
|
122
|
-
_dict['
|
|
126
|
+
if self.total_timeout is None and "total_timeout" in self.model_fields_set:
|
|
127
|
+
_dict['total_timeout'] = None
|
|
123
128
|
|
|
124
|
-
# set to None if
|
|
129
|
+
# set to None if proxy_username (nullable) is None
|
|
125
130
|
# and model_fields_set contains the field
|
|
126
|
-
if self.
|
|
127
|
-
_dict['
|
|
131
|
+
if self.proxy_username is None and "proxy_username" in self.model_fields_set:
|
|
132
|
+
_dict['proxy_username'] = None
|
|
128
133
|
|
|
129
|
-
# set to None if
|
|
134
|
+
# set to None if proxy_password (nullable) is None
|
|
130
135
|
# and model_fields_set contains the field
|
|
131
|
-
if self.
|
|
132
|
-
_dict['
|
|
136
|
+
if self.proxy_password is None and "proxy_password" in self.model_fields_set:
|
|
137
|
+
_dict['proxy_password'] = None
|
|
133
138
|
|
|
134
139
|
# set to None if username (nullable) is None
|
|
135
140
|
# and model_fields_set contains the field
|
|
136
141
|
if self.username is None and "username" in self.model_fields_set:
|
|
137
142
|
_dict['username'] = None
|
|
138
143
|
|
|
139
|
-
# set to None if
|
|
144
|
+
# set to None if max_retries (nullable) is None
|
|
140
145
|
# and model_fields_set contains the field
|
|
141
|
-
if self.
|
|
142
|
-
_dict['
|
|
146
|
+
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
147
|
+
_dict['max_retries'] = None
|
|
143
148
|
|
|
144
|
-
# set to None if
|
|
149
|
+
# set to None if client_key (nullable) is None
|
|
145
150
|
# and model_fields_set contains the field
|
|
146
|
-
if self.
|
|
147
|
-
_dict['
|
|
151
|
+
if self.client_key is None and "client_key" in self.model_fields_set:
|
|
152
|
+
_dict['client_key'] = None
|
|
148
153
|
|
|
149
154
|
# set to None if sock_read_timeout (nullable) is None
|
|
150
155
|
# and model_fields_set contains the field
|
|
151
156
|
if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
|
|
152
157
|
_dict['sock_read_timeout'] = None
|
|
153
158
|
|
|
154
|
-
# set to None if
|
|
155
|
-
# and model_fields_set contains the field
|
|
156
|
-
if self.proxy_password is None and "proxy_password" in self.model_fields_set:
|
|
157
|
-
_dict['proxy_password'] = None
|
|
158
|
-
|
|
159
|
-
# set to None if connect_timeout (nullable) is None
|
|
159
|
+
# set to None if client_cert (nullable) is None
|
|
160
160
|
# and model_fields_set contains the field
|
|
161
|
-
if self.
|
|
162
|
-
_dict['
|
|
161
|
+
if self.client_cert is None and "client_cert" in self.model_fields_set:
|
|
162
|
+
_dict['client_cert'] = None
|
|
163
163
|
|
|
164
|
-
# set to None if
|
|
164
|
+
# set to None if sock_connect_timeout (nullable) is None
|
|
165
165
|
# and model_fields_set contains the field
|
|
166
|
-
if self.
|
|
167
|
-
_dict['
|
|
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
|
|
|
File without changes
|
|
File without changes
|