pulp_ansible_client 0.20.9 → 0.21.0
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/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionVersionSignature.md +3 -1
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- 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/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionMarksApi.md +1 -1
- data/docs/ContentCollectionSignaturesApi.md +8 -6
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +1 -1
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +1 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +25 -25
- 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 +1 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- 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 +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +1 -1
- data/docs/RemotesGitApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +1 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/TagResponse.md +3 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +9 -10
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -5
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +12 -7
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +227 -227
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +135 -135
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +222 -222
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/tag_response.rb +13 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +2 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- 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
- data/spec/models/tag_response_spec.rb +6 -0
- metadata +147 -147
@@ -18,11 +18,11 @@ module PulpAnsibleClient
|
|
18
18
|
# Artifact file representing the physical content
|
19
19
|
attr_accessor :artifact
|
20
20
|
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
21
23
|
# Timestamp of creation.
|
22
24
|
attr_accessor :pulp_created
|
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
|
:'artifact' => :'artifact',
|
36
|
-
:'pulp_created' => :'pulp_created',
|
37
36
|
:'pulp_href' => :'pulp_href',
|
37
|
+
:'pulp_created' => :'pulp_created',
|
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
|
:'artifact' => :'String',
|
48
|
-
:'pulp_created' => :'DateTime',
|
49
48
|
:'pulp_href' => :'String',
|
49
|
+
:'pulp_created' => :'DateTime',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -78,14 +78,14 @@ module PulpAnsibleClient
|
|
78
78
|
self.artifact = attributes[:'artifact']
|
79
79
|
end
|
80
80
|
|
81
|
-
if attributes.key?(:'pulp_created')
|
82
|
-
self.pulp_created = attributes[:'pulp_created']
|
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?(:'pulp_created')
|
86
|
+
self.pulp_created = attributes[:'pulp_created']
|
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
|
artifact == o.artifact &&
|
141
|
-
pulp_created == o.pulp_created &&
|
142
141
|
pulp_href == o.pulp_href &&
|
142
|
+
pulp_created == o.pulp_created &&
|
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
|
-
[artifact,
|
157
|
+
[artifact, pulp_href, pulp_created, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# 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.0
|
360
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.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.0
|
364
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.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.0
|
368
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.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.0
|
372
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.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.0
|
413
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
414
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
415
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.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.0
|
538
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.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.0
|
548
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.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.0
|
558
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.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.0
|
568
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
569
569
|
end
|
570
570
|
|
571
571
|
@sock_read_timeout = sock_read_timeout
|