pulp-ansible-client 0.27.1__py3-none-any.whl → 0.28.0__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.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/METADATA +1 -1
- {pulp_ansible_client-0.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/RECORD +50 -50
- 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_ansible_collection_deprecated_response.py +5 -1
- pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +2 -2
- pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +2 -5
- pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +3 -3
- pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +2 -4
- pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +13 -17
- pulpcore/client/pulp_ansible/models/ansible_collection_version_signature_response.py +5 -1
- pulpcore/client/pulp_ansible/models/ansible_git_remote.py +61 -61
- pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py +49 -51
- pulpcore/client/pulp_ansible/models/ansible_role.py +3 -3
- pulpcore/client/pulp_ansible/models/ansible_role_remote.py +1 -1
- pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +1 -3
- pulpcore/client/pulp_ansible/models/ansible_role_response.py +13 -9
- pulpcore/client/pulp_ansible/models/collection_metadata_response.py +0 -8
- pulpcore/client/pulp_ansible/models/collection_summary_response.py +1 -5
- pulpcore/client/pulp_ansible/models/collection_version_list_response.py +1 -3
- pulpcore/client/pulp_ansible/models/collection_version_response.py +1 -3
- pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +0 -20
- pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_collection_deprecated_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_namespace_metadata_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_mark_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_signature_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_git_remote_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +0 -10
- pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +2 -2
- pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +3 -3
- pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py +61 -61
- pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +1 -1
- pulpcore/client/pulp_ansible/models/repository.py +2 -2
- pulpcore/client/pulp_ansible/models/repository_response.py +2 -3
- pulpcore/client/pulp_ansible/models/repository_version_response.py +6 -2
- pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +1 -3
- {pulp_ansible_client-0.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/WHEEL +0 -0
- {pulp_ansible_client-0.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/top_level.txt +0 -0
|
@@ -75,20 +75,12 @@ class CollectionMetadataResponse(BaseModel):
|
|
|
75
75
|
* OpenAPI `readOnly` fields are excluded.
|
|
76
76
|
* OpenAPI `readOnly` fields are excluded.
|
|
77
77
|
* OpenAPI `readOnly` fields are excluded.
|
|
78
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
79
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
80
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
81
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
82
78
|
"""
|
|
83
79
|
excluded_fields: Set[str] = set([
|
|
84
|
-
"authors",
|
|
85
|
-
"contents",
|
|
86
|
-
"dependencies",
|
|
87
80
|
"description",
|
|
88
81
|
"documentation",
|
|
89
82
|
"homepage",
|
|
90
83
|
"issues",
|
|
91
|
-
"license",
|
|
92
84
|
"repository",
|
|
93
85
|
])
|
|
94
86
|
|
|
@@ -34,7 +34,7 @@ class CollectionSummaryResponse(BaseModel):
|
|
|
34
34
|
namespace: Optional[Annotated[str, Field(strict=True, max_length=64)]] = Field(default=None, description="The namespace of the collection.")
|
|
35
35
|
name: Optional[Annotated[str, Field(strict=True, max_length=64)]] = Field(default=None, description="The name of the collection.")
|
|
36
36
|
version: Optional[Annotated[str, Field(strict=True, max_length=128)]] = Field(default=None, description="The version of the collection.")
|
|
37
|
-
requires_ansible: Optional[
|
|
37
|
+
requires_ansible: Optional[StrictStr] = Field(default=None, description="The version of Ansible required to use the collection. Multiple versions can be separated with a comma.")
|
|
38
38
|
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
39
39
|
contents: Optional[List[Any]] = Field(default=None, description="A JSON field with data about the contents.")
|
|
40
40
|
dependencies: Optional[Dict[str, Any]] = Field(default=None, description="A dict declaring Collections that this collection requires to be installed for it to be usable.")
|
|
@@ -80,8 +80,6 @@ class CollectionSummaryResponse(BaseModel):
|
|
|
80
80
|
* OpenAPI `readOnly` fields are excluded.
|
|
81
81
|
* OpenAPI `readOnly` fields are excluded.
|
|
82
82
|
* OpenAPI `readOnly` fields are excluded.
|
|
83
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
84
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
85
83
|
"""
|
|
86
84
|
excluded_fields: Set[str] = set([
|
|
87
85
|
"pulp_href",
|
|
@@ -90,10 +88,8 @@ class CollectionSummaryResponse(BaseModel):
|
|
|
90
88
|
"version",
|
|
91
89
|
"requires_ansible",
|
|
92
90
|
"pulp_created",
|
|
93
|
-
"contents",
|
|
94
91
|
"dependencies",
|
|
95
92
|
"description",
|
|
96
|
-
"tags",
|
|
97
93
|
])
|
|
98
94
|
|
|
99
95
|
_dict = self.model_dump(
|
|
@@ -33,7 +33,7 @@ class CollectionVersionListResponse(BaseModel):
|
|
|
33
33
|
href: Optional[StrictStr] = Field(default=None, description="Get href.")
|
|
34
34
|
created_at: datetime
|
|
35
35
|
updated_at: datetime
|
|
36
|
-
requires_ansible: Optional[
|
|
36
|
+
requires_ansible: Optional[StrictStr] = None
|
|
37
37
|
marks: Optional[List[StrictStr]] = Field(default=None, description="Get a list of mark values filtering only those in the current repo.")
|
|
38
38
|
__properties: ClassVar[List[str]] = ["version", "href", "created_at", "updated_at", "requires_ansible", "marks"]
|
|
39
39
|
|
|
@@ -68,11 +68,9 @@ class CollectionVersionListResponse(BaseModel):
|
|
|
68
68
|
were set at model initialization. Other fields with value `None`
|
|
69
69
|
are ignored.
|
|
70
70
|
* OpenAPI `readOnly` fields are excluded.
|
|
71
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
72
71
|
"""
|
|
73
72
|
excluded_fields: Set[str] = set([
|
|
74
73
|
"href",
|
|
75
|
-
"marks",
|
|
76
74
|
])
|
|
77
75
|
|
|
78
76
|
_dict = self.model_dump(
|
|
@@ -38,7 +38,7 @@ class CollectionVersionResponse(BaseModel):
|
|
|
38
38
|
href: Optional[StrictStr] = Field(default=None, description="Get href.")
|
|
39
39
|
created_at: datetime
|
|
40
40
|
updated_at: datetime
|
|
41
|
-
requires_ansible: Optional[
|
|
41
|
+
requires_ansible: Optional[StrictStr] = None
|
|
42
42
|
marks: Optional[List[StrictStr]] = Field(default=None, description="Get a list of mark values filtering only those in the current repo.")
|
|
43
43
|
artifact: Optional[ArtifactRefResponse] = None
|
|
44
44
|
collection: Optional[CollectionRefResponse] = None
|
|
@@ -94,11 +94,9 @@ class CollectionVersionResponse(BaseModel):
|
|
|
94
94
|
* OpenAPI `readOnly` fields are excluded.
|
|
95
95
|
* OpenAPI `readOnly` fields are excluded.
|
|
96
96
|
* OpenAPI `readOnly` fields are excluded.
|
|
97
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
98
97
|
"""
|
|
99
98
|
excluded_fields: Set[str] = set([
|
|
100
99
|
"href",
|
|
101
|
-
"marks",
|
|
102
100
|
"artifact",
|
|
103
101
|
"collection",
|
|
104
102
|
"download_url",
|
|
@@ -72,26 +72,6 @@ class PaginatedCollectionResponseListLinks(BaseModel):
|
|
|
72
72
|
exclude=excluded_fields,
|
|
73
73
|
exclude_none=True,
|
|
74
74
|
)
|
|
75
|
-
# set to None if first (nullable) is None
|
|
76
|
-
# and model_fields_set contains the field
|
|
77
|
-
if self.first is None and "first" in self.model_fields_set:
|
|
78
|
-
_dict['first'] = None
|
|
79
|
-
|
|
80
|
-
# set to None if previous (nullable) is None
|
|
81
|
-
# and model_fields_set contains the field
|
|
82
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
83
|
-
_dict['previous'] = None
|
|
84
|
-
|
|
85
|
-
# set to None if next (nullable) is None
|
|
86
|
-
# and model_fields_set contains the field
|
|
87
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
88
|
-
_dict['next'] = None
|
|
89
|
-
|
|
90
|
-
# set to None if last (nullable) is None
|
|
91
|
-
# and model_fields_set contains the field
|
|
92
|
-
if self.last is None and "last" in self.model_fields_set:
|
|
93
|
-
_dict['last'] = None
|
|
94
|
-
|
|
95
75
|
return _dict
|
|
96
76
|
|
|
97
77
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedGalaxyRoleResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedGalaxyRoleVersionResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ 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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedTagResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
pulpcore/client/pulp_ansible/models/paginatedansible_ansible_collection_deprecated_response_list.py
CHANGED
|
@@ -80,16 +80,6 @@ class PaginatedansibleAnsibleCollectionDeprecatedResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleAnsibleDistributionResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
pulpcore/client/pulp_ansible/models/paginatedansible_ansible_namespace_metadata_response_list.py
CHANGED
|
@@ -80,16 +80,6 @@ class PaginatedansibleAnsibleNamespaceMetadataResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleAnsibleRepositoryResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleCollectionRemoteResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleCollectionResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_mark_response_list.py
CHANGED
|
@@ -80,16 +80,6 @@ class PaginatedansibleCollectionVersionMarkResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleCollectionVersionResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_signature_response_list.py
CHANGED
|
@@ -80,16 +80,6 @@ class PaginatedansibleCollectionVersionSignatureResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleGitRemoteResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleRoleRemoteResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedansibleRoleResponseList(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
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -19,7 +19,7 @@ import re # noqa: F401
|
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
21
|
from datetime import datetime
|
|
22
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
23
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
24
|
from typing_extensions import Annotated
|
|
25
25
|
from typing import Optional, Set
|
|
@@ -32,7 +32,7 @@ class PatchedansibleAnsibleRepository(BaseModel):
|
|
|
32
32
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
33
33
|
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this repository.")
|
|
34
34
|
description: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="An optional description.")
|
|
35
|
-
retain_repo_versions: Optional[
|
|
35
|
+
retain_repo_versions: Optional[StrictInt] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
|
|
36
36
|
remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
|
|
37
37
|
last_synced_metadata_time: Optional[datetime] = Field(default=None, description="Last synced metadata time.")
|
|
38
38
|
gpgkey: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="Gpg public key to verify collection signatures against")
|
|
@@ -41,7 +41,7 @@ class PatchedansibleCollectionRemote(BaseModel):
|
|
|
41
41
|
username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
|
|
42
42
|
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.")
|
|
43
43
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
44
|
-
download_concurrency: Optional[
|
|
44
|
+
download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
|
|
45
45
|
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.")
|
|
46
46
|
policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.")
|
|
47
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.")
|
|
@@ -51,8 +51,8 @@ class PatchedansibleCollectionRemote(BaseModel):
|
|
|
51
51
|
headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
|
|
52
52
|
rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
|
|
53
53
|
requirements_file: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The string version of Collection requirements yaml.")
|
|
54
|
-
auth_url: Optional[Annotated[str, Field(min_length=1, strict=True
|
|
55
|
-
token: Optional[Annotated[str, Field(min_length=1, strict=True
|
|
54
|
+
auth_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The URL to receive a session token from, e.g. used with Automation Hub.")
|
|
55
|
+
token: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details")
|
|
56
56
|
sync_dependencies: Optional[StrictBool] = Field(default=None, description="Sync dependencies for collections specified via requirements file")
|
|
57
57
|
signed_only: Optional[StrictBool] = Field(default=None, description="Sync only collections that have a signature")
|
|
58
58
|
__properties: ClassVar[List[str]] = ["name", "url", "ca_cert", "client_cert", "client_key", "tls_validation", "proxy_url", "proxy_username", "proxy_password", "username", "password", "pulp_labels", "download_concurrency", "max_retries", "policy", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "rate_limit", "requirements_file", "auth_url", "token", "sync_dependencies", "signed_only"]
|