pulp_ansible_client 0.5.9 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +21 -21
- data/docs/AnsibleCollectionRemote.md +0 -8
- data/docs/AnsibleCollectionRemoteResponse.md +0 -8
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +2 -2
- data/docs/AnsibleRoleRemote.md +1 -9
- data/docs/AnsibleRoleRemoteResponse.md +1 -9
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +2 -2
- data/docs/ApiRolesApi.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +2 -2
- data/docs/ContentRolesApi.md +2 -2
- data/docs/DistributionsAnsibleApi.md +2 -2
- data/docs/{PaginatedansibleCollectionResponseList.md → InlineResponse200.md} +4 -4
- data/docs/{PaginatedansibleCollectionVersionResponseList.md → InlineResponse2001.md} +4 -4
- data/docs/{PaginatedGalaxyRoleVersionResponseList.md → InlineResponse20010.md} +4 -4
- data/docs/{PaginatedGalaxyCollectionResponseList.md → InlineResponse20011.md} +4 -4
- data/docs/{PaginatedGalaxyCollectionVersionResponseList.md → InlineResponse20012.md} +4 -4
- data/docs/InlineResponse20013.md +21 -0
- data/docs/{PaginatedCollectionResponseListLinks.md → InlineResponse20013Links.md} +2 -2
- data/docs/{PaginatedCollectionResponseListMeta.md → InlineResponse20013Meta.md} +2 -2
- data/docs/InlineResponse20014.md +21 -0
- data/docs/{PaginatedansibleRoleResponseList.md → InlineResponse2002.md} +4 -4
- data/docs/{PaginatedansibleAnsibleDistributionResponseList.md → InlineResponse2003.md} +4 -4
- data/docs/{PaginatedTagResponseList.md → InlineResponse2004.md} +4 -4
- data/docs/{PaginatedansibleCollectionRemoteResponseList.md → InlineResponse2005.md} +4 -4
- data/docs/{PaginatedansibleRoleRemoteResponseList.md → InlineResponse2006.md} +4 -4
- data/docs/{PaginatedansibleAnsibleRepositoryResponseList.md → InlineResponse2007.md} +4 -4
- data/docs/{PaginatedRepositoryVersionResponseList.md → InlineResponse2008.md} +4 -4
- data/docs/{PaginatedGalaxyRoleResponseList.md → InlineResponse2009.md} +4 -4
- data/docs/PatchedansibleCollectionRemote.md +0 -8
- data/docs/PatchedansibleRoleRemote.md +1 -9
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +2 -2
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +2 -2
- data/docs/PulpAnsibleTagsApi.md +2 -2
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/RemotesRoleApi.md +2 -2
- data/docs/RepositoriesAnsibleApi.md +2 -2
- data/docs/RepositoriesAnsibleVersionsApi.md +4 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/VersionsApi.md +4 -4
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +4 -4
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +1 -1
- data/lib/pulp_ansible_client/api/api_collections_api.rb +4 -4
- data/lib/pulp_ansible_client/api/api_roles_api.rb +4 -4
- data/lib/pulp_ansible_client/api/collection_import_api.rb +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +4 -4
- data/lib/pulp_ansible_client/api/content_roles_api.rb +4 -4
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +4 -4
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +4 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +4 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +4 -4
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +4 -4
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +4 -4
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +4 -4
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +8 -8
- data/lib/pulp_ansible_client/api/versions_api.rb +7 -7
- data/lib/pulp_ansible_client/api_client.rb +12 -8
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +8 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
- 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 +2 -106
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +2 -106
- data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +5 -109
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +5 -109
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_tag_response.rb +1 -1
- data/lib/pulp_ansible_client/models/artifact_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_one_shot.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{paginatedansible_collection_response_list.rb → inline_response200.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_collection_version_response_list.rb → inline_response2001.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_role_version_response_list.rb → inline_response20010.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → inline_response20011.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_version_response_list.rb → inline_response20012.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_collection_response_list.rb → inline_response20013.rb} +6 -6
- data/lib/pulp_ansible_client/models/{paginated_collection_response_list_links.rb → inline_response20013_links.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_collection_response_list_meta.rb → inline_response20013_meta.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → inline_response20014.rb} +6 -6
- data/lib/pulp_ansible_client/models/{paginatedansible_role_response_list.rb → inline_response2002.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_ansible_distribution_response_list.rb → inline_response2003.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_tag_response_list.rb → inline_response2004.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_collection_remote_response_list.rb → inline_response2005.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_role_remote_response_list.rb → inline_response2006.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_ansible_repository_response_list.rb → inline_response2007.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_repository_version_response_list.rb → inline_response2008.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_role_response_list.rb → inline_response2009.rb} +4 -4
- data/lib/pulp_ansible_client/models/patched_collection.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +2 -106
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +5 -109
- data/lib/pulp_ansible_client/models/policy_enum.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +18 -18
- data/pulp_ansible_client.gemspec +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -2
- data/spec/api/ansible_copy_api_spec.rb +1 -1
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/content_roles_api_spec.rb +2 -2
- data/spec/api/distributions_ansible_api_spec.rb +2 -2
- data/spec/api/galaxy_detail_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +2 -2
- data/spec/api/remotes_role_api_spec.rb +2 -2
- data/spec/api/repositories_ansible_api_spec.rb +2 -2
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -4
- data/spec/api/versions_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/ansible_ansible_distribution_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +1 -25
- data/spec/models/ansible_collection_remote_spec.rb +1 -25
- data/spec/models/ansible_collection_response_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +1 -1
- data/spec/models/ansible_role_remote_response_spec.rb +1 -25
- data/spec/models/ansible_role_remote_spec.rb +1 -25
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +1 -1
- data/spec/models/ansible_tag_response_spec.rb +1 -1
- data/spec/models/artifact_ref_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/collection_import_detail_response_spec.rb +1 -1
- data/spec/models/collection_metadata_response_spec.rb +1 -1
- data/spec/models/collection_namespace_response_spec.rb +1 -1
- data/spec/models/collection_one_shot_spec.rb +1 -1
- data/spec/models/collection_ref_response_spec.rb +1 -1
- data/spec/models/collection_response_spec.rb +1 -1
- data/spec/models/collection_version_docs_response_spec.rb +1 -1
- data/spec/models/collection_version_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +1 -1
- data/spec/models/galaxy_collection_response_spec.rb +1 -1
- data/spec/models/galaxy_collection_spec.rb +1 -1
- data/spec/models/galaxy_collection_version_response_spec.rb +1 -1
- data/spec/models/galaxy_role_response_spec.rb +1 -1
- data/spec/models/galaxy_role_version_response_spec.rb +1 -1
- data/spec/models/{paginated_tag_response_list_spec.rb → inline_response20010_spec.rb} +7 -7
- data/spec/models/{paginated_galaxy_role_response_list_spec.rb → inline_response20011_spec.rb} +7 -7
- data/spec/models/{paginatedansible_role_response_list_spec.rb → inline_response20012_spec.rb} +7 -7
- data/spec/models/{paginated_collection_response_list_links_spec.rb → inline_response20013_links_spec.rb} +7 -7
- data/spec/models/{paginated_collection_response_list_meta_spec.rb → inline_response20013_meta_spec.rb} +7 -7
- data/spec/models/{paginated_collection_response_list_spec.rb → inline_response20013_spec.rb} +7 -7
- data/spec/models/{paginated_collection_version_response_list_spec.rb → inline_response20014_spec.rb} +7 -7
- data/spec/models/{paginated_galaxy_collection_response_list_spec.rb → inline_response2001_spec.rb} +7 -7
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response2003_spec.rb +59 -0
- data/spec/models/inline_response2004_spec.rb +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response2006_spec.rb +59 -0
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/patched_collection_spec.rb +1 -1
- data/spec/models/patchedansible_ansible_distribution_spec.rb +1 -1
- data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
- data/spec/models/patchedansible_collection_remote_spec.rb +1 -25
- data/spec/models/patchedansible_role_remote_spec.rb +1 -25
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +117 -117
- data/docs/PaginatedCollectionResponseList.md +0 -21
- data/docs/PaginatedCollectionVersionResponseList.md +0 -21
- data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +0 -59
- data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +0 -59
- data/spec/models/paginated_repository_version_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_collection_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_collection_version_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_role_remote_response_list_spec.rb +0 -59
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -56,18 +56,6 @@ module PulpAnsibleClient
|
|
56
56
|
# The policy to use when downloading content.
|
57
57
|
attr_accessor :policy
|
58
58
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
60
|
-
attr_accessor :total_timeout
|
61
|
-
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
63
|
-
attr_accessor :connect_timeout
|
64
|
-
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
66
|
-
attr_accessor :sock_connect_timeout
|
67
|
-
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
|
-
attr_accessor :sock_read_timeout
|
70
|
-
|
71
59
|
# The string version of Collection requirements yaml.
|
72
60
|
attr_accessor :requirements_file
|
73
61
|
|
@@ -94,10 +82,6 @@ module PulpAnsibleClient
|
|
94
82
|
:'pulp_last_updated' => :'pulp_last_updated',
|
95
83
|
:'download_concurrency' => :'download_concurrency',
|
96
84
|
:'policy' => :'policy',
|
97
|
-
:'total_timeout' => :'total_timeout',
|
98
|
-
:'connect_timeout' => :'connect_timeout',
|
99
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
100
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
101
85
|
:'requirements_file' => :'requirements_file',
|
102
86
|
:'auth_url' => :'auth_url',
|
103
87
|
:'token' => :'token'
|
@@ -121,10 +105,6 @@ module PulpAnsibleClient
|
|
121
105
|
:'pulp_last_updated' => :'DateTime',
|
122
106
|
:'download_concurrency' => :'Integer',
|
123
107
|
:'policy' => :'PolicyEnum',
|
124
|
-
:'total_timeout' => :'Float',
|
125
|
-
:'connect_timeout' => :'Float',
|
126
|
-
:'sock_connect_timeout' => :'Float',
|
127
|
-
:'sock_read_timeout' => :'Float',
|
128
108
|
:'requirements_file' => :'String',
|
129
109
|
:'auth_url' => :'String',
|
130
110
|
:'token' => :'String'
|
@@ -140,10 +120,6 @@ module PulpAnsibleClient
|
|
140
120
|
:'proxy_url',
|
141
121
|
:'username',
|
142
122
|
:'password',
|
143
|
-
:'total_timeout',
|
144
|
-
:'connect_timeout',
|
145
|
-
:'sock_connect_timeout',
|
146
|
-
:'sock_read_timeout',
|
147
123
|
:'requirements_file',
|
148
124
|
:'auth_url',
|
149
125
|
:'token'
|
@@ -221,22 +197,6 @@ module PulpAnsibleClient
|
|
221
197
|
self.policy = attributes[:'policy']
|
222
198
|
end
|
223
199
|
|
224
|
-
if attributes.key?(:'total_timeout')
|
225
|
-
self.total_timeout = attributes[:'total_timeout']
|
226
|
-
end
|
227
|
-
|
228
|
-
if attributes.key?(:'connect_timeout')
|
229
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
230
|
-
end
|
231
|
-
|
232
|
-
if attributes.key?(:'sock_connect_timeout')
|
233
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
234
|
-
end
|
235
|
-
|
236
|
-
if attributes.key?(:'sock_read_timeout')
|
237
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
238
|
-
end
|
239
|
-
|
240
200
|
if attributes.key?(:'requirements_file')
|
241
201
|
self.requirements_file = attributes[:'requirements_file']
|
242
202
|
end
|
@@ -266,22 +226,6 @@ module PulpAnsibleClient
|
|
266
226
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
267
227
|
end
|
268
228
|
|
269
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
270
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
271
|
-
end
|
272
|
-
|
273
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
274
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
275
|
-
end
|
276
|
-
|
277
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
278
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
279
|
-
end
|
280
|
-
|
281
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
282
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
283
|
-
end
|
284
|
-
|
285
229
|
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
286
230
|
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
287
231
|
end
|
@@ -299,10 +243,6 @@ module PulpAnsibleClient
|
|
299
243
|
return false if @name.nil?
|
300
244
|
return false if @url.nil?
|
301
245
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
302
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
303
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
304
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
305
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
306
246
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
307
247
|
return false if !@token.nil? && @token.to_s.length > 2000
|
308
248
|
true
|
@@ -318,46 +258,6 @@ module PulpAnsibleClient
|
|
318
258
|
@download_concurrency = download_concurrency
|
319
259
|
end
|
320
260
|
|
321
|
-
# Custom attribute writer method with validation
|
322
|
-
# @param [Object] total_timeout Value to be assigned
|
323
|
-
def total_timeout=(total_timeout)
|
324
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
325
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
326
|
-
end
|
327
|
-
|
328
|
-
@total_timeout = total_timeout
|
329
|
-
end
|
330
|
-
|
331
|
-
# Custom attribute writer method with validation
|
332
|
-
# @param [Object] connect_timeout Value to be assigned
|
333
|
-
def connect_timeout=(connect_timeout)
|
334
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
335
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
336
|
-
end
|
337
|
-
|
338
|
-
@connect_timeout = connect_timeout
|
339
|
-
end
|
340
|
-
|
341
|
-
# Custom attribute writer method with validation
|
342
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
343
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
344
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
345
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
346
|
-
end
|
347
|
-
|
348
|
-
@sock_connect_timeout = sock_connect_timeout
|
349
|
-
end
|
350
|
-
|
351
|
-
# Custom attribute writer method with validation
|
352
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
353
|
-
def sock_read_timeout=(sock_read_timeout)
|
354
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
355
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
356
|
-
end
|
357
|
-
|
358
|
-
@sock_read_timeout = sock_read_timeout
|
359
|
-
end
|
360
|
-
|
361
261
|
# Custom attribute writer method with validation
|
362
262
|
# @param [Object] auth_url Value to be assigned
|
363
263
|
def auth_url=(auth_url)
|
@@ -397,10 +297,6 @@ module PulpAnsibleClient
|
|
397
297
|
pulp_last_updated == o.pulp_last_updated &&
|
398
298
|
download_concurrency == o.download_concurrency &&
|
399
299
|
policy == o.policy &&
|
400
|
-
total_timeout == o.total_timeout &&
|
401
|
-
connect_timeout == o.connect_timeout &&
|
402
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
403
|
-
sock_read_timeout == o.sock_read_timeout &&
|
404
300
|
requirements_file == o.requirements_file &&
|
405
301
|
auth_url == o.auth_url &&
|
406
302
|
token == o.token
|
@@ -415,7 +311,7 @@ module PulpAnsibleClient
|
|
415
311
|
# Calculates hash code according to all attributes.
|
416
312
|
# @return [Integer] Hash code
|
417
313
|
def hash
|
418
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy,
|
314
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, requirements_file, auth_url, token].hash
|
419
315
|
end
|
420
316
|
|
421
317
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,12 +17,12 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# Artifact file representing the physical content
|
21
|
-
attr_accessor :artifact
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
23
|
+
# Artifact file representing the physical content
|
24
|
+
attr_accessor :artifact
|
25
|
+
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
28
28
|
|
@@ -89,8 +89,8 @@ module PulpAnsibleClient
|
|
89
89
|
def self.attribute_map
|
90
90
|
{
|
91
91
|
:'pulp_href' => :'pulp_href',
|
92
|
-
:'artifact' => :'artifact',
|
93
92
|
:'pulp_created' => :'pulp_created',
|
93
|
+
:'artifact' => :'artifact',
|
94
94
|
:'md5' => :'md5',
|
95
95
|
:'sha1' => :'sha1',
|
96
96
|
:'sha224' => :'sha224',
|
@@ -119,8 +119,8 @@ module PulpAnsibleClient
|
|
119
119
|
def self.openapi_types
|
120
120
|
{
|
121
121
|
:'pulp_href' => :'String',
|
122
|
-
:'artifact' => :'String',
|
123
122
|
:'pulp_created' => :'DateTime',
|
123
|
+
:'artifact' => :'String',
|
124
124
|
:'md5' => :'String',
|
125
125
|
:'sha1' => :'String',
|
126
126
|
:'sha224' => :'String',
|
@@ -170,14 +170,14 @@ module PulpAnsibleClient
|
|
170
170
|
self.pulp_href = attributes[:'pulp_href']
|
171
171
|
end
|
172
172
|
|
173
|
-
if attributes.key?(:'artifact')
|
174
|
-
self.artifact = attributes[:'artifact']
|
175
|
-
end
|
176
|
-
|
177
173
|
if attributes.key?(:'pulp_created')
|
178
174
|
self.pulp_created = attributes[:'pulp_created']
|
179
175
|
end
|
180
176
|
|
177
|
+
if attributes.key?(:'artifact')
|
178
|
+
self.artifact = attributes[:'artifact']
|
179
|
+
end
|
180
|
+
|
181
181
|
if attributes.key?(:'md5')
|
182
182
|
self.md5 = attributes[:'md5']
|
183
183
|
end
|
@@ -498,8 +498,8 @@ module PulpAnsibleClient
|
|
498
498
|
return true if self.equal?(o)
|
499
499
|
self.class == o.class &&
|
500
500
|
pulp_href == o.pulp_href &&
|
501
|
-
artifact == o.artifact &&
|
502
501
|
pulp_created == o.pulp_created &&
|
502
|
+
artifact == o.artifact &&
|
503
503
|
md5 == o.md5 &&
|
504
504
|
sha1 == o.sha1 &&
|
505
505
|
sha224 == o.sha224 &&
|
@@ -532,7 +532,7 @@ module PulpAnsibleClient
|
|
532
532
|
# Calculates hash code according to all attributes.
|
533
533
|
# @return [Integer] Hash code
|
534
534
|
def hash
|
535
|
-
[pulp_href,
|
535
|
+
[pulp_href, pulp_created, artifact, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, documentation, homepage, issues, license, name, namespace, repository, tags, version].hash
|
536
536
|
end
|
537
537
|
|
538
538
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -48,18 +48,6 @@ module PulpAnsibleClient
|
|
48
48
|
# The policy to use when downloading content.
|
49
49
|
attr_accessor :policy
|
50
50
|
|
51
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
52
|
-
attr_accessor :total_timeout
|
53
|
-
|
54
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
55
|
-
attr_accessor :connect_timeout
|
56
|
-
|
57
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
58
|
-
attr_accessor :sock_connect_timeout
|
59
|
-
|
60
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
|
-
attr_accessor :sock_read_timeout
|
62
|
-
|
63
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
52
|
def self.attribute_map
|
65
53
|
{
|
@@ -73,11 +61,7 @@ module PulpAnsibleClient
|
|
73
61
|
:'username' => :'username',
|
74
62
|
:'password' => :'password',
|
75
63
|
:'download_concurrency' => :'download_concurrency',
|
76
|
-
:'policy' => :'policy'
|
77
|
-
:'total_timeout' => :'total_timeout',
|
78
|
-
:'connect_timeout' => :'connect_timeout',
|
79
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
80
|
-
:'sock_read_timeout' => :'sock_read_timeout'
|
64
|
+
:'policy' => :'policy'
|
81
65
|
}
|
82
66
|
end
|
83
67
|
|
@@ -94,11 +78,7 @@ module PulpAnsibleClient
|
|
94
78
|
:'username' => :'String',
|
95
79
|
:'password' => :'String',
|
96
80
|
:'download_concurrency' => :'Integer',
|
97
|
-
:'policy' => :'PolicyEnum'
|
98
|
-
:'total_timeout' => :'Float',
|
99
|
-
:'connect_timeout' => :'Float',
|
100
|
-
:'sock_connect_timeout' => :'Float',
|
101
|
-
:'sock_read_timeout' => :'Float'
|
81
|
+
:'policy' => :'PolicyEnum'
|
102
82
|
}
|
103
83
|
end
|
104
84
|
|
@@ -111,10 +91,6 @@ module PulpAnsibleClient
|
|
111
91
|
:'proxy_url',
|
112
92
|
:'username',
|
113
93
|
:'password',
|
114
|
-
:'total_timeout',
|
115
|
-
:'connect_timeout',
|
116
|
-
:'sock_connect_timeout',
|
117
|
-
:'sock_read_timeout'
|
118
94
|
])
|
119
95
|
end
|
120
96
|
|
@@ -176,22 +152,6 @@ module PulpAnsibleClient
|
|
176
152
|
if attributes.key?(:'policy')
|
177
153
|
self.policy = attributes[:'policy']
|
178
154
|
end
|
179
|
-
|
180
|
-
if attributes.key?(:'total_timeout')
|
181
|
-
self.total_timeout = attributes[:'total_timeout']
|
182
|
-
end
|
183
|
-
|
184
|
-
if attributes.key?(:'connect_timeout')
|
185
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
186
|
-
end
|
187
|
-
|
188
|
-
if attributes.key?(:'sock_connect_timeout')
|
189
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
190
|
-
end
|
191
|
-
|
192
|
-
if attributes.key?(:'sock_read_timeout')
|
193
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
194
|
-
end
|
195
155
|
end
|
196
156
|
|
197
157
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -210,22 +170,6 @@ module PulpAnsibleClient
|
|
210
170
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
211
171
|
end
|
212
172
|
|
213
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
214
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
215
|
-
end
|
216
|
-
|
217
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
218
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
219
|
-
end
|
220
|
-
|
221
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
222
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
223
|
-
end
|
224
|
-
|
225
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
226
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
227
|
-
end
|
228
|
-
|
229
173
|
invalid_properties
|
230
174
|
end
|
231
175
|
|
@@ -235,10 +179,6 @@ module PulpAnsibleClient
|
|
235
179
|
return false if @name.nil?
|
236
180
|
return false if @url.nil?
|
237
181
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
238
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
239
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
240
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
241
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
242
182
|
true
|
243
183
|
end
|
244
184
|
|
@@ -252,46 +192,6 @@ module PulpAnsibleClient
|
|
252
192
|
@download_concurrency = download_concurrency
|
253
193
|
end
|
254
194
|
|
255
|
-
# Custom attribute writer method with validation
|
256
|
-
# @param [Object] total_timeout Value to be assigned
|
257
|
-
def total_timeout=(total_timeout)
|
258
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
259
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
260
|
-
end
|
261
|
-
|
262
|
-
@total_timeout = total_timeout
|
263
|
-
end
|
264
|
-
|
265
|
-
# Custom attribute writer method with validation
|
266
|
-
# @param [Object] connect_timeout Value to be assigned
|
267
|
-
def connect_timeout=(connect_timeout)
|
268
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
269
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
270
|
-
end
|
271
|
-
|
272
|
-
@connect_timeout = connect_timeout
|
273
|
-
end
|
274
|
-
|
275
|
-
# Custom attribute writer method with validation
|
276
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
277
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
278
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
279
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
280
|
-
end
|
281
|
-
|
282
|
-
@sock_connect_timeout = sock_connect_timeout
|
283
|
-
end
|
284
|
-
|
285
|
-
# Custom attribute writer method with validation
|
286
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
287
|
-
def sock_read_timeout=(sock_read_timeout)
|
288
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
289
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
290
|
-
end
|
291
|
-
|
292
|
-
@sock_read_timeout = sock_read_timeout
|
293
|
-
end
|
294
|
-
|
295
195
|
# Checks equality by comparing each attribute.
|
296
196
|
# @param [Object] Object to be compared
|
297
197
|
def ==(o)
|
@@ -307,11 +207,7 @@ module PulpAnsibleClient
|
|
307
207
|
username == o.username &&
|
308
208
|
password == o.password &&
|
309
209
|
download_concurrency == o.download_concurrency &&
|
310
|
-
policy == o.policy
|
311
|
-
total_timeout == o.total_timeout &&
|
312
|
-
connect_timeout == o.connect_timeout &&
|
313
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
314
|
-
sock_read_timeout == o.sock_read_timeout
|
210
|
+
policy == o.policy
|
315
211
|
end
|
316
212
|
|
317
213
|
# @see the `==` method
|
@@ -323,7 +219,7 @@ module PulpAnsibleClient
|
|
323
219
|
# Calculates hash code according to all attributes.
|
324
220
|
# @return [Integer] Hash code
|
325
221
|
def hash
|
326
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy
|
222
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy].hash
|
327
223
|
end
|
328
224
|
|
329
225
|
# Builds the object from hash
|