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.
Files changed (50) hide show
  1. {pulp_ansible_client-0.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/METADATA +1 -1
  2. {pulp_ansible_client-0.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/RECORD +50 -50
  3. pulpcore/client/pulp_ansible/__init__.py +1 -1
  4. pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +45 -45
  5. pulpcore/client/pulp_ansible/api_client.py +1 -1
  6. pulpcore/client/pulp_ansible/configuration.py +1 -1
  7. pulpcore/client/pulp_ansible/models/ansible_ansible_collection_deprecated_response.py +5 -1
  8. pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +2 -2
  9. pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +2 -5
  10. pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +3 -3
  11. pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +2 -4
  12. pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +13 -17
  13. pulpcore/client/pulp_ansible/models/ansible_collection_version_signature_response.py +5 -1
  14. pulpcore/client/pulp_ansible/models/ansible_git_remote.py +61 -61
  15. pulpcore/client/pulp_ansible/models/ansible_git_remote_response.py +49 -51
  16. pulpcore/client/pulp_ansible/models/ansible_role.py +3 -3
  17. pulpcore/client/pulp_ansible/models/ansible_role_remote.py +1 -1
  18. pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +1 -3
  19. pulpcore/client/pulp_ansible/models/ansible_role_response.py +13 -9
  20. pulpcore/client/pulp_ansible/models/collection_metadata_response.py +0 -8
  21. pulpcore/client/pulp_ansible/models/collection_summary_response.py +1 -5
  22. pulpcore/client/pulp_ansible/models/collection_version_list_response.py +1 -3
  23. pulpcore/client/pulp_ansible/models/collection_version_response.py +1 -3
  24. pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +0 -20
  25. pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +0 -10
  26. pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +0 -10
  27. pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +0 -10
  28. pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +0 -10
  29. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_collection_deprecated_response_list.py +0 -10
  30. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +0 -10
  31. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_namespace_metadata_response_list.py +0 -10
  32. pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +0 -10
  33. pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +0 -10
  34. pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +0 -10
  35. pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_mark_response_list.py +0 -10
  36. pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +0 -10
  37. pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_signature_response_list.py +0 -10
  38. pulpcore/client/pulp_ansible/models/paginatedansible_git_remote_response_list.py +0 -10
  39. pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +0 -10
  40. pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +0 -10
  41. pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +2 -2
  42. pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +3 -3
  43. pulpcore/client/pulp_ansible/models/patchedansible_git_remote.py +61 -61
  44. pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +1 -1
  45. pulpcore/client/pulp_ansible/models/repository.py +2 -2
  46. pulpcore/client/pulp_ansible/models/repository_response.py +2 -3
  47. pulpcore/client/pulp_ansible/models/repository_version_response.py +6 -2
  48. pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +1 -3
  49. {pulp_ansible_client-0.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/WHEEL +0 -0
  50. {pulp_ansible_client-0.27.1.dist-info → pulp_ansible_client-0.28.0.dist-info}/top_level.txt +0 -0
@@ -30,12 +30,13 @@ class AnsibleCollectionVersionResponse(BaseModel):
30
30
  """
31
31
  A serializer for CollectionVersion Content.
32
32
  """ # noqa: E501
33
- 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.")
34
- pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
35
33
  prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
36
- pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
34
+ pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
37
35
  pulp_href: Optional[StrictStr] = None
36
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
38
37
  artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
38
+ pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
39
+ vuln_report: Optional[StrictStr] = None
39
40
  sha256: Optional[StrictStr] = Field(default=None, description="The SHA-256 checksum if available.")
40
41
  md5: Optional[StrictStr] = Field(default=None, description="The MD5 checksum if available.")
41
42
  sha1: Optional[StrictStr] = Field(default=None, description="The SHA-1 checksum if available.")
@@ -59,8 +60,8 @@ class AnsibleCollectionVersionResponse(BaseModel):
59
60
  origin_repository: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(default=None, description="The URL of the originating SCM repository.")
60
61
  tags: Optional[List[CollectionSummaryResponseTagsInner]] = None
61
62
  version: Optional[Annotated[str, Field(strict=True, max_length=128)]] = Field(default=None, description="The version of the collection.")
62
- 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.")
63
- __properties: ClassVar[List[str]] = ["pulp_labels", "pulp_last_updated", "prn", "pulp_created", "pulp_href", "artifact", "sha256", "md5", "sha1", "sha224", "sha384", "sha512", "id", "authors", "contents", "dependencies", "description", "docs_blob", "manifest", "files", "documentation", "homepage", "issues", "license", "name", "namespace", "origin_repository", "tags", "version", "requires_ansible"]
63
+ requires_ansible: Optional[StrictStr] = Field(default=None, description="The version of Ansible required to use the collection. Multiple versions can be separated with a comma.")
64
+ __properties: ClassVar[List[str]] = ["prn", "pulp_last_updated", "pulp_href", "pulp_labels", "artifact", "pulp_created", "vuln_report", "sha256", "md5", "sha1", "sha224", "sha384", "sha512", "id", "authors", "contents", "dependencies", "description", "docs_blob", "manifest", "files", "documentation", "homepage", "issues", "license", "name", "namespace", "origin_repository", "tags", "version", "requires_ansible"]
64
65
 
65
66
  model_config = ConfigDict(
66
67
  populate_by_name=True,
@@ -117,15 +118,13 @@ class AnsibleCollectionVersionResponse(BaseModel):
117
118
  * OpenAPI `readOnly` fields are excluded.
118
119
  * OpenAPI `readOnly` fields are excluded.
119
120
  * OpenAPI `readOnly` fields are excluded.
120
- * OpenAPI `readOnly` fields are excluded.
121
- * OpenAPI `readOnly` fields are excluded.
122
- * OpenAPI `readOnly` fields are excluded.
123
121
  """
124
122
  excluded_fields: Set[str] = set([
125
- "pulp_last_updated",
126
123
  "prn",
127
- "pulp_created",
124
+ "pulp_last_updated",
128
125
  "pulp_href",
126
+ "pulp_created",
127
+ "vuln_report",
129
128
  "sha256",
130
129
  "md5",
131
130
  "sha1",
@@ -133,8 +132,6 @@ class AnsibleCollectionVersionResponse(BaseModel):
133
132
  "sha384",
134
133
  "sha512",
135
134
  "id",
136
- "authors",
137
- "contents",
138
135
  "dependencies",
139
136
  "description",
140
137
  "docs_blob",
@@ -143,11 +140,9 @@ class AnsibleCollectionVersionResponse(BaseModel):
143
140
  "documentation",
144
141
  "homepage",
145
142
  "issues",
146
- "license",
147
143
  "name",
148
144
  "namespace",
149
145
  "origin_repository",
150
- "tags",
151
146
  "version",
152
147
  "requires_ansible",
153
148
  ])
@@ -181,12 +176,13 @@ class AnsibleCollectionVersionResponse(BaseModel):
181
176
  return cls.model_validate(obj)
182
177
 
183
178
  _obj = cls.model_validate({
184
- "pulp_labels": obj.get("pulp_labels"),
185
- "pulp_last_updated": obj.get("pulp_last_updated"),
186
179
  "prn": obj.get("prn"),
187
- "pulp_created": obj.get("pulp_created"),
180
+ "pulp_last_updated": obj.get("pulp_last_updated"),
188
181
  "pulp_href": obj.get("pulp_href"),
182
+ "pulp_labels": obj.get("pulp_labels"),
189
183
  "artifact": obj.get("artifact"),
184
+ "pulp_created": obj.get("pulp_created"),
185
+ "vuln_report": obj.get("vuln_report"),
190
186
  "sha256": obj.get("sha256"),
191
187
  "md5": obj.get("md5"),
192
188
  "sha1": obj.get("sha1"),
@@ -33,10 +33,11 @@ class AnsibleCollectionVersionSignatureResponse(BaseModel):
33
33
  pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
34
34
  pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
35
35
  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
+ vuln_report: Optional[StrictStr] = None
36
37
  signed_collection: StrictStr = Field(description="The content this signature is pointing to.")
37
38
  pubkey_fingerprint: Optional[StrictStr] = Field(default=None, description="The fingerprint of the public key.")
38
39
  signing_service: Optional[StrictStr] = Field(default=None, description="The signing service used to create the signature.")
39
- __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "signed_collection", "pubkey_fingerprint", "signing_service"]
40
+ __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "vuln_report", "signed_collection", "pubkey_fingerprint", "signing_service"]
40
41
 
41
42
  model_config = ConfigDict(
42
43
  populate_by_name=True,
@@ -74,12 +75,14 @@ class AnsibleCollectionVersionSignatureResponse(BaseModel):
74
75
  * OpenAPI `readOnly` fields are excluded.
75
76
  * OpenAPI `readOnly` fields are excluded.
76
77
  * OpenAPI `readOnly` fields are excluded.
78
+ * OpenAPI `readOnly` fields are excluded.
77
79
  """
78
80
  excluded_fields: Set[str] = set([
79
81
  "pulp_href",
80
82
  "prn",
81
83
  "pulp_created",
82
84
  "pulp_last_updated",
85
+ "vuln_report",
83
86
  "pubkey_fingerprint",
84
87
  "signing_service",
85
88
  ])
@@ -111,6 +114,7 @@ class AnsibleCollectionVersionSignatureResponse(BaseModel):
111
114
  "pulp_created": obj.get("pulp_created"),
112
115
  "pulp_last_updated": obj.get("pulp_last_updated"),
113
116
  "pulp_labels": obj.get("pulp_labels"),
117
+ "vuln_report": obj.get("vuln_report"),
114
118
  "signed_collection": obj.get("signed_collection"),
115
119
  "pubkey_fingerprint": obj.get("pubkey_fingerprint"),
116
120
  "signing_service": obj.get("signing_service")
@@ -28,29 +28,29 @@ class AnsibleGitRemote(BaseModel):
28
28
  """
29
29
  A serializer for Git Collection Remotes.
30
30
  """ # noqa: E501
31
- 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.")
32
- 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.")
33
- rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
34
31
  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.")
35
- url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
36
32
  tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
33
+ 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.")
34
+ total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
35
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
36
+ username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
37
+ proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
37
38
  client_cert: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
38
39
  sock_connect_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
39
- name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
40
- 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.")
41
- client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
42
- pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
43
- 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.")
44
40
  headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
45
- total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
46
41
  max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
47
- 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
- proxy_url: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
49
42
  proxy_username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to authenticte to the proxy.")
50
- username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
43
+ rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
44
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
45
+ 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
+ client_key: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A PEM encoded private key used for authentication.")
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
+ name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this remote.")
49
+ url: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The URL of an external content source.")
50
+ 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.")
51
51
  metadata_only: Optional[StrictBool] = Field(default=None, description="If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.")
52
52
  git_ref: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A git ref. e.g.: branch, tag, or commit sha.")
53
- __properties: ClassVar[List[str]] = ["password", "download_concurrency", "rate_limit", "proxy_password", "url", "tls_validation", "client_cert", "sock_connect_timeout", "name", "connect_timeout", "client_key", "pulp_labels", "ca_cert", "headers", "total_timeout", "max_retries", "sock_read_timeout", "proxy_url", "proxy_username", "username", "metadata_only", "git_ref"]
53
+ __properties: ClassVar[List[str]] = ["proxy_password", "tls_validation", "password", "total_timeout", "download_concurrency", "username", "proxy_url", "client_cert", "sock_connect_timeout", "headers", "max_retries", "proxy_username", "rate_limit", "pulp_labels", "connect_timeout", "client_key", "sock_read_timeout", "name", "url", "ca_cert", "metadata_only", "git_ref"]
54
54
 
55
55
  model_config = ConfigDict(
56
56
  populate_by_name=True,
@@ -91,25 +91,35 @@ class AnsibleGitRemote(BaseModel):
91
91
  exclude=excluded_fields,
92
92
  exclude_none=True,
93
93
  )
94
+ # set to None if proxy_password (nullable) is None
95
+ # and model_fields_set contains the field
96
+ if self.proxy_password is None and "proxy_password" in self.model_fields_set:
97
+ _dict['proxy_password'] = None
98
+
94
99
  # set to None if password (nullable) is None
95
100
  # and model_fields_set contains the field
96
101
  if self.password is None and "password" in self.model_fields_set:
97
102
  _dict['password'] = None
98
103
 
104
+ # set to None if total_timeout (nullable) is None
105
+ # and model_fields_set contains the field
106
+ if self.total_timeout is None and "total_timeout" in self.model_fields_set:
107
+ _dict['total_timeout'] = None
108
+
99
109
  # set to None if download_concurrency (nullable) is None
100
110
  # and model_fields_set contains the field
101
111
  if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
102
112
  _dict['download_concurrency'] = None
103
113
 
104
- # set to None if rate_limit (nullable) is None
114
+ # set to None if username (nullable) is None
105
115
  # and model_fields_set contains the field
106
- if self.rate_limit is None and "rate_limit" in self.model_fields_set:
107
- _dict['rate_limit'] = None
116
+ if self.username is None and "username" in self.model_fields_set:
117
+ _dict['username'] = None
108
118
 
109
- # set to None if proxy_password (nullable) is None
119
+ # set to None if proxy_url (nullable) is None
110
120
  # and model_fields_set contains the field
111
- if self.proxy_password is None and "proxy_password" in self.model_fields_set:
112
- _dict['proxy_password'] = None
121
+ if self.proxy_url is None and "proxy_url" in self.model_fields_set:
122
+ _dict['proxy_url'] = None
113
123
 
114
124
  # set to None if client_cert (nullable) is None
115
125
  # and model_fields_set contains the field
@@ -121,50 +131,40 @@ class AnsibleGitRemote(BaseModel):
121
131
  if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
122
132
  _dict['sock_connect_timeout'] = None
123
133
 
124
- # set to None if connect_timeout (nullable) is None
134
+ # set to None if max_retries (nullable) is None
125
135
  # and model_fields_set contains the field
126
- if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
127
- _dict['connect_timeout'] = None
136
+ if self.max_retries is None and "max_retries" in self.model_fields_set:
137
+ _dict['max_retries'] = None
128
138
 
129
- # set to None if client_key (nullable) is None
139
+ # set to None if proxy_username (nullable) is None
130
140
  # and model_fields_set contains the field
131
- if self.client_key is None and "client_key" in self.model_fields_set:
132
- _dict['client_key'] = None
141
+ if self.proxy_username is None and "proxy_username" in self.model_fields_set:
142
+ _dict['proxy_username'] = None
133
143
 
134
- # set to None if ca_cert (nullable) is None
144
+ # set to None if rate_limit (nullable) is None
135
145
  # and model_fields_set contains the field
136
- if self.ca_cert is None and "ca_cert" in self.model_fields_set:
137
- _dict['ca_cert'] = None
146
+ if self.rate_limit is None and "rate_limit" in self.model_fields_set:
147
+ _dict['rate_limit'] = None
138
148
 
139
- # set to None if total_timeout (nullable) is None
149
+ # set to None if connect_timeout (nullable) is None
140
150
  # and model_fields_set contains the field
141
- if self.total_timeout is None and "total_timeout" in self.model_fields_set:
142
- _dict['total_timeout'] = None
151
+ if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
152
+ _dict['connect_timeout'] = None
143
153
 
144
- # set to None if max_retries (nullable) is None
154
+ # set to None if client_key (nullable) is None
145
155
  # and model_fields_set contains the field
146
- if self.max_retries is None and "max_retries" in self.model_fields_set:
147
- _dict['max_retries'] = None
156
+ if self.client_key is None and "client_key" in self.model_fields_set:
157
+ _dict['client_key'] = None
148
158
 
149
159
  # set to None if sock_read_timeout (nullable) is None
150
160
  # and model_fields_set contains the field
151
161
  if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
152
162
  _dict['sock_read_timeout'] = None
153
163
 
154
- # set to None if proxy_url (nullable) is None
155
- # and model_fields_set contains the field
156
- if self.proxy_url is None and "proxy_url" in self.model_fields_set:
157
- _dict['proxy_url'] = None
158
-
159
- # set to None if proxy_username (nullable) is None
160
- # and model_fields_set contains the field
161
- if self.proxy_username is None and "proxy_username" in self.model_fields_set:
162
- _dict['proxy_username'] = None
163
-
164
- # set to None if username (nullable) is None
164
+ # set to None if ca_cert (nullable) is None
165
165
  # and model_fields_set contains the field
166
- if self.username is None and "username" in self.model_fields_set:
167
- _dict['username'] = None
166
+ if self.ca_cert is None and "ca_cert" in self.model_fields_set:
167
+ _dict['ca_cert'] = None
168
168
 
169
169
  return _dict
170
170
 
@@ -178,26 +178,26 @@ class AnsibleGitRemote(BaseModel):
178
178
  return cls.model_validate(obj)
179
179
 
180
180
  _obj = cls.model_validate({
181
- "password": obj.get("password"),
182
- "download_concurrency": obj.get("download_concurrency"),
183
- "rate_limit": obj.get("rate_limit"),
184
181
  "proxy_password": obj.get("proxy_password"),
185
- "url": obj.get("url"),
186
182
  "tls_validation": obj.get("tls_validation"),
183
+ "password": obj.get("password"),
184
+ "total_timeout": obj.get("total_timeout"),
185
+ "download_concurrency": obj.get("download_concurrency"),
186
+ "username": obj.get("username"),
187
+ "proxy_url": obj.get("proxy_url"),
187
188
  "client_cert": obj.get("client_cert"),
188
189
  "sock_connect_timeout": obj.get("sock_connect_timeout"),
189
- "name": obj.get("name"),
190
- "connect_timeout": obj.get("connect_timeout"),
191
- "client_key": obj.get("client_key"),
192
- "pulp_labels": obj.get("pulp_labels"),
193
- "ca_cert": obj.get("ca_cert"),
194
190
  "headers": obj.get("headers"),
195
- "total_timeout": obj.get("total_timeout"),
196
191
  "max_retries": obj.get("max_retries"),
197
- "sock_read_timeout": obj.get("sock_read_timeout"),
198
- "proxy_url": obj.get("proxy_url"),
199
192
  "proxy_username": obj.get("proxy_username"),
200
- "username": obj.get("username"),
193
+ "rate_limit": obj.get("rate_limit"),
194
+ "pulp_labels": obj.get("pulp_labels"),
195
+ "connect_timeout": obj.get("connect_timeout"),
196
+ "client_key": obj.get("client_key"),
197
+ "sock_read_timeout": obj.get("sock_read_timeout"),
198
+ "name": obj.get("name"),
199
+ "url": obj.get("url"),
200
+ "ca_cert": obj.get("ca_cert"),
201
201
  "metadata_only": obj.get("metadata_only"),
202
202
  "git_ref": obj.get("git_ref")
203
203
  })
@@ -30,29 +30,29 @@ class AnsibleGitRemoteResponse(BaseModel):
30
30
  """
31
31
  A serializer for Git Collection Remotes.
32
32
  """ # noqa: E501
33
- pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the most recent update of the remote.")
34
- 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.")
35
- rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
36
- url: StrictStr = Field(description="The URL of an external content source.")
33
+ prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
37
34
  tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
38
- pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
35
+ 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.")
36
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
37
+ proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
39
38
  client_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded client certificate used for authentication.")
40
- pulp_href: Optional[StrictStr] = None
41
39
  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.")
42
- name: StrictStr = Field(description="A unique name for this remote.")
43
- 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.")
40
+ pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
44
41
  hidden_fields: Optional[List[AnsibleCollectionRemoteResponseHiddenFieldsInner]] = Field(default=None, description="List of hidden (write only) fields")
45
- pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
46
- ca_cert: Optional[StrictStr] = Field(default=None, description="A PEM encoded CA certificate used to validate the server certificate presented by the remote server.")
47
- prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
48
42
  headers: Optional[List[Dict[str, Any]]] = Field(default=None, description="Headers for aiohttp.Clientsession")
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.")
43
+ pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the most recent update of the remote.")
50
44
  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.")
45
+ pulp_href: Optional[StrictStr] = None
46
+ rate_limit: Optional[StrictInt] = Field(default=None, description="Limits requests per second for each concurrent downloader")
47
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
48
+ 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.")
51
49
  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.")
52
- proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
50
+ name: StrictStr = Field(description="A unique name for this remote.")
51
+ url: StrictStr = Field(description="The URL of an external content source.")
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
53
  metadata_only: Optional[StrictBool] = Field(default=None, description="If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.")
54
54
  git_ref: Optional[StrictStr] = Field(default=None, description="A git ref. e.g.: branch, tag, or commit sha.")
55
- __properties: ClassVar[List[str]] = ["pulp_last_updated", "download_concurrency", "rate_limit", "url", "tls_validation", "pulp_created", "client_cert", "pulp_href", "sock_connect_timeout", "name", "connect_timeout", "hidden_fields", "pulp_labels", "ca_cert", "prn", "headers", "total_timeout", "max_retries", "sock_read_timeout", "proxy_url", "metadata_only", "git_ref"]
55
+ __properties: ClassVar[List[str]] = ["prn", "tls_validation", "total_timeout", "download_concurrency", "proxy_url", "client_cert", "sock_connect_timeout", "pulp_created", "hidden_fields", "headers", "pulp_last_updated", "max_retries", "pulp_href", "rate_limit", "pulp_labels", "connect_timeout", "sock_read_timeout", "name", "url", "ca_cert", "metadata_only", "git_ref"]
56
56
 
57
57
  model_config = ConfigDict(
58
58
  populate_by_name=True,
@@ -88,14 +88,12 @@ class AnsibleGitRemoteResponse(BaseModel):
88
88
  * OpenAPI `readOnly` fields are excluded.
89
89
  * OpenAPI `readOnly` fields are excluded.
90
90
  * OpenAPI `readOnly` fields are excluded.
91
- * OpenAPI `readOnly` fields are excluded.
92
91
  """
93
92
  excluded_fields: Set[str] = set([
94
- "pulp_last_updated",
93
+ "prn",
95
94
  "pulp_created",
95
+ "pulp_last_updated",
96
96
  "pulp_href",
97
- "hidden_fields",
98
- "prn",
99
97
  ])
100
98
 
101
99
  _dict = self.model_dump(
@@ -110,15 +108,20 @@ class AnsibleGitRemoteResponse(BaseModel):
110
108
  if _item_hidden_fields:
111
109
  _items.append(_item_hidden_fields.to_dict())
112
110
  _dict['hidden_fields'] = _items
111
+ # set to None if total_timeout (nullable) is None
112
+ # and model_fields_set contains the field
113
+ if self.total_timeout is None and "total_timeout" in self.model_fields_set:
114
+ _dict['total_timeout'] = None
115
+
113
116
  # set to None if download_concurrency (nullable) is None
114
117
  # and model_fields_set contains the field
115
118
  if self.download_concurrency is None and "download_concurrency" in self.model_fields_set:
116
119
  _dict['download_concurrency'] = None
117
120
 
118
- # set to None if rate_limit (nullable) is None
121
+ # set to None if proxy_url (nullable) is None
119
122
  # and model_fields_set contains the field
120
- if self.rate_limit is None and "rate_limit" in self.model_fields_set:
121
- _dict['rate_limit'] = None
123
+ if self.proxy_url is None and "proxy_url" in self.model_fields_set:
124
+ _dict['proxy_url'] = None
122
125
 
123
126
  # set to None if client_cert (nullable) is None
124
127
  # and model_fields_set contains the field
@@ -130,35 +133,30 @@ class AnsibleGitRemoteResponse(BaseModel):
130
133
  if self.sock_connect_timeout is None and "sock_connect_timeout" in self.model_fields_set:
131
134
  _dict['sock_connect_timeout'] = None
132
135
 
133
- # set to None if connect_timeout (nullable) is None
134
- # and model_fields_set contains the field
135
- if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
136
- _dict['connect_timeout'] = None
137
-
138
- # set to None if ca_cert (nullable) is None
136
+ # set to None if max_retries (nullable) is None
139
137
  # and model_fields_set contains the field
140
- if self.ca_cert is None and "ca_cert" in self.model_fields_set:
141
- _dict['ca_cert'] = None
138
+ if self.max_retries is None and "max_retries" in self.model_fields_set:
139
+ _dict['max_retries'] = None
142
140
 
143
- # set to None if total_timeout (nullable) is None
141
+ # set to None if rate_limit (nullable) is None
144
142
  # and model_fields_set contains the field
145
- if self.total_timeout is None and "total_timeout" in self.model_fields_set:
146
- _dict['total_timeout'] = None
143
+ if self.rate_limit is None and "rate_limit" in self.model_fields_set:
144
+ _dict['rate_limit'] = None
147
145
 
148
- # set to None if max_retries (nullable) is None
146
+ # set to None if connect_timeout (nullable) is None
149
147
  # and model_fields_set contains the field
150
- if self.max_retries is None and "max_retries" in self.model_fields_set:
151
- _dict['max_retries'] = None
148
+ if self.connect_timeout is None and "connect_timeout" in self.model_fields_set:
149
+ _dict['connect_timeout'] = None
152
150
 
153
151
  # set to None if sock_read_timeout (nullable) is None
154
152
  # and model_fields_set contains the field
155
153
  if self.sock_read_timeout is None and "sock_read_timeout" in self.model_fields_set:
156
154
  _dict['sock_read_timeout'] = None
157
155
 
158
- # set to None if proxy_url (nullable) is None
156
+ # set to None if ca_cert (nullable) is None
159
157
  # and model_fields_set contains the field
160
- if self.proxy_url is None and "proxy_url" in self.model_fields_set:
161
- _dict['proxy_url'] = None
158
+ if self.ca_cert is None and "ca_cert" in self.model_fields_set:
159
+ _dict['ca_cert'] = None
162
160
 
163
161
  return _dict
164
162
 
@@ -172,26 +170,26 @@ class AnsibleGitRemoteResponse(BaseModel):
172
170
  return cls.model_validate(obj)
173
171
 
174
172
  _obj = cls.model_validate({
175
- "pulp_last_updated": obj.get("pulp_last_updated"),
176
- "download_concurrency": obj.get("download_concurrency"),
177
- "rate_limit": obj.get("rate_limit"),
178
- "url": obj.get("url"),
173
+ "prn": obj.get("prn"),
179
174
  "tls_validation": obj.get("tls_validation"),
180
- "pulp_created": obj.get("pulp_created"),
175
+ "total_timeout": obj.get("total_timeout"),
176
+ "download_concurrency": obj.get("download_concurrency"),
177
+ "proxy_url": obj.get("proxy_url"),
181
178
  "client_cert": obj.get("client_cert"),
182
- "pulp_href": obj.get("pulp_href"),
183
179
  "sock_connect_timeout": obj.get("sock_connect_timeout"),
184
- "name": obj.get("name"),
185
- "connect_timeout": obj.get("connect_timeout"),
180
+ "pulp_created": obj.get("pulp_created"),
186
181
  "hidden_fields": [AnsibleCollectionRemoteResponseHiddenFieldsInner.from_dict(_item) for _item in obj["hidden_fields"]] if obj.get("hidden_fields") is not None else None,
187
- "pulp_labels": obj.get("pulp_labels"),
188
- "ca_cert": obj.get("ca_cert"),
189
- "prn": obj.get("prn"),
190
182
  "headers": obj.get("headers"),
191
- "total_timeout": obj.get("total_timeout"),
183
+ "pulp_last_updated": obj.get("pulp_last_updated"),
192
184
  "max_retries": obj.get("max_retries"),
185
+ "pulp_href": obj.get("pulp_href"),
186
+ "rate_limit": obj.get("rate_limit"),
187
+ "pulp_labels": obj.get("pulp_labels"),
188
+ "connect_timeout": obj.get("connect_timeout"),
193
189
  "sock_read_timeout": obj.get("sock_read_timeout"),
194
- "proxy_url": obj.get("proxy_url"),
190
+ "name": obj.get("name"),
191
+ "url": obj.get("url"),
192
+ "ca_cert": obj.get("ca_cert"),
195
193
  "metadata_only": obj.get("metadata_only"),
196
194
  "git_ref": obj.get("git_ref")
197
195
  })
@@ -28,13 +28,13 @@ class AnsibleRole(BaseModel):
28
28
  """
29
29
  A serializer for Role versions.
30
30
  """ # noqa: E501
31
- pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
32
31
  repository: Optional[StrictStr] = Field(default=None, description="A URI of a repository the new content unit should be associated with.")
32
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
33
33
  artifact: StrictStr = Field(description="Artifact file representing the physical content")
34
34
  version: Annotated[str, Field(min_length=1, strict=True)]
35
35
  name: Annotated[str, Field(min_length=1, strict=True)]
36
36
  namespace: Annotated[str, Field(min_length=1, strict=True)]
37
- __properties: ClassVar[List[str]] = ["pulp_labels", "repository", "artifact", "version", "name", "namespace"]
37
+ __properties: ClassVar[List[str]] = ["repository", "pulp_labels", "artifact", "version", "name", "namespace"]
38
38
 
39
39
  model_config = ConfigDict(
40
40
  populate_by_name=True,
@@ -87,8 +87,8 @@ class AnsibleRole(BaseModel):
87
87
  return cls.model_validate(obj)
88
88
 
89
89
  _obj = cls.model_validate({
90
- "pulp_labels": obj.get("pulp_labels"),
91
90
  "repository": obj.get("repository"),
91
+ "pulp_labels": obj.get("pulp_labels"),
92
92
  "artifact": obj.get("artifact"),
93
93
  "version": obj.get("version"),
94
94
  "name": obj.get("name"),
@@ -41,7 +41,7 @@ class AnsibleRoleRemote(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[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.")
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.")
@@ -42,7 +42,7 @@ class AnsibleRoleRemoteResponse(BaseModel):
42
42
  tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
43
43
  proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
44
44
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
45
- 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
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
46
46
  max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
47
47
  policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now.")
48
48
  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.")
@@ -88,14 +88,12 @@ class AnsibleRoleRemoteResponse(BaseModel):
88
88
  * OpenAPI `readOnly` fields are excluded.
89
89
  * OpenAPI `readOnly` fields are excluded.
90
90
  * OpenAPI `readOnly` fields are excluded.
91
- * OpenAPI `readOnly` fields are excluded.
92
91
  """
93
92
  excluded_fields: Set[str] = set([
94
93
  "pulp_href",
95
94
  "prn",
96
95
  "pulp_created",
97
96
  "pulp_last_updated",
98
- "hidden_fields",
99
97
  ])
100
98
 
101
99
  _dict = self.model_dump(
@@ -28,16 +28,17 @@ class AnsibleRoleResponse(BaseModel):
28
28
  """
29
29
  A serializer for Role versions.
30
30
  """ # noqa: E501
31
- pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
32
- 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.")
33
31
  prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
34
- pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
32
+ 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
33
  pulp_href: Optional[StrictStr] = None
34
+ pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
36
35
  artifact: StrictStr = Field(description="Artifact file representing the physical content")
36
+ pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
37
+ vuln_report: Optional[StrictStr] = None
37
38
  version: StrictStr
38
39
  name: StrictStr
39
40
  namespace: StrictStr
40
- __properties: ClassVar[List[str]] = ["pulp_labels", "pulp_last_updated", "prn", "pulp_created", "pulp_href", "artifact", "version", "name", "namespace"]
41
+ __properties: ClassVar[List[str]] = ["prn", "pulp_last_updated", "pulp_href", "pulp_labels", "artifact", "pulp_created", "vuln_report", "version", "name", "namespace"]
41
42
 
42
43
  model_config = ConfigDict(
43
44
  populate_by_name=True,
@@ -73,12 +74,14 @@ class AnsibleRoleResponse(BaseModel):
73
74
  * OpenAPI `readOnly` fields are excluded.
74
75
  * OpenAPI `readOnly` fields are excluded.
75
76
  * OpenAPI `readOnly` fields are excluded.
77
+ * OpenAPI `readOnly` fields are excluded.
76
78
  """
77
79
  excluded_fields: Set[str] = set([
78
- "pulp_last_updated",
79
80
  "prn",
80
- "pulp_created",
81
+ "pulp_last_updated",
81
82
  "pulp_href",
83
+ "pulp_created",
84
+ "vuln_report",
82
85
  ])
83
86
 
84
87
  _dict = self.model_dump(
@@ -98,12 +101,13 @@ class AnsibleRoleResponse(BaseModel):
98
101
  return cls.model_validate(obj)
99
102
 
100
103
  _obj = cls.model_validate({
101
- "pulp_labels": obj.get("pulp_labels"),
102
- "pulp_last_updated": obj.get("pulp_last_updated"),
103
104
  "prn": obj.get("prn"),
104
- "pulp_created": obj.get("pulp_created"),
105
+ "pulp_last_updated": obj.get("pulp_last_updated"),
105
106
  "pulp_href": obj.get("pulp_href"),
107
+ "pulp_labels": obj.get("pulp_labels"),
106
108
  "artifact": obj.get("artifact"),
109
+ "pulp_created": obj.get("pulp_created"),
110
+ "vuln_report": obj.get("vuln_report"),
107
111
  "version": obj.get("version"),
108
112
  "name": obj.get("name"),
109
113
  "namespace": obj.get("namespace")