pulp_ansible_client 0.7.1 → 0.7.5
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 +6 -6
- data/docs/AnsibleCollectionRemote.md +7 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -7
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +4 -4
- data/docs/AnsibleRoleRemote.md +7 -1
- data/docs/AnsibleRoleRemoteResponse.md +3 -7
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +18 -18
- data/docs/ContentRolesApi.md +12 -12
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsAnsibleApi.md +20 -20
- data/docs/PatchedansibleCollectionRemote.md +7 -1
- data/docs/PatchedansibleRoleRemote.md +7 -1
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +6 -6
- data/docs/PulpAnsibleGalaxyApiV3AllApi.md +6 -24
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +18 -18
- data/docs/RemotesCollectionApi.md +24 -24
- data/docs/RemotesRoleApi.md +24 -24
- data/docs/RepositoriesAnsibleApi.md +12 -12
- data/docs/RepositoriesAnsibleVersionsApi.md +28 -28
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -5
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +1 -1
- data/lib/pulp_ansible_client/api/api_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/api_roles_api.rb +1 -1
- data/lib/pulp_ansible_client/api/collection_import_api.rb +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +19 -19
- data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +23 -23
- 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 +7 -7
- 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_all_api.rb +7 -34
- 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 +19 -19
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +1 -1
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +27 -27
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +27 -27
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +14 -14
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +31 -31
- data/lib/pulp_ansible_client/api/versions_api.rb +1 -1
- 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 +37 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +15 -36
- data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +16 -16
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +27 -27
- data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +37 -3
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +15 -36
- 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 +13 -7
- data/lib/pulp_ansible_client/models/content_summary_response.rb +13 -7
- 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/paginated_collection_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_collection_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +1 -1
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.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 +37 -3
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +37 -3
- data/lib/pulp_ansible_client/models/policy_enum.rb +1 -1
- data/lib/pulp_ansible_client/models/repo_metadata_response.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +3 -3
- 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/models/unpaginated_collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +1 -1
- data/pulp_ansible_client.gemspec +2 -2
- data/spec/api/ansible_collections_api_spec.rb +3 -3
- data/spec/api/ansible_copy_api_spec.rb +1 -1
- data/spec/api/api_collections_api_spec.rb +1 -1
- data/spec/api/api_roles_api_spec.rb +1 -1
- data/spec/api/collection_import_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +10 -10
- data/spec/api/content_roles_api_spec.rb +7 -7
- data/spec/api/distributions_ansible_api_spec.rb +11 -11
- 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 +4 -4
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +4 -13
- 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 +10 -10
- data/spec/api/pulp_ansible_galaxy_v3_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_tags_api_spec.rb +1 -1
- data/spec/api/remotes_collection_api_spec.rb +13 -13
- data/spec/api/remotes_role_api_spec.rb +13 -13
- data/spec/api/repositories_ansible_api_spec.rb +7 -7
- data/spec/api/repositories_ansible_versions_api_spec.rb +15 -15
- data/spec/api/versions_api_spec.rb +1 -1
- 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 +7 -19
- data/spec/models/ansible_collection_remote_spec.rb +19 -1
- data/spec/models/ansible_collection_response_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_collection_version_spec.rb +1 -1
- data/spec/models/ansible_repository_sync_url_spec.rb +1 -1
- data/spec/models/ansible_role_remote_response_spec.rb +7 -19
- data/spec/models/ansible_role_remote_spec.rb +19 -1
- data/spec/models/ansible_role_response_spec.rb +4 -4
- 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_collection_response_list_links_spec.rb +1 -1
- data/spec/models/paginated_collection_response_list_meta_spec.rb +1 -1
- data/spec/models/paginated_collection_response_list_spec.rb +1 -1
- data/spec/models/paginated_collection_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_collection_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_role_response_list_spec.rb +1 -1
- data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginated_tag_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_collection_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_collection_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_role_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedansible_role_response_list_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 +19 -1
- data/spec/models/patchedansible_role_remote_spec.rb +19 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repo_metadata_response_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_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/models/unpaginated_collection_version_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +74 -68
@@ -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
|
|
@@ -15,14 +15,14 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
|
+
|
18
21
|
# Timestamp of creation.
|
19
22
|
attr_accessor :pulp_created
|
20
23
|
|
21
24
|
attr_accessor :pulp_href
|
22
25
|
|
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
|
|
@@ -97,9 +97,9 @@ module PulpAnsibleClient
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
|
+
:'artifact' => :'artifact',
|
100
101
|
:'pulp_created' => :'pulp_created',
|
101
102
|
:'pulp_href' => :'pulp_href',
|
102
|
-
:'artifact' => :'artifact',
|
103
103
|
:'md5' => :'md5',
|
104
104
|
:'sha1' => :'sha1',
|
105
105
|
:'sha224' => :'sha224',
|
@@ -130,9 +130,9 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
+
:'artifact' => :'String',
|
133
134
|
:'pulp_created' => :'DateTime',
|
134
135
|
:'pulp_href' => :'String',
|
135
|
-
:'artifact' => :'String',
|
136
136
|
:'md5' => :'String',
|
137
137
|
:'sha1' => :'String',
|
138
138
|
:'sha224' => :'String',
|
@@ -182,6 +182,10 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
+
if attributes.key?(:'artifact')
|
186
|
+
self.artifact = attributes[:'artifact']
|
187
|
+
end
|
188
|
+
|
185
189
|
if attributes.key?(:'pulp_created')
|
186
190
|
self.pulp_created = attributes[:'pulp_created']
|
187
191
|
end
|
@@ -190,10 +194,6 @@ module PulpAnsibleClient
|
|
190
194
|
self.pulp_href = attributes[:'pulp_href']
|
191
195
|
end
|
192
196
|
|
193
|
-
if attributes.key?(:'artifact')
|
194
|
-
self.artifact = attributes[:'artifact']
|
195
|
-
end
|
196
|
-
|
197
197
|
if attributes.key?(:'md5')
|
198
198
|
self.md5 = attributes[:'md5']
|
199
199
|
end
|
@@ -371,16 +371,16 @@ module PulpAnsibleClient
|
|
371
371
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
372
372
|
end
|
373
373
|
|
374
|
-
if @name.to_s.length >
|
375
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to
|
374
|
+
if @name.to_s.length > 64
|
375
|
+
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 64.')
|
376
376
|
end
|
377
377
|
|
378
378
|
if @namespace.nil?
|
379
379
|
invalid_properties.push('invalid value for "namespace", namespace cannot be nil.')
|
380
380
|
end
|
381
381
|
|
382
|
-
if @namespace.to_s.length >
|
383
|
-
invalid_properties.push('invalid value for "namespace", the character length must be smaller than or equal to
|
382
|
+
if @namespace.to_s.length > 64
|
383
|
+
invalid_properties.push('invalid value for "namespace", the character length must be smaller than or equal to 64.')
|
384
384
|
end
|
385
385
|
|
386
386
|
if @repository.nil?
|
@@ -395,8 +395,8 @@ module PulpAnsibleClient
|
|
395
395
|
invalid_properties.push('invalid value for "version", version cannot be nil.')
|
396
396
|
end
|
397
397
|
|
398
|
-
if @version.to_s.length >
|
399
|
-
invalid_properties.push('invalid value for "version", the character length must be smaller than or equal to
|
398
|
+
if @version.to_s.length > 128
|
399
|
+
invalid_properties.push('invalid value for "version", the character length must be smaller than or equal to 128.')
|
400
400
|
end
|
401
401
|
|
402
402
|
if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
@@ -426,13 +426,13 @@ module PulpAnsibleClient
|
|
426
426
|
return false if @issues.to_s.length > 2000
|
427
427
|
return false if @license.nil?
|
428
428
|
return false if @name.nil?
|
429
|
-
return false if @name.to_s.length >
|
429
|
+
return false if @name.to_s.length > 64
|
430
430
|
return false if @namespace.nil?
|
431
|
-
return false if @namespace.to_s.length >
|
431
|
+
return false if @namespace.to_s.length > 64
|
432
432
|
return false if @repository.nil?
|
433
433
|
return false if @repository.to_s.length > 2000
|
434
434
|
return false if @version.nil?
|
435
|
-
return false if @version.to_s.length >
|
435
|
+
return false if @version.to_s.length > 128
|
436
436
|
return false if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
437
437
|
true
|
438
438
|
end
|
@@ -486,8 +486,8 @@ module PulpAnsibleClient
|
|
486
486
|
fail ArgumentError, 'name cannot be nil'
|
487
487
|
end
|
488
488
|
|
489
|
-
if name.to_s.length >
|
490
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to
|
489
|
+
if name.to_s.length > 64
|
490
|
+
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 64.'
|
491
491
|
end
|
492
492
|
|
493
493
|
@name = name
|
@@ -500,8 +500,8 @@ module PulpAnsibleClient
|
|
500
500
|
fail ArgumentError, 'namespace cannot be nil'
|
501
501
|
end
|
502
502
|
|
503
|
-
if namespace.to_s.length >
|
504
|
-
fail ArgumentError, 'invalid value for "namespace", the character length must be smaller than or equal to
|
503
|
+
if namespace.to_s.length > 64
|
504
|
+
fail ArgumentError, 'invalid value for "namespace", the character length must be smaller than or equal to 64.'
|
505
505
|
end
|
506
506
|
|
507
507
|
@namespace = namespace
|
@@ -528,8 +528,8 @@ module PulpAnsibleClient
|
|
528
528
|
fail ArgumentError, 'version cannot be nil'
|
529
529
|
end
|
530
530
|
|
531
|
-
if version.to_s.length >
|
532
|
-
fail ArgumentError, 'invalid value for "version", the character length must be smaller than or equal to
|
531
|
+
if version.to_s.length > 128
|
532
|
+
fail ArgumentError, 'invalid value for "version", the character length must be smaller than or equal to 128.'
|
533
533
|
end
|
534
534
|
|
535
535
|
@version = version
|
@@ -550,9 +550,9 @@ module PulpAnsibleClient
|
|
550
550
|
def ==(o)
|
551
551
|
return true if self.equal?(o)
|
552
552
|
self.class == o.class &&
|
553
|
+
artifact == o.artifact &&
|
553
554
|
pulp_created == o.pulp_created &&
|
554
555
|
pulp_href == o.pulp_href &&
|
555
|
-
artifact == o.artifact &&
|
556
556
|
md5 == o.md5 &&
|
557
557
|
sha1 == o.sha1 &&
|
558
558
|
sha224 == o.sha224 &&
|
@@ -588,7 +588,7 @@ module PulpAnsibleClient
|
|
588
588
|
# Calculates hash code according to all attributes.
|
589
589
|
# @return [Integer] Hash code
|
590
590
|
def hash
|
591
|
-
[pulp_created, pulp_href,
|
591
|
+
[artifact, pulp_created, pulp_href, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
|
592
592
|
end
|
593
593
|
|
594
594
|
# 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
|
|
@@ -33,9 +33,15 @@ module PulpAnsibleClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://
|
36
|
+
# The proxy URL. Format: scheme://host:port
|
37
37
|
attr_accessor :proxy_url
|
38
38
|
|
39
|
+
# The username to authenticte to the proxy.
|
40
|
+
attr_accessor :proxy_username
|
41
|
+
|
42
|
+
# The password to authenticte to the proxy.
|
43
|
+
attr_accessor :proxy_password
|
44
|
+
|
39
45
|
# The username to be used for authentication when syncing.
|
40
46
|
attr_accessor :username
|
41
47
|
|
@@ -62,6 +68,9 @@ module PulpAnsibleClient
|
|
62
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
63
69
|
attr_accessor :sock_read_timeout
|
64
70
|
|
71
|
+
# Headers for aiohttp.Clientsession
|
72
|
+
attr_accessor :headers
|
73
|
+
|
65
74
|
# Limits total download rate in requests per second
|
66
75
|
attr_accessor :rate_limit
|
67
76
|
|
@@ -75,6 +84,8 @@ module PulpAnsibleClient
|
|
75
84
|
:'client_key' => :'client_key',
|
76
85
|
:'tls_validation' => :'tls_validation',
|
77
86
|
:'proxy_url' => :'proxy_url',
|
87
|
+
:'proxy_username' => :'proxy_username',
|
88
|
+
:'proxy_password' => :'proxy_password',
|
78
89
|
:'username' => :'username',
|
79
90
|
:'password' => :'password',
|
80
91
|
:'pulp_labels' => :'pulp_labels',
|
@@ -84,6 +95,7 @@ module PulpAnsibleClient
|
|
84
95
|
:'connect_timeout' => :'connect_timeout',
|
85
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
86
97
|
:'sock_read_timeout' => :'sock_read_timeout',
|
98
|
+
:'headers' => :'headers',
|
87
99
|
:'rate_limit' => :'rate_limit'
|
88
100
|
}
|
89
101
|
end
|
@@ -98,6 +110,8 @@ module PulpAnsibleClient
|
|
98
110
|
:'client_key' => :'String',
|
99
111
|
:'tls_validation' => :'Boolean',
|
100
112
|
:'proxy_url' => :'String',
|
113
|
+
:'proxy_username' => :'String',
|
114
|
+
:'proxy_password' => :'String',
|
101
115
|
:'username' => :'String',
|
102
116
|
:'password' => :'String',
|
103
117
|
:'pulp_labels' => :'Object',
|
@@ -107,6 +121,7 @@ module PulpAnsibleClient
|
|
107
121
|
:'connect_timeout' => :'Float',
|
108
122
|
:'sock_connect_timeout' => :'Float',
|
109
123
|
:'sock_read_timeout' => :'Float',
|
124
|
+
:'headers' => :'Array<Object>',
|
110
125
|
:'rate_limit' => :'Integer'
|
111
126
|
}
|
112
127
|
end
|
@@ -118,6 +133,8 @@ module PulpAnsibleClient
|
|
118
133
|
:'client_cert',
|
119
134
|
:'client_key',
|
120
135
|
:'proxy_url',
|
136
|
+
:'proxy_username',
|
137
|
+
:'proxy_password',
|
121
138
|
:'username',
|
122
139
|
:'password',
|
123
140
|
:'total_timeout',
|
@@ -171,6 +188,14 @@ module PulpAnsibleClient
|
|
171
188
|
self.proxy_url = attributes[:'proxy_url']
|
172
189
|
end
|
173
190
|
|
191
|
+
if attributes.key?(:'proxy_username')
|
192
|
+
self.proxy_username = attributes[:'proxy_username']
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.key?(:'proxy_password')
|
196
|
+
self.proxy_password = attributes[:'proxy_password']
|
197
|
+
end
|
198
|
+
|
174
199
|
if attributes.key?(:'username')
|
175
200
|
self.username = attributes[:'username']
|
176
201
|
end
|
@@ -207,6 +232,12 @@ module PulpAnsibleClient
|
|
207
232
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
208
233
|
end
|
209
234
|
|
235
|
+
if attributes.key?(:'headers')
|
236
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
237
|
+
self.headers = value
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
210
241
|
if attributes.key?(:'rate_limit')
|
211
242
|
self.rate_limit = attributes[:'rate_limit']
|
212
243
|
end
|
@@ -322,6 +353,8 @@ module PulpAnsibleClient
|
|
322
353
|
client_key == o.client_key &&
|
323
354
|
tls_validation == o.tls_validation &&
|
324
355
|
proxy_url == o.proxy_url &&
|
356
|
+
proxy_username == o.proxy_username &&
|
357
|
+
proxy_password == o.proxy_password &&
|
325
358
|
username == o.username &&
|
326
359
|
password == o.password &&
|
327
360
|
pulp_labels == o.pulp_labels &&
|
@@ -331,6 +364,7 @@ module PulpAnsibleClient
|
|
331
364
|
connect_timeout == o.connect_timeout &&
|
332
365
|
sock_connect_timeout == o.sock_connect_timeout &&
|
333
366
|
sock_read_timeout == o.sock_read_timeout &&
|
367
|
+
headers == o.headers &&
|
334
368
|
rate_limit == o.rate_limit
|
335
369
|
end
|
336
370
|
|
@@ -343,7 +377,7 @@ module PulpAnsibleClient
|
|
343
377
|
# Calculates hash code according to all attributes.
|
344
378
|
# @return [Integer] Hash code
|
345
379
|
def hash
|
346
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
|
380
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
|
347
381
|
end
|
348
382
|
|
349
383
|
# 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
|
|
@@ -32,21 +32,12 @@ module PulpAnsibleClient
|
|
32
32
|
# A PEM encoded client certificate used for authentication.
|
33
33
|
attr_accessor :client_cert
|
34
34
|
|
35
|
-
# A PEM encoded private key used for authentication.
|
36
|
-
attr_accessor :client_key
|
37
|
-
|
38
35
|
# If True, TLS peer validation must be performed.
|
39
36
|
attr_accessor :tls_validation
|
40
37
|
|
41
|
-
# The proxy URL. Format: scheme://
|
38
|
+
# The proxy URL. Format: scheme://host:port
|
42
39
|
attr_accessor :proxy_url
|
43
40
|
|
44
|
-
# The username to be used for authentication when syncing.
|
45
|
-
attr_accessor :username
|
46
|
-
|
47
|
-
# The password to be used for authentication when syncing.
|
48
|
-
attr_accessor :password
|
49
|
-
|
50
41
|
attr_accessor :pulp_labels
|
51
42
|
|
52
43
|
# Timestamp of the most recent update of the remote.
|
@@ -70,6 +61,9 @@ module PulpAnsibleClient
|
|
70
61
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
71
62
|
attr_accessor :sock_read_timeout
|
72
63
|
|
64
|
+
# Headers for aiohttp.Clientsession
|
65
|
+
attr_accessor :headers
|
66
|
+
|
73
67
|
# Limits total download rate in requests per second
|
74
68
|
attr_accessor :rate_limit
|
75
69
|
|
@@ -82,11 +76,8 @@ module PulpAnsibleClient
|
|
82
76
|
:'url' => :'url',
|
83
77
|
:'ca_cert' => :'ca_cert',
|
84
78
|
:'client_cert' => :'client_cert',
|
85
|
-
:'client_key' => :'client_key',
|
86
79
|
:'tls_validation' => :'tls_validation',
|
87
80
|
:'proxy_url' => :'proxy_url',
|
88
|
-
:'username' => :'username',
|
89
|
-
:'password' => :'password',
|
90
81
|
:'pulp_labels' => :'pulp_labels',
|
91
82
|
:'pulp_last_updated' => :'pulp_last_updated',
|
92
83
|
:'download_concurrency' => :'download_concurrency',
|
@@ -95,6 +86,7 @@ module PulpAnsibleClient
|
|
95
86
|
:'connect_timeout' => :'connect_timeout',
|
96
87
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
97
88
|
:'sock_read_timeout' => :'sock_read_timeout',
|
89
|
+
:'headers' => :'headers',
|
98
90
|
:'rate_limit' => :'rate_limit'
|
99
91
|
}
|
100
92
|
end
|
@@ -108,11 +100,8 @@ module PulpAnsibleClient
|
|
108
100
|
:'url' => :'String',
|
109
101
|
:'ca_cert' => :'String',
|
110
102
|
:'client_cert' => :'String',
|
111
|
-
:'client_key' => :'String',
|
112
103
|
:'tls_validation' => :'Boolean',
|
113
104
|
:'proxy_url' => :'String',
|
114
|
-
:'username' => :'String',
|
115
|
-
:'password' => :'String',
|
116
105
|
:'pulp_labels' => :'Object',
|
117
106
|
:'pulp_last_updated' => :'DateTime',
|
118
107
|
:'download_concurrency' => :'Integer',
|
@@ -121,6 +110,7 @@ module PulpAnsibleClient
|
|
121
110
|
:'connect_timeout' => :'Float',
|
122
111
|
:'sock_connect_timeout' => :'Float',
|
123
112
|
:'sock_read_timeout' => :'Float',
|
113
|
+
:'headers' => :'Array<Object>',
|
124
114
|
:'rate_limit' => :'Integer'
|
125
115
|
}
|
126
116
|
end
|
@@ -130,10 +120,7 @@ module PulpAnsibleClient
|
|
130
120
|
Set.new([
|
131
121
|
:'ca_cert',
|
132
122
|
:'client_cert',
|
133
|
-
:'client_key',
|
134
123
|
:'proxy_url',
|
135
|
-
:'username',
|
136
|
-
:'password',
|
137
124
|
:'total_timeout',
|
138
125
|
:'connect_timeout',
|
139
126
|
:'sock_connect_timeout',
|
@@ -181,10 +168,6 @@ module PulpAnsibleClient
|
|
181
168
|
self.client_cert = attributes[:'client_cert']
|
182
169
|
end
|
183
170
|
|
184
|
-
if attributes.key?(:'client_key')
|
185
|
-
self.client_key = attributes[:'client_key']
|
186
|
-
end
|
187
|
-
|
188
171
|
if attributes.key?(:'tls_validation')
|
189
172
|
self.tls_validation = attributes[:'tls_validation']
|
190
173
|
end
|
@@ -193,14 +176,6 @@ module PulpAnsibleClient
|
|
193
176
|
self.proxy_url = attributes[:'proxy_url']
|
194
177
|
end
|
195
178
|
|
196
|
-
if attributes.key?(:'username')
|
197
|
-
self.username = attributes[:'username']
|
198
|
-
end
|
199
|
-
|
200
|
-
if attributes.key?(:'password')
|
201
|
-
self.password = attributes[:'password']
|
202
|
-
end
|
203
|
-
|
204
179
|
if attributes.key?(:'pulp_labels')
|
205
180
|
self.pulp_labels = attributes[:'pulp_labels']
|
206
181
|
end
|
@@ -233,6 +208,12 @@ module PulpAnsibleClient
|
|
233
208
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
234
209
|
end
|
235
210
|
|
211
|
+
if attributes.key?(:'headers')
|
212
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
213
|
+
self.headers = value
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
236
217
|
if attributes.key?(:'rate_limit')
|
237
218
|
self.rate_limit = attributes[:'rate_limit']
|
238
219
|
end
|
@@ -347,11 +328,8 @@ module PulpAnsibleClient
|
|
347
328
|
url == o.url &&
|
348
329
|
ca_cert == o.ca_cert &&
|
349
330
|
client_cert == o.client_cert &&
|
350
|
-
client_key == o.client_key &&
|
351
331
|
tls_validation == o.tls_validation &&
|
352
332
|
proxy_url == o.proxy_url &&
|
353
|
-
username == o.username &&
|
354
|
-
password == o.password &&
|
355
333
|
pulp_labels == o.pulp_labels &&
|
356
334
|
pulp_last_updated == o.pulp_last_updated &&
|
357
335
|
download_concurrency == o.download_concurrency &&
|
@@ -360,6 +338,7 @@ module PulpAnsibleClient
|
|
360
338
|
connect_timeout == o.connect_timeout &&
|
361
339
|
sock_connect_timeout == o.sock_connect_timeout &&
|
362
340
|
sock_read_timeout == o.sock_read_timeout &&
|
341
|
+
headers == o.headers &&
|
363
342
|
rate_limit == o.rate_limit
|
364
343
|
end
|
365
344
|
|
@@ -372,7 +351,7 @@ module PulpAnsibleClient
|
|
372
351
|
# Calculates hash code according to all attributes.
|
373
352
|
# @return [Integer] Hash code
|
374
353
|
def hash
|
375
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert,
|
354
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
|
376
355
|
end
|
377
356
|
|
378
357
|
# 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
|
|
@@ -15,14 +15,14 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
|
+
|
18
21
|
# Timestamp of creation.
|
19
22
|
attr_accessor :pulp_created
|
20
23
|
|
21
24
|
attr_accessor :pulp_href
|
22
25
|
|
23
|
-
# Artifact file representing the physical content
|
24
|
-
attr_accessor :artifact
|
25
|
-
|
26
26
|
attr_accessor :version
|
27
27
|
|
28
28
|
attr_accessor :name
|
@@ -32,9 +32,9 @@ module PulpAnsibleClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
+
:'artifact' => :'artifact',
|
35
36
|
:'pulp_created' => :'pulp_created',
|
36
37
|
:'pulp_href' => :'pulp_href',
|
37
|
-
:'artifact' => :'artifact',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
40
40
|
:'namespace' => :'namespace'
|
@@ -44,9 +44,9 @@ module PulpAnsibleClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
+
:'artifact' => :'String',
|
47
48
|
:'pulp_created' => :'DateTime',
|
48
49
|
:'pulp_href' => :'String',
|
49
|
-
:'artifact' => :'String',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -74,6 +74,10 @@ module PulpAnsibleClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
+
if attributes.key?(:'artifact')
|
78
|
+
self.artifact = attributes[:'artifact']
|
79
|
+
end
|
80
|
+
|
77
81
|
if attributes.key?(:'pulp_created')
|
78
82
|
self.pulp_created = attributes[:'pulp_created']
|
79
83
|
end
|
@@ -82,10 +86,6 @@ module PulpAnsibleClient
|
|
82
86
|
self.pulp_href = attributes[:'pulp_href']
|
83
87
|
end
|
84
88
|
|
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
|
@@ -137,9 +137,9 @@ module PulpAnsibleClient
|
|
137
137
|
def ==(o)
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
|
+
artifact == o.artifact &&
|
140
141
|
pulp_created == o.pulp_created &&
|
141
142
|
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, pulp_href,
|
157
|
+
[artifact, pulp_created, pulp_href, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|