pulp_ansible_client 0.22.0 → 0.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +7 -5
- data/docs/AnsibleCollectionVersionResponse.md +11 -9
- data/docs/AnsibleCollectionVersionSignature.md +2 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +5 -3
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +25 -23
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleRemoteResponse.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +11 -9
- data/docs/ContentCollectionMarksApi.md +11 -9
- data/docs/ContentCollectionSignaturesApi.md +14 -10
- data/docs/ContentCollectionVersionsApi.md +15 -11
- data/docs/ContentNamespacesApi.md +11 -9
- data/docs/ContentRolesApi.md +11 -9
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +5 -3
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +5 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +9 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +5 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -3
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +9 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +5 -3
- data/docs/RemotesGitApi.md +5 -3
- data/docs/RemotesRoleApi.md +5 -3
- data/docs/RepositoriesAnsibleApi.md +9 -7
- data/docs/RepositoriesAnsibleVersionsApi.md +9 -7
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb → api_plugin_ansible_search_collection_versions_api.rb} +26 -24
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +18 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +22 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_roles_api.rb +11 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +5 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +9 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -7
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +31 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +43 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -23
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +26 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -131
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +31 -21
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +28 -18
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +1 -16
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/repository.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +12 -2
- data/lib/pulp_ansible_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -1
- data/spec/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb → api_plugin_ansible_search_collection_versions_api_spec.rb} +9 -8
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -4
- data/spec/api/content_collection_marks_api_spec.rb +5 -4
- data/spec/api/content_collection_signatures_api_spec.rb +6 -4
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -4
- data/spec/api/content_roles_api_spec.rb +5 -4
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
- data/spec/api/remotes_collection_api_spec.rb +2 -1
- data/spec/api/remotes_git_api_spec.rb +2 -1
- data/spec/api/remotes_role_api_spec.rb +2 -1
- data/spec/api/repositories_ansible_api_spec.rb +4 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +9 -3
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +9 -3
- data/spec/models/ansible_git_remote_response_spec.rb +22 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +9 -3
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_version_search_list_spec.rb +0 -6
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +140 -140
@@ -17,6 +17,9 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleRoleRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -77,6 +80,7 @@ module PulpAnsibleClient
|
|
77
80
|
def self.attribute_map
|
78
81
|
{
|
79
82
|
:'pulp_href' => :'pulp_href',
|
83
|
+
:'prn' => :'prn',
|
80
84
|
:'pulp_created' => :'pulp_created',
|
81
85
|
:'pulp_last_updated' => :'pulp_last_updated',
|
82
86
|
:'name' => :'name',
|
@@ -103,6 +107,7 @@ module PulpAnsibleClient
|
|
103
107
|
def self.openapi_types
|
104
108
|
{
|
105
109
|
:'pulp_href' => :'String',
|
110
|
+
:'prn' => :'String',
|
106
111
|
:'pulp_created' => :'DateTime',
|
107
112
|
:'pulp_last_updated' => :'DateTime',
|
108
113
|
:'name' => :'String',
|
@@ -160,6 +165,10 @@ module PulpAnsibleClient
|
|
160
165
|
self.pulp_href = attributes[:'pulp_href']
|
161
166
|
end
|
162
167
|
|
168
|
+
if attributes.key?(:'prn')
|
169
|
+
self.prn = attributes[:'prn']
|
170
|
+
end
|
171
|
+
|
163
172
|
if attributes.key?(:'pulp_created')
|
164
173
|
self.pulp_created = attributes[:'pulp_created']
|
165
174
|
end
|
@@ -259,20 +268,20 @@ module PulpAnsibleClient
|
|
259
268
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
260
269
|
end
|
261
270
|
|
262
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
263
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
271
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
272
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
264
273
|
end
|
265
274
|
|
266
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
267
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
275
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
276
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
268
277
|
end
|
269
278
|
|
270
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
271
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
279
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
280
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
272
281
|
end
|
273
282
|
|
274
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
275
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
283
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
284
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
276
285
|
end
|
277
286
|
|
278
287
|
invalid_properties
|
@@ -284,10 +293,10 @@ module PulpAnsibleClient
|
|
284
293
|
return false if @name.nil?
|
285
294
|
return false if @url.nil?
|
286
295
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
287
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
288
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
289
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
290
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
296
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
297
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
298
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
299
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
291
300
|
true
|
292
301
|
end
|
293
302
|
|
@@ -304,8 +313,8 @@ module PulpAnsibleClient
|
|
304
313
|
# Custom attribute writer method with validation
|
305
314
|
# @param [Object] total_timeout Value to be assigned
|
306
315
|
def total_timeout=(total_timeout)
|
307
|
-
if !total_timeout.nil? && total_timeout < 0
|
308
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
316
|
+
if !total_timeout.nil? && total_timeout < 0
|
317
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
309
318
|
end
|
310
319
|
|
311
320
|
@total_timeout = total_timeout
|
@@ -314,8 +323,8 @@ module PulpAnsibleClient
|
|
314
323
|
# Custom attribute writer method with validation
|
315
324
|
# @param [Object] connect_timeout Value to be assigned
|
316
325
|
def connect_timeout=(connect_timeout)
|
317
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
318
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
326
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
327
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
319
328
|
end
|
320
329
|
|
321
330
|
@connect_timeout = connect_timeout
|
@@ -324,8 +333,8 @@ module PulpAnsibleClient
|
|
324
333
|
# Custom attribute writer method with validation
|
325
334
|
# @param [Object] sock_connect_timeout Value to be assigned
|
326
335
|
def sock_connect_timeout=(sock_connect_timeout)
|
327
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
328
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
336
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
337
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
329
338
|
end
|
330
339
|
|
331
340
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -334,8 +343,8 @@ module PulpAnsibleClient
|
|
334
343
|
# Custom attribute writer method with validation
|
335
344
|
# @param [Object] sock_read_timeout Value to be assigned
|
336
345
|
def sock_read_timeout=(sock_read_timeout)
|
337
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
338
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
346
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
347
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
339
348
|
end
|
340
349
|
|
341
350
|
@sock_read_timeout = sock_read_timeout
|
@@ -347,6 +356,7 @@ module PulpAnsibleClient
|
|
347
356
|
return true if self.equal?(o)
|
348
357
|
self.class == o.class &&
|
349
358
|
pulp_href == o.pulp_href &&
|
359
|
+
prn == o.prn &&
|
350
360
|
pulp_created == o.pulp_created &&
|
351
361
|
pulp_last_updated == o.pulp_last_updated &&
|
352
362
|
name == o.name &&
|
@@ -377,7 +387,7 @@ module PulpAnsibleClient
|
|
377
387
|
# Calculates hash code according to all attributes.
|
378
388
|
# @return [Integer] Hash code
|
379
389
|
def hash
|
380
|
-
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
390
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
381
391
|
end
|
382
392
|
|
383
393
|
# Builds the object from hash
|
@@ -15,16 +15,19 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
-
# Timestamp of
|
19
|
-
attr_accessor :
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
|
+
|
21
|
+
# The Pulp Resource Name (PRN).
|
22
|
+
attr_accessor :prn
|
20
23
|
|
21
24
|
# Artifact file representing the physical content
|
22
25
|
attr_accessor :artifact
|
23
26
|
|
24
|
-
|
27
|
+
# 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.
|
28
|
+
attr_accessor :pulp_last_updated
|
25
29
|
|
26
|
-
|
27
|
-
attr_accessor :pulp_created
|
30
|
+
attr_accessor :pulp_href
|
28
31
|
|
29
32
|
attr_accessor :version
|
30
33
|
|
@@ -35,10 +38,11 @@ module PulpAnsibleClient
|
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
38
|
-
:'
|
41
|
+
:'pulp_created' => :'pulp_created',
|
42
|
+
:'prn' => :'prn',
|
39
43
|
:'artifact' => :'artifact',
|
44
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
40
45
|
:'pulp_href' => :'pulp_href',
|
41
|
-
:'pulp_created' => :'pulp_created',
|
42
46
|
:'version' => :'version',
|
43
47
|
:'name' => :'name',
|
44
48
|
:'namespace' => :'namespace'
|
@@ -48,10 +52,11 @@ module PulpAnsibleClient
|
|
48
52
|
# Attribute type mapping.
|
49
53
|
def self.openapi_types
|
50
54
|
{
|
51
|
-
:'
|
55
|
+
:'pulp_created' => :'DateTime',
|
56
|
+
:'prn' => :'String',
|
52
57
|
:'artifact' => :'String',
|
58
|
+
:'pulp_last_updated' => :'DateTime',
|
53
59
|
:'pulp_href' => :'String',
|
54
|
-
:'pulp_created' => :'DateTime',
|
55
60
|
:'version' => :'String',
|
56
61
|
:'name' => :'String',
|
57
62
|
:'namespace' => :'String'
|
@@ -79,20 +84,24 @@ module PulpAnsibleClient
|
|
79
84
|
h[k.to_sym] = v
|
80
85
|
}
|
81
86
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
87
|
+
if attributes.key?(:'pulp_created')
|
88
|
+
self.pulp_created = attributes[:'pulp_created']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.key?(:'prn')
|
92
|
+
self.prn = attributes[:'prn']
|
84
93
|
end
|
85
94
|
|
86
95
|
if attributes.key?(:'artifact')
|
87
96
|
self.artifact = attributes[:'artifact']
|
88
97
|
end
|
89
98
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
99
|
+
if attributes.key?(:'pulp_last_updated')
|
100
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
92
101
|
end
|
93
102
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
103
|
+
if attributes.key?(:'pulp_href')
|
104
|
+
self.pulp_href = attributes[:'pulp_href']
|
96
105
|
end
|
97
106
|
|
98
107
|
if attributes.key?(:'version')
|
@@ -146,10 +155,11 @@ module PulpAnsibleClient
|
|
146
155
|
def ==(o)
|
147
156
|
return true if self.equal?(o)
|
148
157
|
self.class == o.class &&
|
149
|
-
|
158
|
+
pulp_created == o.pulp_created &&
|
159
|
+
prn == o.prn &&
|
150
160
|
artifact == o.artifact &&
|
161
|
+
pulp_last_updated == o.pulp_last_updated &&
|
151
162
|
pulp_href == o.pulp_href &&
|
152
|
-
pulp_created == o.pulp_created &&
|
153
163
|
version == o.version &&
|
154
164
|
name == o.name &&
|
155
165
|
namespace == o.namespace
|
@@ -164,7 +174,7 @@ module PulpAnsibleClient
|
|
164
174
|
# Calculates hash code according to all attributes.
|
165
175
|
# @return [Integer] Hash code
|
166
176
|
def hash
|
167
|
-
[
|
177
|
+
[pulp_created, prn, artifact, pulp_last_updated, pulp_href, version, name, namespace].hash
|
168
178
|
end
|
169
179
|
|
170
180
|
# Builds the object from hash
|
@@ -68,8 +68,8 @@ module PulpAnsibleClient
|
|
68
68
|
:'version' => :'String',
|
69
69
|
:'requires_ansible' => :'String',
|
70
70
|
:'pulp_created' => :'DateTime',
|
71
|
-
:'contents' => :'
|
72
|
-
:'dependencies' => :'
|
71
|
+
:'contents' => :'Object',
|
72
|
+
:'dependencies' => :'Object',
|
73
73
|
:'description' => :'String',
|
74
74
|
:'tags' => :'Array<AnsibleTagResponse>'
|
75
75
|
}
|
@@ -97,8 +97,8 @@ module PulpAnsibleClient
|
|
97
97
|
:'metadata' => :'CollectionMetadataResponse',
|
98
98
|
:'git_url' => :'String',
|
99
99
|
:'git_commit_sha' => :'String',
|
100
|
-
:'manifest' => :'
|
101
|
-
:'files' => :'
|
100
|
+
:'manifest' => :'Object',
|
101
|
+
:'files' => :'Object'
|
102
102
|
}
|
103
103
|
end
|
104
104
|
|
@@ -17,9 +17,6 @@ module PulpAnsibleClient
|
|
17
17
|
class CollectionVersionSearchList
|
18
18
|
attr_accessor :repository
|
19
19
|
|
20
|
-
# Collection Version serializer without docs blob.
|
21
|
-
attr_accessor :collection_version
|
22
|
-
|
23
20
|
attr_accessor :namespace_metadata
|
24
21
|
|
25
22
|
attr_accessor :is_highest
|
@@ -32,7 +29,6 @@ module PulpAnsibleClient
|
|
32
29
|
def self.attribute_map
|
33
30
|
{
|
34
31
|
:'repository' => :'repository',
|
35
|
-
:'collection_version' => :'collection_version',
|
36
32
|
:'namespace_metadata' => :'namespace_metadata',
|
37
33
|
:'is_highest' => :'is_highest',
|
38
34
|
:'is_deprecated' => :'is_deprecated',
|
@@ -44,7 +40,6 @@ module PulpAnsibleClient
|
|
44
40
|
def self.openapi_types
|
45
41
|
{
|
46
42
|
:'repository' => :'Repository',
|
47
|
-
:'collection_version' => :'Object',
|
48
43
|
:'namespace_metadata' => :'AnsibleAnsibleNamespaceMetadata',
|
49
44
|
:'is_highest' => :'Boolean',
|
50
45
|
:'is_deprecated' => :'Boolean',
|
@@ -78,10 +73,6 @@ module PulpAnsibleClient
|
|
78
73
|
self.repository = attributes[:'repository']
|
79
74
|
end
|
80
75
|
|
81
|
-
if attributes.key?(:'collection_version')
|
82
|
-
self.collection_version = attributes[:'collection_version']
|
83
|
-
end
|
84
|
-
|
85
76
|
if attributes.key?(:'namespace_metadata')
|
86
77
|
self.namespace_metadata = attributes[:'namespace_metadata']
|
87
78
|
end
|
@@ -107,10 +98,6 @@ module PulpAnsibleClient
|
|
107
98
|
invalid_properties.push('invalid value for "repository", repository cannot be nil.')
|
108
99
|
end
|
109
100
|
|
110
|
-
if @collection_version.nil?
|
111
|
-
invalid_properties.push('invalid value for "collection_version", collection_version cannot be nil.')
|
112
|
-
end
|
113
|
-
|
114
101
|
if @is_highest.nil?
|
115
102
|
invalid_properties.push('invalid value for "is_highest", is_highest cannot be nil.')
|
116
103
|
end
|
@@ -130,7 +117,6 @@ module PulpAnsibleClient
|
|
130
117
|
# @return true if the model is valid
|
131
118
|
def valid?
|
132
119
|
return false if @repository.nil?
|
133
|
-
return false if @collection_version.nil?
|
134
120
|
return false if @is_highest.nil?
|
135
121
|
return false if @is_deprecated.nil?
|
136
122
|
return false if @is_signed.nil?
|
@@ -143,7 +129,6 @@ module PulpAnsibleClient
|
|
143
129
|
return true if self.equal?(o)
|
144
130
|
self.class == o.class &&
|
145
131
|
repository == o.repository &&
|
146
|
-
collection_version == o.collection_version &&
|
147
132
|
namespace_metadata == o.namespace_metadata &&
|
148
133
|
is_highest == o.is_highest &&
|
149
134
|
is_deprecated == o.is_deprecated &&
|
@@ -159,7 +144,7 @@ module PulpAnsibleClient
|
|
159
144
|
# Calculates hash code according to all attributes.
|
160
145
|
# @return [Integer] Hash code
|
161
146
|
def hash
|
162
|
-
[repository,
|
147
|
+
[repository, namespace_metadata, is_highest, is_deprecated, is_signed].hash
|
163
148
|
end
|
164
149
|
|
165
150
|
# Builds the object from hash
|
@@ -356,20 +356,20 @@ module PulpAnsibleClient
|
|
356
356
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
357
357
|
end
|
358
358
|
|
359
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
360
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
359
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
360
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
361
361
|
end
|
362
362
|
|
363
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
364
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
363
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
364
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
365
365
|
end
|
366
366
|
|
367
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
368
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
367
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
368
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
369
369
|
end
|
370
370
|
|
371
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
372
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
371
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
372
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
373
373
|
end
|
374
374
|
|
375
375
|
if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
@@ -409,10 +409,10 @@ module PulpAnsibleClient
|
|
409
409
|
return false if !@username.nil? && @username.to_s.length < 1
|
410
410
|
return false if !@password.nil? && @password.to_s.length < 1
|
411
411
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
412
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
413
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
414
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
415
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
412
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
413
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
414
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
415
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
416
416
|
return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
417
417
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
418
418
|
return false if !@auth_url.nil? && @auth_url.to_s.length < 1
|
@@ -534,8 +534,8 @@ module PulpAnsibleClient
|
|
534
534
|
# Custom attribute writer method with validation
|
535
535
|
# @param [Object] total_timeout Value to be assigned
|
536
536
|
def total_timeout=(total_timeout)
|
537
|
-
if !total_timeout.nil? && total_timeout < 0
|
538
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
537
|
+
if !total_timeout.nil? && total_timeout < 0
|
538
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
539
539
|
end
|
540
540
|
|
541
541
|
@total_timeout = total_timeout
|
@@ -544,8 +544,8 @@ module PulpAnsibleClient
|
|
544
544
|
# Custom attribute writer method with validation
|
545
545
|
# @param [Object] connect_timeout Value to be assigned
|
546
546
|
def connect_timeout=(connect_timeout)
|
547
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
548
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
547
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
548
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
549
549
|
end
|
550
550
|
|
551
551
|
@connect_timeout = connect_timeout
|
@@ -554,8 +554,8 @@ module PulpAnsibleClient
|
|
554
554
|
# Custom attribute writer method with validation
|
555
555
|
# @param [Object] sock_connect_timeout Value to be assigned
|
556
556
|
def sock_connect_timeout=(sock_connect_timeout)
|
557
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
558
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
557
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
558
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
559
559
|
end
|
560
560
|
|
561
561
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -564,8 +564,8 @@ module PulpAnsibleClient
|
|
564
564
|
# Custom attribute writer method with validation
|
565
565
|
# @param [Object] sock_read_timeout Value to be assigned
|
566
566
|
def sock_read_timeout=(sock_read_timeout)
|
567
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
568
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
567
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
568
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
569
569
|
end
|
570
570
|
|
571
571
|
@sock_read_timeout = sock_read_timeout
|