pulp_ansible_client 0.16.3 → 0.16.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -8
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +3 -7
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +3 -7
- data/docs/ContentCollectionSignaturesApi.md +3 -7
- data/docs/ContentCollectionVersionsApi.md +5 -9
- data/docs/ContentRolesApi.md +3 -7
- data/docs/DistributionsAnsibleApi.md +3 -11
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.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 +3 -7
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- 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 +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +3 -7
- data/docs/RemotesGitApi.md +3 -7
- data/docs/RemotesRoleApi.md +3 -7
- data/docs/RepositoriesAnsibleApi.md +3 -23
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -5
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -11
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +2 -14
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +2 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +2 -32
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +236 -236
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +161 -161
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +1 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +2 -4
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +1 -5
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/remotes_collection_api_spec.rb +1 -3
- data/spec/api/remotes_git_api_spec.rb +1 -3
- data/spec/api/remotes_role_api_spec.rb +1 -3
- data/spec/api/repositories_ansible_api_spec.rb +1 -11
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +117 -117
@@ -49,7 +49,7 @@ module PulpAnsibleClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content.
|
52
|
+
# The policy to use when downloading content.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -259,20 +259,20 @@ module PulpAnsibleClient
|
|
259
259
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
260
260
|
end
|
261
261
|
|
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.
|
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.')
|
264
264
|
end
|
265
265
|
|
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.
|
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.')
|
268
268
|
end
|
269
269
|
|
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.
|
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.')
|
272
272
|
end
|
273
273
|
|
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.
|
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.')
|
276
276
|
end
|
277
277
|
|
278
278
|
invalid_properties
|
@@ -284,10 +284,10 @@ module PulpAnsibleClient
|
|
284
284
|
return false if @name.nil?
|
285
285
|
return false if @url.nil?
|
286
286
|
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
|
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
|
291
291
|
true
|
292
292
|
end
|
293
293
|
|
@@ -304,8 +304,8 @@ module PulpAnsibleClient
|
|
304
304
|
# Custom attribute writer method with validation
|
305
305
|
# @param [Object] total_timeout Value to be assigned
|
306
306
|
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.
|
307
|
+
if !total_timeout.nil? && total_timeout < 0
|
308
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
309
309
|
end
|
310
310
|
|
311
311
|
@total_timeout = total_timeout
|
@@ -314,8 +314,8 @@ module PulpAnsibleClient
|
|
314
314
|
# Custom attribute writer method with validation
|
315
315
|
# @param [Object] connect_timeout Value to be assigned
|
316
316
|
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.
|
317
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
318
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
319
319
|
end
|
320
320
|
|
321
321
|
@connect_timeout = connect_timeout
|
@@ -324,8 +324,8 @@ module PulpAnsibleClient
|
|
324
324
|
# Custom attribute writer method with validation
|
325
325
|
# @param [Object] sock_connect_timeout Value to be assigned
|
326
326
|
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.
|
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.'
|
329
329
|
end
|
330
330
|
|
331
331
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -334,8 +334,8 @@ module PulpAnsibleClient
|
|
334
334
|
# Custom attribute writer method with validation
|
335
335
|
# @param [Object] sock_read_timeout Value to be assigned
|
336
336
|
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.
|
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.'
|
339
339
|
end
|
340
340
|
|
341
341
|
@sock_read_timeout = sock_read_timeout
|
@@ -18,11 +18,11 @@ module PulpAnsibleClient
|
|
18
18
|
# Timestamp of creation.
|
19
19
|
attr_accessor :pulp_created
|
20
20
|
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
21
23
|
# Artifact file representing the physical content
|
22
24
|
attr_accessor :artifact
|
23
25
|
|
24
|
-
attr_accessor :pulp_href
|
25
|
-
|
26
26
|
attr_accessor :version
|
27
27
|
|
28
28
|
attr_accessor :name
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'pulp_created' => :'pulp_created',
|
36
|
-
:'artifact' => :'artifact',
|
37
36
|
:'pulp_href' => :'pulp_href',
|
37
|
+
:'artifact' => :'artifact',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
40
40
|
:'namespace' => :'namespace'
|
@@ -45,8 +45,8 @@ module PulpAnsibleClient
|
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
47
|
:'pulp_created' => :'DateTime',
|
48
|
-
:'artifact' => :'String',
|
49
48
|
:'pulp_href' => :'String',
|
49
|
+
:'artifact' => :'String',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -78,14 +78,14 @@ module PulpAnsibleClient
|
|
78
78
|
self.pulp_created = attributes[:'pulp_created']
|
79
79
|
end
|
80
80
|
|
81
|
-
if attributes.key?(:'artifact')
|
82
|
-
self.artifact = attributes[:'artifact']
|
83
|
-
end
|
84
|
-
|
85
81
|
if attributes.key?(:'pulp_href')
|
86
82
|
self.pulp_href = attributes[:'pulp_href']
|
87
83
|
end
|
88
84
|
|
85
|
+
if attributes.key?(:'artifact')
|
86
|
+
self.artifact = attributes[:'artifact']
|
87
|
+
end
|
88
|
+
|
89
89
|
if attributes.key?(:'version')
|
90
90
|
self.version = attributes[:'version']
|
91
91
|
end
|
@@ -138,8 +138,8 @@ module PulpAnsibleClient
|
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
140
|
pulp_created == o.pulp_created &&
|
141
|
-
artifact == o.artifact &&
|
142
141
|
pulp_href == o.pulp_href &&
|
142
|
+
artifact == o.artifact &&
|
143
143
|
version == o.version &&
|
144
144
|
name == o.name &&
|
145
145
|
namespace == o.namespace
|
@@ -154,7 +154,7 @@ module PulpAnsibleClient
|
|
154
154
|
# Calculates hash code according to all attributes.
|
155
155
|
# @return [Integer] Hash code
|
156
156
|
def hash
|
157
|
-
[pulp_created,
|
157
|
+
[pulp_created, pulp_href, artifact, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|
@@ -15,26 +15,20 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for a Collection.
|
17
17
|
class CollectionResponse
|
18
|
-
# Get href.
|
19
18
|
attr_accessor :href
|
20
19
|
|
21
20
|
attr_accessor :namespace
|
22
21
|
|
23
22
|
attr_accessor :name
|
24
23
|
|
25
|
-
# Get deprecated.
|
26
24
|
attr_accessor :deprecated
|
27
25
|
|
28
|
-
# Get a link to a collection versions list.
|
29
26
|
attr_accessor :versions_url
|
30
27
|
|
31
|
-
# Get a highest version and its link.
|
32
28
|
attr_accessor :highest_version
|
33
29
|
|
34
|
-
# Get the timestamp of the lowest version CollectionVersion's created timestamp.
|
35
30
|
attr_accessor :created_at
|
36
31
|
|
37
|
-
# Get the timestamp of the highest version CollectionVersion's created timestamp.
|
38
32
|
attr_accessor :updated_at
|
39
33
|
|
40
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -17,7 +17,6 @@ module PulpAnsibleClient
|
|
17
17
|
class CollectionVersionResponse
|
18
18
|
attr_accessor :version
|
19
19
|
|
20
|
-
# Get href.
|
21
20
|
attr_accessor :href
|
22
21
|
|
23
22
|
attr_accessor :created_at
|
@@ -30,7 +29,6 @@ module PulpAnsibleClient
|
|
30
29
|
|
31
30
|
attr_accessor :collection
|
32
31
|
|
33
|
-
# Get artifact download URL.
|
34
32
|
attr_accessor :download_url
|
35
33
|
|
36
34
|
attr_accessor :name
|
@@ -41,10 +39,8 @@ module PulpAnsibleClient
|
|
41
39
|
|
42
40
|
attr_accessor :metadata
|
43
41
|
|
44
|
-
# Get the git URL.
|
45
42
|
attr_accessor :git_url
|
46
43
|
|
47
|
-
# Get the git commit sha.
|
48
44
|
attr_accessor :git_commit_sha
|
49
45
|
|
50
46
|
# A JSON field holding MANIFEST.json data.
|
@@ -19,20 +19,16 @@ module PulpAnsibleClient
|
|
19
19
|
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
|
-
# Create a namespace dict.
|
23
22
|
attr_accessor :namespace
|
24
23
|
|
25
|
-
# Get href.
|
26
24
|
attr_accessor :href
|
27
25
|
|
28
|
-
# Get versions_url.
|
29
26
|
attr_accessor :versions_url
|
30
27
|
|
31
28
|
attr_accessor :created
|
32
29
|
|
33
30
|
attr_accessor :modified
|
34
31
|
|
35
|
-
# Get latest version.
|
36
32
|
attr_accessor :latest_version
|
37
33
|
|
38
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -17,16 +17,12 @@ module PulpAnsibleClient
|
|
17
17
|
class GalaxyCollectionVersionResponse
|
18
18
|
attr_accessor :version
|
19
19
|
|
20
|
-
# Get href.
|
21
20
|
attr_accessor :href
|
22
21
|
|
23
|
-
# Create a namespace dict.
|
24
22
|
attr_accessor :namespace
|
25
23
|
|
26
|
-
# Create a collection dict.
|
27
24
|
attr_accessor :collection
|
28
25
|
|
29
|
-
# Create an artifact dict.
|
30
26
|
attr_accessor :artifact
|
31
27
|
|
32
28
|
attr_accessor :metadata
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -56,7 +56,7 @@ module PulpAnsibleClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content.
|
59
|
+
# The policy to use when downloading content.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -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
|