crc-pulpcore-client 20250917.2__py3-none-any.whl → 20250919.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crc-pulpcore-client might be problematic. Click here for more details.
- {crc_pulpcore_client-20250917.2.dist-info → crc_pulpcore_client-20250919.1.dist-info}/METADATA +1 -1
- {crc_pulpcore_client-20250917.2.dist-info → crc_pulpcore_client-20250919.1.dist-info}/RECORD +77 -77
- pulpcore/client/pulpcore/__init__.py +1 -1
- pulpcore/client/pulpcore/api_client.py +1 -1
- pulpcore/client/pulpcore/configuration.py +3 -3
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +18 -18
- pulpcore/client/pulpcore/models/filesystem_export_response.py +2 -0
- pulpcore/client/pulpcore/models/generic_remote_response.py +3 -1
- pulpcore/client/pulpcore/models/group_role_response.py +2 -0
- pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey_response.py +2 -0
- pulpcore/client/pulpcore/models/nested_open_pgp_signature.py +1 -1
- pulpcore/client/pulpcore/models/nested_open_pgp_signature_response.py +3 -2
- pulpcore/client/pulpcore/models/nested_open_pgp_user_attribute_response.py +2 -0
- pulpcore/client/pulpcore/models/nested_open_pgp_user_id_response.py +2 -0
- pulpcore/client/pulpcore/models/open_pgp_keyring.py +2 -2
- pulpcore/client/pulpcore/models/open_pgp_keyring_response.py +3 -2
- pulpcore/client/pulpcore/models/open_pgp_public_key_response.py +6 -0
- pulpcore/client/pulpcore/models/open_pgp_public_subkey_response.py +2 -0
- pulpcore/client/pulpcore/models/open_pgp_signature_response.py +2 -1
- pulpcore/client/pulpcore/models/open_pgp_user_attribute_response.py +2 -0
- pulpcore/client/pulpcore/models/open_pgp_user_id_response.py +2 -0
- pulpcore/client/pulpcore/models/orphans_cleanup.py +3 -2
- pulpcore/client/pulpcore/models/paginated_access_policy_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_artifact_distribution_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_artifact_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_composite_content_guard_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_content_guard_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_content_redirect_content_guard_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_distribution_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_domain_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_filesystem_export_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_filesystem_exporter_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_generic_remote_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_group_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_group_role_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_group_user_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_header_content_guard_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_import_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_multiple_artifact_content_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_open_pgp_distribution_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_open_pgp_keyring_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_open_pgp_public_key_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_open_pgp_public_subkey_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_open_pgp_signature_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_open_pgp_user_attribute_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_open_pgp_user_id_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_publication_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_pulp_export_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_pulp_exporter_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_pulp_importer_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_rbac_content_guard_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_repository_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_repository_version_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_role_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_signing_service_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_task_group_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_task_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_task_schedule_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_upload_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_upstream_pulp_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_user_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_user_role_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_vulnerability_report_response_list.py +10 -0
- pulpcore/client/pulpcore/models/paginated_worker_response_list.py +10 -0
- pulpcore/client/pulpcore/models/patched_open_pgp_keyring.py +2 -2
- pulpcore/client/pulpcore/models/pulp_export_response.py +2 -0
- pulpcore/client/pulpcore/models/rbac_content_guard_response.py +4 -0
- pulpcore/client/pulpcore/models/repository_response.py +3 -2
- pulpcore/client/pulpcore/models/storage_response.py +5 -4
- pulpcore/client/pulpcore/models/task_group_response.py +4 -0
- pulpcore/client/pulpcore/models/task_response.py +11 -1
- pulpcore/client/pulpcore/models/upload_detail_response.py +2 -0
- pulpcore/client/pulpcore/models/upstream_pulp_response.py +2 -0
- pulpcore/client/pulpcore/models/user_response.py +4 -0
- pulpcore/client/pulpcore/models/user_role_response.py +2 -0
- {crc_pulpcore_client-20250917.2.dist-info → crc_pulpcore_client-20250919.1.dist-info}/WHEEL +0 -0
- {crc_pulpcore_client-20250917.2.dist-info → crc_pulpcore_client-20250919.1.dist-info}/top_level.txt +0 -0
|
@@ -21,6 +21,7 @@ import json
|
|
|
21
21
|
from datetime import datetime
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
23
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
|
+
from typing_extensions import Annotated
|
|
24
25
|
from typing import Optional, Set
|
|
25
26
|
from typing_extensions import Self
|
|
26
27
|
|
|
@@ -34,7 +35,7 @@ class OpenPGPSignatureResponse(BaseModel):
|
|
|
34
35
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
|
|
35
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.")
|
|
36
37
|
vuln_report: Optional[StrictStr] = None
|
|
37
|
-
issuer: Optional[
|
|
38
|
+
issuer: Optional[Annotated[str, Field(strict=True, max_length=16)]] = None
|
|
38
39
|
created: datetime
|
|
39
40
|
expiration_time: Optional[StrictStr] = None
|
|
40
41
|
signers_user_id: Optional[StrictStr] = None
|
|
@@ -77,6 +77,7 @@ class OpenPGPUserAttributeResponse(BaseModel):
|
|
|
77
77
|
* OpenAPI `readOnly` fields are excluded.
|
|
78
78
|
* OpenAPI `readOnly` fields are excluded.
|
|
79
79
|
* OpenAPI `readOnly` fields are excluded.
|
|
80
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
80
81
|
"""
|
|
81
82
|
excluded_fields: Set[str] = set([
|
|
82
83
|
"pulp_href",
|
|
@@ -84,6 +85,7 @@ class OpenPGPUserAttributeResponse(BaseModel):
|
|
|
84
85
|
"pulp_created",
|
|
85
86
|
"pulp_last_updated",
|
|
86
87
|
"vuln_report",
|
|
88
|
+
"signatures",
|
|
87
89
|
"public_key",
|
|
88
90
|
])
|
|
89
91
|
|
|
@@ -76,6 +76,7 @@ class OpenPGPUserIDResponse(BaseModel):
|
|
|
76
76
|
* OpenAPI `readOnly` fields are excluded.
|
|
77
77
|
* OpenAPI `readOnly` fields are excluded.
|
|
78
78
|
* OpenAPI `readOnly` fields are excluded.
|
|
79
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
79
80
|
"""
|
|
80
81
|
excluded_fields: Set[str] = set([
|
|
81
82
|
"pulp_href",
|
|
@@ -83,6 +84,7 @@ class OpenPGPUserIDResponse(BaseModel):
|
|
|
83
84
|
"pulp_created",
|
|
84
85
|
"pulp_last_updated",
|
|
85
86
|
"vuln_report",
|
|
87
|
+
"signatures",
|
|
86
88
|
"public_key",
|
|
87
89
|
])
|
|
88
90
|
|
|
@@ -18,8 +18,9 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -28,7 +29,7 @@ class OrphansCleanup(BaseModel):
|
|
|
28
29
|
OrphansCleanup
|
|
29
30
|
""" # noqa: E501
|
|
30
31
|
content_hrefs: Optional[List[Any]] = Field(default=None, description="Will delete specified content and associated Artifacts if they are orphans.")
|
|
31
|
-
orphan_protection_time: Optional[
|
|
32
|
+
orphan_protection_time: Optional[Annotated[int, Field(le=4294967295, strict=True, ge=0)]] = Field(default=None, description="The time in minutes for how long Pulp will hold orphan Content and Artifacts before they become candidates for deletion by this orphan cleanup task. This should ideally be longer than your longest running task otherwise any content created during that task could be cleaned up before the task finishes. If not specified, a default value is taken from the setting ORPHAN_PROTECTION_TIME.")
|
|
32
33
|
__properties: ClassVar[List[str]] = ["content_hrefs", "orphan_protection_time"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
@@ -80,6 +80,16 @@ class PaginatedAccessPolicyResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedArtifactDistributionResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedArtifactResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedCompositeContentGuardResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedContentGuardResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedContentRedirectContentGuardResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedDistributionResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedDomainResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedFilesystemExportResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedFilesystemExporterResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedGenericRemoteResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedGroupResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedGroupRoleResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedGroupUserResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedHeaderContentGuardResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedImportResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedMultipleArtifactContentResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedOpenPGPDistributionResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedOpenPGPKeyringResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedOpenPGPPublicKeyResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedOpenPGPPublicSubkeyResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedOpenPGPSignatureResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedOpenPGPUserAttributeResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedOpenPGPUserIDResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedPublicationResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedPulpExportResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedPulpExporterResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedPulpImporterResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedRBACContentGuardResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedRepositoryResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedRepositoryVersionResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|
|
@@ -80,6 +80,16 @@ class PaginatedRoleResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
+
# set to None if next (nullable) is None
|
|
84
|
+
# and model_fields_set contains the field
|
|
85
|
+
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
+
_dict['next'] = None
|
|
87
|
+
|
|
88
|
+
# set to None if previous (nullable) is None
|
|
89
|
+
# and model_fields_set contains the field
|
|
90
|
+
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
+
_dict['previous'] = None
|
|
92
|
+
|
|
83
93
|
return _dict
|
|
84
94
|
|
|
85
95
|
@classmethod
|