pulp-ansible-client 0.25.2__py3-none-any.whl → 0.25.3__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.25.2.dist-info → pulp_ansible_client-0.25.3.dist-info}/METADATA +1 -1
- {pulp_ansible_client-0.25.2.dist-info → pulp_ansible_client-0.25.3.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 +11 -11
- pulpcore/client/pulp_ansible/models/ansible_git_remote.py +66 -66
- pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py +47 -47
- pulpcore/client/pulp_ansible/models/ansible_role.py +3 -3
- pulpcore/client/pulp_ansible/models/ansible_role_response.py +11 -11
- pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py +66 -66
- {pulp_ansible_client-0.25.2.dist-info → pulp_ansible_client-0.25.3.dist-info}/WHEEL +0 -0
- {pulp_ansible_client-0.25.2.dist-info → pulp_ansible_client-0.25.3.dist-info}/top_level.txt +0 -0
|
@@ -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=0gbSvBR7SiLLN5DQyGEAQeJJ9RdUaUB8F5-1NDo-NfI,18618
|
|
4
|
+
pulpcore/client/pulp_ansible/api_client.py,sha256=zB1QL8RUHky_aa0g3em4r8pIf9GT5mr8haVD6cqgbXk,27537
|
|
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=KygR8aeMZmw7iw3u5nNmhY65ZuKNX-Ow6JhGD8frW9k,19253
|
|
7
7
|
pulpcore/client/pulp_ansible/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
|
|
8
8
|
pulpcore/client/pulp_ansible/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulpcore/client/pulp_ansible/rest.py,sha256=wuSZsOkRN8obNqo5msUNwT49JK2-X5-EdeaTc-RA0N0,9411
|
|
@@ -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=iB0-ikOJbE9YCCyNcrIYD3UyA0tKU2spB06a0OWiqiM,100753
|
|
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=hjU6xiNbONWZtOflam6h6m_nghazqP7zoI2s5Kr63EQ,183039
|
|
@@ -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=SILg_kL30qqNOMj4nKa00z-q-ARs1mxMQkXJltHLdP0,2878
|
|
81
81
|
pulpcore/client/pulp_ansible/models/ansible_collection_version_mark.py,sha256=bcfmWEwPqHjjXNvjNtsSoBBV8or94BjlcIZPaXYhn-c,3315
|
|
82
82
|
pulpcore/client/pulp_ansible/models/ansible_collection_version_mark_response.py,sha256=0w3554UmE4KwwyPmo9ZQNUK_FOotpg-nV3zkKOnzFj4,3786
|
|
83
|
-
pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py,sha256=
|
|
83
|
+
pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py,sha256=zACPB7-AbHOG7tqOWG35cHbxjfeALH_KYkhfRgf9LCE,10215
|
|
84
84
|
pulpcore/client/pulp_ansible/models/ansible_collection_version_signature_response.py,sha256=bkJWUtI-08da1YCkuFPCciYMDPHLDBeRb6-1UmBwIzg,5027
|
|
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=Vjnv9Y-bDBMg5oAo1owh9xWLrgZzna80G6AiUojSHCA,11778
|
|
86
|
+
pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py,sha256=Io3Ftbft-lh1kaE7ZWvL0Llj0-fkW58RRdz6zpMEF1I,11076
|
|
87
87
|
pulpcore/client/pulp_ansible/models/ansible_repository_mark.py,sha256=qpo8guL7klwPYet7JoDysi4090x2BzTA9Z5iKfxfjj8,3315
|
|
88
88
|
pulpcore/client/pulp_ansible/models/ansible_repository_rebuild.py,sha256=8NGC4EEk4yf_hc8fYEn-HxCF6V7tOHiDUtDvEehTjlM,3686
|
|
89
89
|
pulpcore/client/pulp_ansible/models/ansible_repository_signature.py,sha256=GYt9jQPMTvef94x9mC-1EIMWi49sIxnC05MdFxmIp4w,3010
|
|
90
90
|
pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py,sha256=i7s3qzoSBtOAgGWIgrmNkSUYslJ2GzBLViGPQnR1FEw,3350
|
|
91
|
-
pulpcore/client/pulp_ansible/models/ansible_role.py,sha256=
|
|
91
|
+
pulpcore/client/pulp_ansible/models/ansible_role.py,sha256=Kko8VeQdM41x_qKN9YifwDpX4HYJPN6LDc1NVRUgQUE,3574
|
|
92
92
|
pulpcore/client/pulp_ansible/models/ansible_role_remote.py,sha256=riwl4WzeU3AjbaMYuASxqe-iU_CWR75ItIoAiOOeoTo,11607
|
|
93
93
|
pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py,sha256=935d-z1Zt-aoycUtkuS1K2TVHHpti6XvwFOZhxgAYwA,10944
|
|
94
|
-
pulpcore/client/pulp_ansible/models/ansible_role_response.py,sha256=
|
|
94
|
+
pulpcore/client/pulp_ansible/models/ansible_role_response.py,sha256=BV7faci6mdh0GL1Rf-YfvjR8l2kgXYTkTDH0b7nqTrw,4337
|
|
95
95
|
pulpcore/client/pulp_ansible/models/ansible_tag_response.py,sha256=18S5krUUBT14jFi9EEpH_GiYZELmG5kIEkXN_koag0c,2832
|
|
96
96
|
pulpcore/client/pulp_ansible/models/artifact_ref_response.py,sha256=IJz5odWEmMJZFMX_sEmRZNGY_Q3gpCDO8CvcVc9fTQo,2828
|
|
97
97
|
pulpcore/client/pulp_ansible/models/async_operation_response.py,sha256=2ciH8OgYeKl93wFyHQ7PBpt0y0FrxoxKta6FlebffvI,2724
|
|
@@ -144,7 +144,7 @@ pulpcore/client/pulp_ansible/models/patched_collection.py,sha256=rPMGpx6iArQsJxj
|
|
|
144
144
|
pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py,sha256=6_YyCnrJxyjTXgK46x6yTC3ERRZKF4eTCTFsdJaTrSc,4647
|
|
145
145
|
pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py,sha256=Zi4LI1Mqa8nPuqpzSoolgKSdm-NDgCXIP0tX_ddYqgI,5428
|
|
146
146
|
pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py,sha256=laX_kvagw52HpmwSLV3Xqtndg6ezsAoGna-vmwSJpA8,13637
|
|
147
|
-
pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py,sha256=
|
|
147
|
+
pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py,sha256=XnrLKN1Lr7yKP26aEPWcSK3m8mh9ZYW_FvR8MkPdj_E,11847
|
|
148
148
|
pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py,sha256=NkuogZEZFu_QHqUgNaAMPEpMjyM0hzBCADaNdDybngY,11676
|
|
149
149
|
pulpcore/client/pulp_ansible/models/policy_enum.py,sha256=fTbVIDfgaD0BEWtpX8wzz1dSDWuvYJhmROvxX52o8lY,770
|
|
150
150
|
pulpcore/client/pulp_ansible/models/repair.py,sha256=GLqmKOeI2u41APdOTpIYpI5juYQPmEKzlPyywBpYWJ4,2922
|
|
@@ -159,7 +159,7 @@ pulpcore/client/pulp_ansible/models/tag_response.py,sha256=Jm4qcYDmC2-uUxFT7gYHB
|
|
|
159
159
|
pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py,sha256=3RNTbe9Z_bICtt1X4aJrY_hPq3eLYZrQRH62ku2QkoQ,7631
|
|
160
160
|
pulpcore/client/pulp_ansible/models/unset_label.py,sha256=lk7qSclbVRbh2TReyEij4Xbw0Cz3NEtgxoWnNYhzEFw,3024
|
|
161
161
|
pulpcore/client/pulp_ansible/models/unset_label_response.py,sha256=y6LqvCKT6R5FSC3tkwekrA9pEj3TPet7cm5qwboUyMM,3212
|
|
162
|
-
pulp_ansible_client-0.25.
|
|
163
|
-
pulp_ansible_client-0.25.
|
|
164
|
-
pulp_ansible_client-0.25.
|
|
165
|
-
pulp_ansible_client-0.25.
|
|
162
|
+
pulp_ansible_client-0.25.3.dist-info/METADATA,sha256=w_Ii3Aog4vcbzQMEWl7iwfdQsyLHhSc_DUNU9TQwW78,642
|
|
163
|
+
pulp_ansible_client-0.25.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
164
|
+
pulp_ansible_client-0.25.3.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
165
|
+
pulp_ansible_client-0.25.3.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_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
54
|
-
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
55
|
-
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,
|
|
56
53
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
57
54
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
58
55
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
56
|
+
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = 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
|
+
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,
|
|
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_url: A url that Pulp can download and turn into the content unit.
|
|
82
|
-
:type file_url: str
|
|
83
|
-
:param repository: A URI of a repository the new content unit should be associated with.
|
|
84
|
-
:type repository: str
|
|
85
|
-
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
86
|
-
:type pulp_labels: Dict[str, Optional[str]]
|
|
87
81
|
:param artifact: Artifact file representing the physical content
|
|
88
82
|
:type artifact: str
|
|
89
83
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
90
84
|
:type upload: str
|
|
91
85
|
:param file: An uploaded file that may be turned into the content unit.
|
|
92
86
|
:type file: bytearray
|
|
87
|
+
:param repository: A URI of a repository the new content unit should be associated with.
|
|
88
|
+
:type repository: str
|
|
89
|
+
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
90
|
+
:type file_url: str
|
|
91
|
+
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
92
|
+
:type pulp_labels: Dict[str, Optional[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_url=file_url,
|
|
124
|
-
repository=repository,
|
|
125
|
-
pulp_labels=pulp_labels,
|
|
126
123
|
artifact=artifact,
|
|
127
124
|
upload=upload,
|
|
128
125
|
file=file,
|
|
126
|
+
repository=repository,
|
|
127
|
+
file_url=file_url,
|
|
128
|
+
pulp_labels=pulp_labels,
|
|
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_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
157
|
-
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
158
|
-
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,
|
|
159
156
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
160
157
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
161
158
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
159
|
+
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = 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
|
+
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,
|
|
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_url: A url that Pulp can download and turn into the content unit.
|
|
185
|
-
:type file_url: str
|
|
186
|
-
:param repository: A URI of a repository the new content unit should be associated with.
|
|
187
|
-
:type repository: str
|
|
188
|
-
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
189
|
-
:type pulp_labels: Dict[str, Optional[str]]
|
|
190
184
|
:param artifact: Artifact file representing the physical content
|
|
191
185
|
:type artifact: str
|
|
192
186
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
193
187
|
:type upload: str
|
|
194
188
|
:param file: An uploaded file that may be turned into the content unit.
|
|
195
189
|
:type file: bytearray
|
|
190
|
+
:param repository: A URI of a repository the new content unit should be associated with.
|
|
191
|
+
:type repository: str
|
|
192
|
+
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
193
|
+
:type file_url: str
|
|
194
|
+
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
195
|
+
:type pulp_labels: Dict[str, Optional[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_url=file_url,
|
|
227
|
-
repository=repository,
|
|
228
|
-
pulp_labels=pulp_labels,
|
|
229
226
|
artifact=artifact,
|
|
230
227
|
upload=upload,
|
|
231
228
|
file=file,
|
|
229
|
+
repository=repository,
|
|
230
|
+
file_url=file_url,
|
|
231
|
+
pulp_labels=pulp_labels,
|
|
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_url: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="A url that Pulp can download and turn into the content unit.")] = None,
|
|
260
|
-
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
261
|
-
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,
|
|
262
259
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
263
260
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
264
261
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
262
|
+
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = 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
|
+
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,
|
|
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_url: A url that Pulp can download and turn into the content unit.
|
|
288
|
-
:type file_url: str
|
|
289
|
-
:param repository: A URI of a repository the new content unit should be associated with.
|
|
290
|
-
:type repository: str
|
|
291
|
-
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
292
|
-
:type pulp_labels: Dict[str, Optional[str]]
|
|
293
287
|
:param artifact: Artifact file representing the physical content
|
|
294
288
|
:type artifact: str
|
|
295
289
|
:param upload: An uncommitted upload that may be turned into the content unit.
|
|
296
290
|
:type upload: str
|
|
297
291
|
:param file: An uploaded file that may be turned into the content unit.
|
|
298
292
|
:type file: bytearray
|
|
293
|
+
:param repository: A URI of a repository the new content unit should be associated with.
|
|
294
|
+
:type repository: str
|
|
295
|
+
:param file_url: A url that Pulp can download and turn into the content unit.
|
|
296
|
+
:type file_url: str
|
|
297
|
+
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
298
|
+
:type pulp_labels: Dict[str, Optional[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_url=file_url,
|
|
330
|
-
repository=repository,
|
|
331
|
-
pulp_labels=pulp_labels,
|
|
332
329
|
artifact=artifact,
|
|
333
330
|
upload=upload,
|
|
334
331
|
file=file,
|
|
332
|
+
repository=repository,
|
|
333
|
+
file_url=file_url,
|
|
334
|
+
pulp_labels=pulp_labels,
|
|
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_url,
|
|
358
|
-
repository,
|
|
359
|
-
pulp_labels,
|
|
360
357
|
artifact,
|
|
361
358
|
upload,
|
|
362
359
|
file,
|
|
360
|
+
repository,
|
|
361
|
+
file_url,
|
|
362
|
+
pulp_labels,
|
|
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_url is not None:
|
|
394
|
-
_form_params.append(('file_url', file_url))
|
|
395
|
-
if repository is not None:
|
|
396
|
-
_form_params.append(('repository', repository))
|
|
397
|
-
if pulp_labels is not None:
|
|
398
|
-
_form_params.append(('pulp_labels', pulp_labels))
|
|
399
393
|
if artifact is not None:
|
|
400
394
|
_form_params.append(('artifact', artifact))
|
|
401
395
|
if upload is not None:
|
|
402
396
|
_form_params.append(('upload', upload))
|
|
403
397
|
if file is not None:
|
|
404
398
|
_files['file'] = file
|
|
399
|
+
if repository is not None:
|
|
400
|
+
_form_params.append(('repository', repository))
|
|
401
|
+
if file_url is not None:
|
|
402
|
+
_form_params.append(('file_url', file_url))
|
|
403
|
+
if pulp_labels is not None:
|
|
404
|
+
_form_params.append(('pulp_labels', pulp_labels))
|
|
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.25.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.25.3/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -549,7 +549,7 @@ conf = pulpcore.client.pulp_ansible.Configuration(
|
|
|
549
549
|
"OS: {env}\n"\
|
|
550
550
|
"Python Version: {pyversion}\n"\
|
|
551
551
|
"Version of the API: v3\n"\
|
|
552
|
-
"SDK Package Version: 0.25.
|
|
552
|
+
"SDK Package Version: 0.25.3".\
|
|
553
553
|
format(env=sys.platform, pyversion=sys.version)
|
|
554
554
|
|
|
555
555
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -38,12 +38,12 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
38
38
|
"""
|
|
39
39
|
A serializer for CollectionVersion Content.
|
|
40
40
|
""" # noqa: E501
|
|
41
|
-
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
42
|
-
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.")
|
|
43
|
-
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
44
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
45
41
|
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.")
|
|
42
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
43
|
+
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
44
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
46
45
|
pulp_href: Optional[StrictStr] = None
|
|
46
|
+
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.")
|
|
47
47
|
sha256: Optional[StrictStr] = Field(default=None, description="The SHA-256 checksum if available.")
|
|
48
48
|
md5: Optional[StrictStr] = Field(default=None, description="The MD5 checksum if available.")
|
|
49
49
|
sha1: Optional[StrictStr] = Field(default=None, description="The SHA-1 checksum if available.")
|
|
@@ -64,7 +64,7 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
64
64
|
tags: Optional[List[AnsibleTagResponse]] = None
|
|
65
65
|
version: Optional[Annotated[str, Field(strict=True, max_length=128)]] = Field(default=None, description="The version of the collection.")
|
|
66
66
|
requires_ansible: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(default=None, description="The version of Ansible required to use the collection. Multiple versions can be separated with a comma.")
|
|
67
|
-
__properties: ClassVar[List[str]] = ["
|
|
67
|
+
__properties: ClassVar[List[str]] = ["pulp_last_updated", "pulp_created", "artifact", "prn", "pulp_href", "pulp_labels", "sha256", "md5", "sha1", "sha224", "sha384", "sha512", "id", "authors", "dependencies", "description", "documentation", "homepage", "issues", "license", "name", "namespace", "origin_repository", "tags", "version", "requires_ansible"]
|
|
68
68
|
|
|
69
69
|
model_config = ConfigDict(
|
|
70
70
|
populate_by_name=True,
|
|
@@ -122,9 +122,9 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
122
122
|
* OpenAPI `readOnly` fields are excluded.
|
|
123
123
|
"""
|
|
124
124
|
excluded_fields: Set[str] = set([
|
|
125
|
-
"prn",
|
|
126
|
-
"pulp_created",
|
|
127
125
|
"pulp_last_updated",
|
|
126
|
+
"pulp_created",
|
|
127
|
+
"prn",
|
|
128
128
|
"pulp_href",
|
|
129
129
|
"sha256",
|
|
130
130
|
"md5",
|
|
@@ -177,12 +177,12 @@ class AnsibleCollectionVersionResponse(BaseModel):
|
|
|
177
177
|
return cls.model_validate(obj)
|
|
178
178
|
|
|
179
179
|
_obj = cls.model_validate({
|
|
180
|
-
"prn": obj.get("prn"),
|
|
181
|
-
"pulp_labels": obj.get("pulp_labels"),
|
|
182
|
-
"artifact": obj.get("artifact"),
|
|
183
|
-
"pulp_created": obj.get("pulp_created"),
|
|
184
180
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
181
|
+
"pulp_created": obj.get("pulp_created"),
|
|
182
|
+
"artifact": obj.get("artifact"),
|
|
183
|
+
"prn": obj.get("prn"),
|
|
185
184
|
"pulp_href": obj.get("pulp_href"),
|
|
185
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
186
186
|
"sha256": obj.get("sha256"),
|
|
187
187
|
"md5": obj.get("md5"),
|
|
188
188
|
"sha1": obj.get("sha1"),
|
|
@@ -36,29 +36,29 @@ class AnsibleGitRemote(BaseModel):
|
|
|
36
36
|
"""
|
|
37
37
|
A serializer for Git Collection Remotes.
|
|
38
38
|
""" # noqa: E501
|
|
39
|
-
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.")
|
|
40
|
-
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
41
39
|
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.")
|
|
42
|
-
|
|
40
|
+
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
41
|
+
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
42
|
+
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.")
|
|
43
|
+
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.")
|
|
44
|
+
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.")
|
|
45
|
+
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
|
|
46
|
+
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
47
|
+
proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
|
|
48
|
+
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
49
|
+
url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
|
|
43
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.")
|
|
51
|
+
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
44
52
|
proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
53
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
54
|
+
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.")
|
|
55
|
+
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
45
56
|
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.")
|
|
46
|
-
url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
|
|
47
|
-
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.")
|
|
48
57
|
client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
49
|
-
proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
|
|
50
|
-
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.")
|
|
51
|
-
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.")
|
|
52
58
|
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
|
-
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
54
|
-
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
55
|
-
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
56
|
-
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
|
|
57
|
-
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
58
|
-
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
59
59
|
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.")
|
|
60
60
|
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.")
|
|
61
|
-
__properties: ClassVar[List[str]] = ["
|
|
61
|
+
__properties: ClassVar[List[str]] = ["proxy_password", "username", "rate_limit", "max_retries", "total_timeout", "password", "name", "headers", "proxy_username", "client_key", "url", "sock_read_timeout", "tls_validation", "proxy_url", "pulp_labels", "ca_cert", "download_concurrency", "connect_timeout", "client_cert", "sock_connect_timeout", "metadata_only", "git_ref"]
|
|
62
62
|
|
|
63
63
|
model_config = ConfigDict(
|
|
64
64
|
populate_by_name=True,
|
|
@@ -99,80 +99,80 @@ class AnsibleGitRemote(BaseModel):
|
|
|
99
99
|
exclude=excluded_fields,
|
|
100
100
|
exclude_none=True,
|
|
101
101
|
)
|
|
102
|
-
# set to None if max_retries (nullable) is None
|
|
103
|
-
# and model_fields_set contains the field
|
|
104
|
-
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
105
|
-
_dict['max_retries'] = None
|
|
106
|
-
|
|
107
|
-
# set to None if download_concurrency (nullable) is None
|
|
108
|
-
# and model_fields_set contains the field
|
|
109
|
-
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
110
|
-
_dict['download_concurrency'] = None
|
|
111
|
-
|
|
112
102
|
# set to None if proxy_password (nullable) is None
|
|
113
103
|
# and model_fields_set contains the field
|
|
114
104
|
if self.proxy_password is None and "proxy_password" in self.model_fields_set:
|
|
115
105
|
_dict['proxy_password'] = None
|
|
116
106
|
|
|
117
|
-
# set to None if
|
|
107
|
+
# set to None if username (nullable) is None
|
|
118
108
|
# and model_fields_set contains the field
|
|
119
|
-
if self.
|
|
120
|
-
_dict['
|
|
109
|
+
if self.username is None and "username" in self.model_fields_set:
|
|
110
|
+
_dict['username'] = None
|
|
121
111
|
|
|
122
|
-
# set to None if
|
|
112
|
+
# set to None if rate_limit (nullable) is None
|
|
123
113
|
# and model_fields_set contains the field
|
|
124
|
-
if self.
|
|
125
|
-
_dict['
|
|
114
|
+
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
115
|
+
_dict['rate_limit'] = None
|
|
126
116
|
|
|
127
|
-
# set to None if
|
|
117
|
+
# set to None if max_retries (nullable) is None
|
|
128
118
|
# and model_fields_set contains the field
|
|
129
|
-
if self.
|
|
130
|
-
_dict['
|
|
119
|
+
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
120
|
+
_dict['max_retries'] = None
|
|
131
121
|
|
|
132
122
|
# set to None if total_timeout (nullable) is None
|
|
133
123
|
# and model_fields_set contains the field
|
|
134
124
|
if self.total_timeout is None and "total_timeout" in self.model_fields_set:
|
|
135
125
|
_dict['total_timeout'] = None
|
|
136
126
|
|
|
137
|
-
# set to None if
|
|
127
|
+
# set to None if password (nullable) is None
|
|
138
128
|
# and model_fields_set contains the field
|
|
139
|
-
if self.
|
|
140
|
-
_dict['
|
|
129
|
+
if self.password is None and "password" in self.model_fields_set:
|
|
130
|
+
_dict['password'] = None
|
|
141
131
|
|
|
142
132
|
# set to None if proxy_username (nullable) is None
|
|
143
133
|
# and model_fields_set contains the field
|
|
144
134
|
if self.proxy_username is None and "proxy_username" in self.model_fields_set:
|
|
145
135
|
_dict['proxy_username'] = None
|
|
146
136
|
|
|
147
|
-
# set to None if
|
|
137
|
+
# set to None if client_key (nullable) is None
|
|
148
138
|
# and model_fields_set contains the field
|
|
149
|
-
if self.
|
|
150
|
-
_dict['
|
|
139
|
+
if self.client_key is None and "client_key" in self.model_fields_set:
|
|
140
|
+
_dict['client_key'] = None
|
|
141
|
+
|
|
142
|
+
# set to None if sock_read_timeout (nullable) is None
|
|
143
|
+
# and model_fields_set contains the field
|
|
144
|
+
if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
|
|
145
|
+
_dict['sock_read_timeout'] = None
|
|
146
|
+
|
|
147
|
+
# set to None if proxy_url (nullable) is None
|
|
148
|
+
# and model_fields_set contains the field
|
|
149
|
+
if self.proxy_url is None and "proxy_url" in self.model_fields_set:
|
|
150
|
+
_dict['proxy_url'] = None
|
|
151
151
|
|
|
152
152
|
# set to None if ca_cert (nullable) is None
|
|
153
153
|
# and model_fields_set contains the field
|
|
154
154
|
if self.ca_cert is None and "ca_cert" in self.model_fields_set:
|
|
155
155
|
_dict['ca_cert'] = None
|
|
156
156
|
|
|
157
|
-
# set to None if
|
|
157
|
+
# set to None if download_concurrency (nullable) is None
|
|
158
158
|
# and model_fields_set contains the field
|
|
159
|
-
if self.
|
|
160
|
-
_dict['
|
|
159
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
160
|
+
_dict['download_concurrency'] = None
|
|
161
161
|
|
|
162
|
-
# set to None if
|
|
162
|
+
# set to None if connect_timeout (nullable) is None
|
|
163
163
|
# and model_fields_set contains the field
|
|
164
|
-
if self.
|
|
165
|
-
_dict['
|
|
164
|
+
if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
|
|
165
|
+
_dict['connect_timeout'] = None
|
|
166
166
|
|
|
167
|
-
# set to None if
|
|
167
|
+
# set to None if client_cert (nullable) is None
|
|
168
168
|
# and model_fields_set contains the field
|
|
169
|
-
if self.
|
|
170
|
-
_dict['
|
|
169
|
+
if self.client_cert is None and "client_cert" in self.model_fields_set:
|
|
170
|
+
_dict['client_cert'] = None
|
|
171
171
|
|
|
172
|
-
# set to None if
|
|
172
|
+
# set to None if sock_connect_timeout (nullable) is None
|
|
173
173
|
# and model_fields_set contains the field
|
|
174
|
-
if self.
|
|
175
|
-
_dict['
|
|
174
|
+
if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
|
|
175
|
+
_dict['sock_connect_timeout'] = None
|
|
176
176
|
|
|
177
177
|
return _dict
|
|
178
178
|
|
|
@@ -186,26 +186,26 @@ class AnsibleGitRemote(BaseModel):
|
|
|
186
186
|
return cls.model_validate(obj)
|
|
187
187
|
|
|
188
188
|
_obj = cls.model_validate({
|
|
189
|
-
"max_retries": obj.get("max_retries"),
|
|
190
|
-
"download_concurrency": obj.get("download_concurrency"),
|
|
191
189
|
"proxy_password": obj.get("proxy_password"),
|
|
192
|
-
"
|
|
190
|
+
"username": obj.get("username"),
|
|
191
|
+
"rate_limit": obj.get("rate_limit"),
|
|
192
|
+
"max_retries": obj.get("max_retries"),
|
|
193
|
+
"total_timeout": obj.get("total_timeout"),
|
|
194
|
+
"password": obj.get("password"),
|
|
195
|
+
"name": obj.get("name"),
|
|
196
|
+
"headers": obj.get("headers"),
|
|
197
|
+
"proxy_username": obj.get("proxy_username"),
|
|
198
|
+
"client_key": obj.get("client_key"),
|
|
199
|
+
"url": obj.get("url"),
|
|
193
200
|
"sock_read_timeout": obj.get("sock_read_timeout"),
|
|
201
|
+
"tls_validation": obj.get("tls_validation"),
|
|
194
202
|
"proxy_url": obj.get("proxy_url"),
|
|
203
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
204
|
+
"ca_cert": obj.get("ca_cert"),
|
|
205
|
+
"download_concurrency": obj.get("download_concurrency"),
|
|
195
206
|
"connect_timeout": obj.get("connect_timeout"),
|
|
196
|
-
"url": obj.get("url"),
|
|
197
|
-
"total_timeout": obj.get("total_timeout"),
|
|
198
207
|
"client_cert": obj.get("client_cert"),
|
|
199
|
-
"proxy_username": obj.get("proxy_username"),
|
|
200
|
-
"password": obj.get("password"),
|
|
201
|
-
"ca_cert": obj.get("ca_cert"),
|
|
202
208
|
"sock_connect_timeout": obj.get("sock_connect_timeout"),
|
|
203
|
-
"headers": obj.get("headers"),
|
|
204
|
-
"tls_validation": obj.get("tls_validation"),
|
|
205
|
-
"rate_limit": obj.get("rate_limit"),
|
|
206
|
-
"name": obj.get("name"),
|
|
207
|
-
"username": obj.get("username"),
|
|
208
|
-
"client_key": obj.get("client_key"),
|
|
209
209
|
"metadata_only": obj.get("metadata_only"),
|
|
210
210
|
"git_ref": obj.get("git_ref")
|
|
211
211
|
})
|
|
@@ -38,29 +38,29 @@ class AnsibleGitRemoteResponse(BaseModel):
|
|
|
38
38
|
"""
|
|
39
39
|
A serializer for Git Collection Remotes.
|
|
40
40
|
""" # noqa: E501
|
|
41
|
+
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
41
42
|
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.")
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
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.")
|
|
44
|
+
name: StrictStr = Field(description="A unique name for this remote.")
|
|
45
|
+
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
46
|
+
url: StrictStr = Field(description="The URL of an external content source.")
|
|
44
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
|
+
hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
|
|
49
|
+
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
45
50
|
proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
51
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
52
|
+
ca_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
|
|
53
|
+
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
46
54
|
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.")
|
|
47
55
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the most recent update of the remote.")
|
|
48
|
-
|
|
49
|
-
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.")
|
|
50
|
-
client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
51
|
-
hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
|
|
56
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
52
57
|
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
53
|
-
|
|
54
|
-
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.")
|
|
58
|
+
client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
55
59
|
pulp_href: Optional[StrictStr] = None
|
|
56
|
-
|
|
57
|
-
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
58
|
-
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
59
|
-
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
60
|
-
name: StrictStr = Field(description="A unique name for this remote.")
|
|
60
|
+
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.")
|
|
61
61
|
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.")
|
|
62
62
|
git_ref: Optional[StrictStr] = Field(default=None, description="A git ref. e.g.: branch, tag, or commit sha.")
|
|
63
|
-
__properties: ClassVar[List[str]] = ["
|
|
63
|
+
__properties: ClassVar[List[str]] = ["rate_limit", "max_retries", "total_timeout", "name", "headers", "url", "sock_read_timeout", "hidden_fields", "tls_validation", "proxy_url", "pulp_labels", "ca_cert", "download_concurrency", "connect_timeout", "pulp_last_updated", "pulp_created", "prn", "client_cert", "pulp_href", "sock_connect_timeout", "metadata_only", "git_ref"]
|
|
64
64
|
|
|
65
65
|
model_config = ConfigDict(
|
|
66
66
|
populate_by_name=True,
|
|
@@ -99,11 +99,11 @@ class AnsibleGitRemoteResponse(BaseModel):
|
|
|
99
99
|
* OpenAPI `readOnly` fields are excluded.
|
|
100
100
|
"""
|
|
101
101
|
excluded_fields: Set[str] = set([
|
|
102
|
-
"pulp_last_updated",
|
|
103
102
|
"hidden_fields",
|
|
103
|
+
"pulp_last_updated",
|
|
104
|
+
"pulp_created",
|
|
104
105
|
"prn",
|
|
105
106
|
"pulp_href",
|
|
106
|
-
"pulp_created",
|
|
107
107
|
])
|
|
108
108
|
|
|
109
109
|
_dict = self.model_dump(
|
|
@@ -118,15 +118,20 @@ class AnsibleGitRemoteResponse(BaseModel):
|
|
|
118
118
|
if _item_hidden_fields:
|
|
119
119
|
_items.append(_item_hidden_fields.to_dict())
|
|
120
120
|
_dict['hidden_fields'] = _items
|
|
121
|
+
# set to None if rate_limit (nullable) is None
|
|
122
|
+
# and model_fields_set contains the field
|
|
123
|
+
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
124
|
+
_dict['rate_limit'] = None
|
|
125
|
+
|
|
121
126
|
# set to None if max_retries (nullable) is None
|
|
122
127
|
# and model_fields_set contains the field
|
|
123
128
|
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
124
129
|
_dict['max_retries'] = None
|
|
125
130
|
|
|
126
|
-
# set to None if
|
|
131
|
+
# set to None if total_timeout (nullable) is None
|
|
127
132
|
# and model_fields_set contains the field
|
|
128
|
-
if self.
|
|
129
|
-
_dict['
|
|
133
|
+
if self.total_timeout is None and "total_timeout" in self.model_fields_set:
|
|
134
|
+
_dict['total_timeout'] = None
|
|
130
135
|
|
|
131
136
|
# set to None if sock_read_timeout (nullable) is None
|
|
132
137
|
# and model_fields_set contains the field
|
|
@@ -138,36 +143,31 @@ class AnsibleGitRemoteResponse(BaseModel):
|
|
|
138
143
|
if self.proxy_url is None and "proxy_url" in self.model_fields_set:
|
|
139
144
|
_dict['proxy_url'] = None
|
|
140
145
|
|
|
146
|
+
# set to None if ca_cert (nullable) is None
|
|
147
|
+
# and model_fields_set contains the field
|
|
148
|
+
if self.ca_cert is None and "ca_cert" in self.model_fields_set:
|
|
149
|
+
_dict['ca_cert'] = None
|
|
150
|
+
|
|
151
|
+
# set to None if download_concurrency (nullable) is None
|
|
152
|
+
# and model_fields_set contains the field
|
|
153
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
154
|
+
_dict['download_concurrency'] = None
|
|
155
|
+
|
|
141
156
|
# set to None if connect_timeout (nullable) is None
|
|
142
157
|
# and model_fields_set contains the field
|
|
143
158
|
if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
|
|
144
159
|
_dict['connect_timeout'] = None
|
|
145
160
|
|
|
146
|
-
# set to None if total_timeout (nullable) is None
|
|
147
|
-
# and model_fields_set contains the field
|
|
148
|
-
if self.total_timeout is None and "total_timeout" in self.model_fields_set:
|
|
149
|
-
_dict['total_timeout'] = None
|
|
150
|
-
|
|
151
161
|
# set to None if client_cert (nullable) is None
|
|
152
162
|
# and model_fields_set contains the field
|
|
153
163
|
if self.client_cert is None and "client_cert" in self.model_fields_set:
|
|
154
164
|
_dict['client_cert'] = None
|
|
155
165
|
|
|
156
|
-
# set to None if ca_cert (nullable) is None
|
|
157
|
-
# and model_fields_set contains the field
|
|
158
|
-
if self.ca_cert is None and "ca_cert" in self.model_fields_set:
|
|
159
|
-
_dict['ca_cert'] = None
|
|
160
|
-
|
|
161
166
|
# set to None if sock_connect_timeout (nullable) is None
|
|
162
167
|
# and model_fields_set contains the field
|
|
163
168
|
if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
|
|
164
169
|
_dict['sock_connect_timeout'] = None
|
|
165
170
|
|
|
166
|
-
# set to None if rate_limit (nullable) is None
|
|
167
|
-
# and model_fields_set contains the field
|
|
168
|
-
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
169
|
-
_dict['rate_limit'] = None
|
|
170
|
-
|
|
171
171
|
return _dict
|
|
172
172
|
|
|
173
173
|
@classmethod
|
|
@@ -180,26 +180,26 @@ class AnsibleGitRemoteResponse(BaseModel):
|
|
|
180
180
|
return cls.model_validate(obj)
|
|
181
181
|
|
|
182
182
|
_obj = cls.model_validate({
|
|
183
|
+
"rate_limit": obj.get("rate_limit"),
|
|
183
184
|
"max_retries": obj.get("max_retries"),
|
|
184
|
-
"
|
|
185
|
-
"
|
|
185
|
+
"total_timeout": obj.get("total_timeout"),
|
|
186
|
+
"name": obj.get("name"),
|
|
187
|
+
"headers": obj.get("headers"),
|
|
188
|
+
"url": obj.get("url"),
|
|
186
189
|
"sock_read_timeout": obj.get("sock_read_timeout"),
|
|
190
|
+
"hidden_fields": [AnsibleCollectionRemoteResponseHiddenFieldsInner.from_dict(_item) for _item in obj["hidden_fields"]] if obj.get("hidden_fields") is not None else None,
|
|
191
|
+
"tls_validation": obj.get("tls_validation"),
|
|
187
192
|
"proxy_url": obj.get("proxy_url"),
|
|
193
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
194
|
+
"ca_cert": obj.get("ca_cert"),
|
|
195
|
+
"download_concurrency": obj.get("download_concurrency"),
|
|
188
196
|
"connect_timeout": obj.get("connect_timeout"),
|
|
189
197
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
190
|
-
"
|
|
191
|
-
"total_timeout": obj.get("total_timeout"),
|
|
192
|
-
"client_cert": obj.get("client_cert"),
|
|
193
|
-
"hidden_fields": [AnsibleCollectionRemoteResponseHiddenFieldsInner.from_dict(_item) for _item in obj["hidden_fields"]] if obj.get("hidden_fields") is not None else None,
|
|
198
|
+
"pulp_created": obj.get("pulp_created"),
|
|
194
199
|
"prn": obj.get("prn"),
|
|
195
|
-
"
|
|
196
|
-
"sock_connect_timeout": obj.get("sock_connect_timeout"),
|
|
200
|
+
"client_cert": obj.get("client_cert"),
|
|
197
201
|
"pulp_href": obj.get("pulp_href"),
|
|
198
|
-
"
|
|
199
|
-
"headers": obj.get("headers"),
|
|
200
|
-
"tls_validation": obj.get("tls_validation"),
|
|
201
|
-
"rate_limit": obj.get("rate_limit"),
|
|
202
|
-
"name": obj.get("name"),
|
|
202
|
+
"sock_connect_timeout": obj.get("sock_connect_timeout"),
|
|
203
203
|
"metadata_only": obj.get("metadata_only"),
|
|
204
204
|
"git_ref": obj.get("git_ref")
|
|
205
205
|
})
|
|
@@ -36,13 +36,13 @@ class AnsibleRole(BaseModel):
|
|
|
36
36
|
"""
|
|
37
37
|
A serializer for Role versions.
|
|
38
38
|
""" # noqa: E501
|
|
39
|
+
artifact: StrictStr = Field(description="Artifact file representing the physical content")
|
|
39
40
|
repository: Optional[StrictStr] = Field(default=None, description="A URI of a repository the new content unit should be associated with.")
|
|
40
41
|
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.")
|
|
41
|
-
artifact: StrictStr = Field(description="Artifact file representing the physical content")
|
|
42
42
|
version: Annotated[str, Field(min_length=1, strict=True)]
|
|
43
43
|
name: Annotated[str, Field(min_length=1, strict=True)]
|
|
44
44
|
namespace: Annotated[str, Field(min_length=1, strict=True)]
|
|
45
|
-
__properties: ClassVar[List[str]] = ["
|
|
45
|
+
__properties: ClassVar[List[str]] = ["artifact", "repository", "pulp_labels", "version", "name", "namespace"]
|
|
46
46
|
|
|
47
47
|
model_config = ConfigDict(
|
|
48
48
|
populate_by_name=True,
|
|
@@ -95,9 +95,9 @@ class AnsibleRole(BaseModel):
|
|
|
95
95
|
return cls.model_validate(obj)
|
|
96
96
|
|
|
97
97
|
_obj = cls.model_validate({
|
|
98
|
+
"artifact": obj.get("artifact"),
|
|
98
99
|
"repository": obj.get("repository"),
|
|
99
100
|
"pulp_labels": obj.get("pulp_labels"),
|
|
100
|
-
"artifact": obj.get("artifact"),
|
|
101
101
|
"version": obj.get("version"),
|
|
102
102
|
"name": obj.get("name"),
|
|
103
103
|
"namespace": obj.get("namespace")
|
|
@@ -36,16 +36,16 @@ class AnsibleRoleResponse(BaseModel):
|
|
|
36
36
|
"""
|
|
37
37
|
A serializer for Role versions.
|
|
38
38
|
""" # noqa: E501
|
|
39
|
-
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
40
|
-
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.")
|
|
41
|
-
artifact: StrictStr = Field(description="Artifact file representing the physical content")
|
|
42
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
43
39
|
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.")
|
|
40
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
41
|
+
artifact: StrictStr = Field(description="Artifact file representing the physical content")
|
|
42
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
44
43
|
pulp_href: Optional[StrictStr] = None
|
|
44
|
+
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.")
|
|
45
45
|
version: StrictStr
|
|
46
46
|
name: StrictStr
|
|
47
47
|
namespace: StrictStr
|
|
48
|
-
__properties: ClassVar[List[str]] = ["
|
|
48
|
+
__properties: ClassVar[List[str]] = ["pulp_last_updated", "pulp_created", "artifact", "prn", "pulp_href", "pulp_labels", "version", "name", "namespace"]
|
|
49
49
|
|
|
50
50
|
model_config = ConfigDict(
|
|
51
51
|
populate_by_name=True,
|
|
@@ -83,9 +83,9 @@ class AnsibleRoleResponse(BaseModel):
|
|
|
83
83
|
* OpenAPI `readOnly` fields are excluded.
|
|
84
84
|
"""
|
|
85
85
|
excluded_fields: Set[str] = set([
|
|
86
|
-
"prn",
|
|
87
|
-
"pulp_created",
|
|
88
86
|
"pulp_last_updated",
|
|
87
|
+
"pulp_created",
|
|
88
|
+
"prn",
|
|
89
89
|
"pulp_href",
|
|
90
90
|
])
|
|
91
91
|
|
|
@@ -106,12 +106,12 @@ class AnsibleRoleResponse(BaseModel):
|
|
|
106
106
|
return cls.model_validate(obj)
|
|
107
107
|
|
|
108
108
|
_obj = cls.model_validate({
|
|
109
|
-
"prn": obj.get("prn"),
|
|
110
|
-
"pulp_labels": obj.get("pulp_labels"),
|
|
111
|
-
"artifact": obj.get("artifact"),
|
|
112
|
-
"pulp_created": obj.get("pulp_created"),
|
|
113
109
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
110
|
+
"pulp_created": obj.get("pulp_created"),
|
|
111
|
+
"artifact": obj.get("artifact"),
|
|
112
|
+
"prn": obj.get("prn"),
|
|
114
113
|
"pulp_href": obj.get("pulp_href"),
|
|
114
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
115
115
|
"version": obj.get("version"),
|
|
116
116
|
"name": obj.get("name"),
|
|
117
117
|
"namespace": obj.get("namespace")
|
|
@@ -36,29 +36,29 @@ class PatchedansibleGitRemote(BaseModel):
|
|
|
36
36
|
"""
|
|
37
37
|
A serializer for Git Collection Remotes.
|
|
38
38
|
""" # noqa: E501
|
|
39
|
-
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.")
|
|
40
|
-
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
41
39
|
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.")
|
|
42
|
-
|
|
40
|
+
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
41
|
+
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
42
|
+
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.")
|
|
43
|
+
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.")
|
|
44
|
+
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.")
|
|
45
|
+
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this remote.")
|
|
46
|
+
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
47
|
+
proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
|
|
48
|
+
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
49
|
+
url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The URL of an external content source.")
|
|
43
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.")
|
|
51
|
+
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
44
52
|
proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
|
|
53
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
54
|
+
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.")
|
|
55
|
+
download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
45
56
|
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.")
|
|
46
|
-
url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The URL of an external content source.")
|
|
47
|
-
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.")
|
|
48
57
|
client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
|
|
49
|
-
proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
|
|
50
|
-
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.")
|
|
51
|
-
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.")
|
|
52
58
|
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
|
-
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
54
|
-
tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
|
|
55
|
-
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
56
|
-
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this remote.")
|
|
57
|
-
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
58
|
-
client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
|
|
59
59
|
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.")
|
|
60
60
|
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.")
|
|
61
|
-
__properties: ClassVar[List[str]] = ["
|
|
61
|
+
__properties: ClassVar[List[str]] = ["proxy_password", "username", "rate_limit", "max_retries", "total_timeout", "password", "name", "headers", "proxy_username", "client_key", "url", "sock_read_timeout", "tls_validation", "proxy_url", "pulp_labels", "ca_cert", "download_concurrency", "connect_timeout", "client_cert", "sock_connect_timeout", "metadata_only", "git_ref"]
|
|
62
62
|
|
|
63
63
|
model_config = ConfigDict(
|
|
64
64
|
populate_by_name=True,
|
|
@@ -99,80 +99,80 @@ class PatchedansibleGitRemote(BaseModel):
|
|
|
99
99
|
exclude=excluded_fields,
|
|
100
100
|
exclude_none=True,
|
|
101
101
|
)
|
|
102
|
-
# set to None if max_retries (nullable) is None
|
|
103
|
-
# and model_fields_set contains the field
|
|
104
|
-
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
105
|
-
_dict['max_retries'] = None
|
|
106
|
-
|
|
107
|
-
# set to None if download_concurrency (nullable) is None
|
|
108
|
-
# and model_fields_set contains the field
|
|
109
|
-
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
110
|
-
_dict['download_concurrency'] = None
|
|
111
|
-
|
|
112
102
|
# set to None if proxy_password (nullable) is None
|
|
113
103
|
# and model_fields_set contains the field
|
|
114
104
|
if self.proxy_password is None and "proxy_password" in self.model_fields_set:
|
|
115
105
|
_dict['proxy_password'] = None
|
|
116
106
|
|
|
117
|
-
# set to None if
|
|
107
|
+
# set to None if username (nullable) is None
|
|
118
108
|
# and model_fields_set contains the field
|
|
119
|
-
if self.
|
|
120
|
-
_dict['
|
|
109
|
+
if self.username is None and "username" in self.model_fields_set:
|
|
110
|
+
_dict['username'] = None
|
|
121
111
|
|
|
122
|
-
# set to None if
|
|
112
|
+
# set to None if rate_limit (nullable) is None
|
|
123
113
|
# and model_fields_set contains the field
|
|
124
|
-
if self.
|
|
125
|
-
_dict['
|
|
114
|
+
if self.rate_limit is None and "rate_limit" in self.model_fields_set:
|
|
115
|
+
_dict['rate_limit'] = None
|
|
126
116
|
|
|
127
|
-
# set to None if
|
|
117
|
+
# set to None if max_retries (nullable) is None
|
|
128
118
|
# and model_fields_set contains the field
|
|
129
|
-
if self.
|
|
130
|
-
_dict['
|
|
119
|
+
if self.max_retries is None and "max_retries" in self.model_fields_set:
|
|
120
|
+
_dict['max_retries'] = None
|
|
131
121
|
|
|
132
122
|
# set to None if total_timeout (nullable) is None
|
|
133
123
|
# and model_fields_set contains the field
|
|
134
124
|
if self.total_timeout is None and "total_timeout" in self.model_fields_set:
|
|
135
125
|
_dict['total_timeout'] = None
|
|
136
126
|
|
|
137
|
-
# set to None if
|
|
127
|
+
# set to None if password (nullable) is None
|
|
138
128
|
# and model_fields_set contains the field
|
|
139
|
-
if self.
|
|
140
|
-
_dict['
|
|
129
|
+
if self.password is None and "password" in self.model_fields_set:
|
|
130
|
+
_dict['password'] = None
|
|
141
131
|
|
|
142
132
|
# set to None if proxy_username (nullable) is None
|
|
143
133
|
# and model_fields_set contains the field
|
|
144
134
|
if self.proxy_username is None and "proxy_username" in self.model_fields_set:
|
|
145
135
|
_dict['proxy_username'] = None
|
|
146
136
|
|
|
147
|
-
# set to None if
|
|
137
|
+
# set to None if client_key (nullable) is None
|
|
148
138
|
# and model_fields_set contains the field
|
|
149
|
-
if self.
|
|
150
|
-
_dict['
|
|
139
|
+
if self.client_key is None and "client_key" in self.model_fields_set:
|
|
140
|
+
_dict['client_key'] = None
|
|
141
|
+
|
|
142
|
+
# set to None if sock_read_timeout (nullable) is None
|
|
143
|
+
# and model_fields_set contains the field
|
|
144
|
+
if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
|
|
145
|
+
_dict['sock_read_timeout'] = None
|
|
146
|
+
|
|
147
|
+
# set to None if proxy_url (nullable) is None
|
|
148
|
+
# and model_fields_set contains the field
|
|
149
|
+
if self.proxy_url is None and "proxy_url" in self.model_fields_set:
|
|
150
|
+
_dict['proxy_url'] = None
|
|
151
151
|
|
|
152
152
|
# set to None if ca_cert (nullable) is None
|
|
153
153
|
# and model_fields_set contains the field
|
|
154
154
|
if self.ca_cert is None and "ca_cert" in self.model_fields_set:
|
|
155
155
|
_dict['ca_cert'] = None
|
|
156
156
|
|
|
157
|
-
# set to None if
|
|
157
|
+
# set to None if download_concurrency (nullable) is None
|
|
158
158
|
# and model_fields_set contains the field
|
|
159
|
-
if self.
|
|
160
|
-
_dict['
|
|
159
|
+
if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
|
|
160
|
+
_dict['download_concurrency'] = None
|
|
161
161
|
|
|
162
|
-
# set to None if
|
|
162
|
+
# set to None if connect_timeout (nullable) is None
|
|
163
163
|
# and model_fields_set contains the field
|
|
164
|
-
if self.
|
|
165
|
-
_dict['
|
|
164
|
+
if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
|
|
165
|
+
_dict['connect_timeout'] = None
|
|
166
166
|
|
|
167
|
-
# set to None if
|
|
167
|
+
# set to None if client_cert (nullable) is None
|
|
168
168
|
# and model_fields_set contains the field
|
|
169
|
-
if self.
|
|
170
|
-
_dict['
|
|
169
|
+
if self.client_cert is None and "client_cert" in self.model_fields_set:
|
|
170
|
+
_dict['client_cert'] = None
|
|
171
171
|
|
|
172
|
-
# set to None if
|
|
172
|
+
# set to None if sock_connect_timeout (nullable) is None
|
|
173
173
|
# and model_fields_set contains the field
|
|
174
|
-
if self.
|
|
175
|
-
_dict['
|
|
174
|
+
if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
|
|
175
|
+
_dict['sock_connect_timeout'] = None
|
|
176
176
|
|
|
177
177
|
return _dict
|
|
178
178
|
|
|
@@ -186,26 +186,26 @@ class PatchedansibleGitRemote(BaseModel):
|
|
|
186
186
|
return cls.model_validate(obj)
|
|
187
187
|
|
|
188
188
|
_obj = cls.model_validate({
|
|
189
|
-
"max_retries": obj.get("max_retries"),
|
|
190
|
-
"download_concurrency": obj.get("download_concurrency"),
|
|
191
189
|
"proxy_password": obj.get("proxy_password"),
|
|
192
|
-
"
|
|
190
|
+
"username": obj.get("username"),
|
|
191
|
+
"rate_limit": obj.get("rate_limit"),
|
|
192
|
+
"max_retries": obj.get("max_retries"),
|
|
193
|
+
"total_timeout": obj.get("total_timeout"),
|
|
194
|
+
"password": obj.get("password"),
|
|
195
|
+
"name": obj.get("name"),
|
|
196
|
+
"headers": obj.get("headers"),
|
|
197
|
+
"proxy_username": obj.get("proxy_username"),
|
|
198
|
+
"client_key": obj.get("client_key"),
|
|
199
|
+
"url": obj.get("url"),
|
|
193
200
|
"sock_read_timeout": obj.get("sock_read_timeout"),
|
|
201
|
+
"tls_validation": obj.get("tls_validation"),
|
|
194
202
|
"proxy_url": obj.get("proxy_url"),
|
|
203
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
204
|
+
"ca_cert": obj.get("ca_cert"),
|
|
205
|
+
"download_concurrency": obj.get("download_concurrency"),
|
|
195
206
|
"connect_timeout": obj.get("connect_timeout"),
|
|
196
|
-
"url": obj.get("url"),
|
|
197
|
-
"total_timeout": obj.get("total_timeout"),
|
|
198
207
|
"client_cert": obj.get("client_cert"),
|
|
199
|
-
"proxy_username": obj.get("proxy_username"),
|
|
200
|
-
"password": obj.get("password"),
|
|
201
|
-
"ca_cert": obj.get("ca_cert"),
|
|
202
208
|
"sock_connect_timeout": obj.get("sock_connect_timeout"),
|
|
203
|
-
"headers": obj.get("headers"),
|
|
204
|
-
"tls_validation": obj.get("tls_validation"),
|
|
205
|
-
"rate_limit": obj.get("rate_limit"),
|
|
206
|
-
"name": obj.get("name"),
|
|
207
|
-
"username": obj.get("username"),
|
|
208
|
-
"client_key": obj.get("client_key"),
|
|
209
209
|
"metadata_only": obj.get("metadata_only"),
|
|
210
210
|
"git_ref": obj.get("git_ref")
|
|
211
211
|
})
|
|
File without changes
|
|
File without changes
|