pulp_ansible_client 0.15.6 → 0.16.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 +7 -8
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -3
- data/docs/AnsibleCollectionVersion.md +10 -8
- data/docs/AnsibleCollectionVersionResponse.md +23 -23
- data/docs/AnsibleCollectionsApi.md +5 -5
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +24 -26
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +2 -4
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +5 -5
- data/docs/ApiRolesApi.md +5 -5
- data/docs/CollectionImportApi.md +5 -5
- data/docs/ContentCollectionDeprecationsApi.md +9 -9
- data/docs/ContentCollectionSignaturesApi.md +11 -11
- data/docs/ContentCollectionVersionsApi.md +22 -20
- data/docs/ContentRolesApi.md +9 -9
- data/docs/DistributionsAnsibleApi.md +13 -13
- data/docs/GalaxyDetailApi.md +5 -5
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/PulpAnsibleApiApi.md +5 -5
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3Api.md +5 -5
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleTagsApi.md +5 -5
- data/docs/RemotesCollectionApi.md +13 -13
- data/docs/RemotesGitApi.md +13 -13
- data/docs/RemotesRoleApi.md +13 -13
- data/docs/RepositoriesAnsibleApi.md +12 -12
- data/docs/RepositoriesAnsibleVersionsApi.md +13 -13
- data/docs/VersionsApi.md +9 -9
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +12 -12
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +43 -52
- data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +23 -37
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +75 -92
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +52 -160
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -250
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -159
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +27 -41
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +236 -238
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +22 -24
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +0 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -2
- 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 +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +4 -4
- data/spec/api/content_collection_signatures_api_spec.rb +4 -4
- data/spec/api/content_collection_versions_api_spec.rb +9 -8
- data/spec/api/content_roles_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +6 -6
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +6 -6
- data/spec/api/remotes_git_api_spec.rb +6 -6
- data/spec/api/remotes_role_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_api_spec.rb +5 -5
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +8 -8
- data/spec/models/ansible_collection_version_spec.rb +10 -4
- data/spec/models/ansible_git_remote_response_spec.rb +16 -22
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +0 -6
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +111 -115
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -225
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ansible_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -34,42 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.1'
|
40
37
|
- - ">="
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: 2.1.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.1'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.1'
|
50
47
|
- - ">="
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: 2.1.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.6'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 3.6.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.6'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '3.6'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 3.6.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.6'
|
73
73
|
description: Fetch, Upload, Organize, and Distribute Software Packages
|
74
74
|
email:
|
75
75
|
- pulp-list@redhat.com
|
@@ -87,7 +87,6 @@ files:
|
|
87
87
|
- docs/AnsibleCollection.md
|
88
88
|
- docs/AnsibleCollectionRemote.md
|
89
89
|
- docs/AnsibleCollectionRemoteResponse.md
|
90
|
-
- docs/AnsibleCollectionRemoteResponseHiddenFields.md
|
91
90
|
- docs/AnsibleCollectionResponse.md
|
92
91
|
- docs/AnsibleCollectionVersion.md
|
93
92
|
- docs/AnsibleCollectionVersionResponse.md
|
@@ -268,7 +267,6 @@ files:
|
|
268
267
|
- lib/pulp_ansible_client/models/ansible_collection.rb
|
269
268
|
- lib/pulp_ansible_client/models/ansible_collection_remote.rb
|
270
269
|
- lib/pulp_ansible_client/models/ansible_collection_remote_response.rb
|
271
|
-
- lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb
|
272
270
|
- lib/pulp_ansible_client/models/ansible_collection_response.rb
|
273
271
|
- lib/pulp_ansible_client/models/ansible_collection_version.rb
|
274
272
|
- lib/pulp_ansible_client/models/ansible_collection_version_response.rb
|
@@ -394,7 +392,6 @@ files:
|
|
394
392
|
- spec/models/ansible_ansible_distribution_spec.rb
|
395
393
|
- spec/models/ansible_ansible_repository_response_spec.rb
|
396
394
|
- spec/models/ansible_ansible_repository_spec.rb
|
397
|
-
- spec/models/ansible_collection_remote_response_hidden_fields_spec.rb
|
398
395
|
- spec/models/ansible_collection_remote_response_spec.rb
|
399
396
|
- spec/models/ansible_collection_remote_spec.rb
|
400
397
|
- spec/models/ansible_collection_response_spec.rb
|
@@ -483,136 +480,135 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
483
480
|
- !ruby/object:Gem::Version
|
484
481
|
version: '0'
|
485
482
|
requirements: []
|
486
|
-
rubygems_version: 3.3.
|
483
|
+
rubygems_version: 3.0.3.1
|
487
484
|
signing_key:
|
488
485
|
specification_version: 4
|
489
486
|
summary: Pulp 3 API Ruby Gem
|
490
487
|
test_files:
|
491
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
492
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
493
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
494
|
-
- spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb
|
495
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
496
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
497
|
-
- spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb
|
498
|
-
- spec/api/pulp_ansible_api_v3_collections_api_spec.rb
|
499
|
-
- spec/api/distributions_ansible_api_spec.rb
|
500
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
501
|
-
- spec/api/remotes_role_api_spec.rb
|
502
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
503
|
-
- spec/api/repositories_ansible_api_spec.rb
|
504
488
|
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
505
|
-
- spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb
|
506
|
-
- spec/api/repositories_ansible_versions_api_spec.rb
|
507
|
-
- spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
|
508
|
-
- spec/api/pulp_ansible_tags_api_spec.rb
|
509
|
-
- spec/api/content_collection_versions_api_spec.rb
|
510
|
-
- spec/api/content_collection_signatures_api_spec.rb
|
511
|
-
- spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
|
512
|
-
- spec/api/pulp_ansible_api_v3_api_spec.rb
|
513
489
|
- spec/api/pulp_ansible_api_api_spec.rb
|
514
|
-
- spec/api/content_collection_deprecations_api_spec.rb
|
515
|
-
- spec/api/content_roles_api_spec.rb
|
516
490
|
- spec/api/ansible_copy_api_spec.rb
|
517
|
-
- spec/api/
|
518
|
-
- spec/api/versions_api_spec.rb
|
491
|
+
- spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb
|
519
492
|
- spec/api/api_collections_api_spec.rb
|
520
|
-
- spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb
|
521
|
-
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb
|
522
493
|
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
523
|
-
- spec/api/
|
524
|
-
- spec/api/
|
525
|
-
- spec/api/
|
526
|
-
- spec/api/
|
527
|
-
- spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
|
494
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
495
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
496
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb
|
497
|
+
- spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb
|
528
498
|
- spec/api/galaxy_detail_api_spec.rb
|
529
|
-
- spec/api/
|
499
|
+
- spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb
|
500
|
+
- spec/api/api_roles_api_spec.rb
|
530
501
|
- spec/api/collection_import_api_spec.rb
|
502
|
+
- spec/api/repositories_ansible_api_spec.rb
|
503
|
+
- spec/api/pulp_ansible_tags_api_spec.rb
|
531
504
|
- spec/api/remotes_collection_api_spec.rb
|
532
|
-
- spec/api/
|
533
|
-
- spec/api/
|
505
|
+
- spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb
|
506
|
+
- spec/api/versions_api_spec.rb
|
534
507
|
- spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb
|
535
|
-
- spec/api/
|
508
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
|
509
|
+
- spec/api/pulp_ansible_default_api_v3_api_spec.rb
|
510
|
+
- spec/api/pulp_ansible_api_v3_api_spec.rb
|
511
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb
|
512
|
+
- spec/api/pulp_ansible_api_v3_collections_api_spec.rb
|
513
|
+
- spec/api/pulp_ansible_default_api_api_spec.rb
|
514
|
+
- spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb
|
515
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb
|
536
516
|
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb
|
537
|
-
- spec/api/
|
517
|
+
- spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb
|
518
|
+
- spec/api/content_collection_deprecations_api_spec.rb
|
538
519
|
- spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb
|
539
|
-
- spec/api/
|
520
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb
|
521
|
+
- spec/api/content_collection_signatures_api_spec.rb
|
522
|
+
- spec/api/content_collection_versions_api_spec.rb
|
523
|
+
- spec/api/ansible_collections_api_spec.rb
|
524
|
+
- spec/api/content_roles_api_spec.rb
|
540
525
|
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb
|
541
|
-
- spec/api/
|
526
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb
|
527
|
+
- spec/api/repositories_ansible_versions_api_spec.rb
|
528
|
+
- spec/api/distributions_ansible_api_spec.rb
|
529
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
530
|
+
- spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
|
542
531
|
- spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb
|
532
|
+
- spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb
|
533
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb
|
534
|
+
- spec/api/remotes_git_api_spec.rb
|
535
|
+
- spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb
|
536
|
+
- spec/api/remotes_role_api_spec.rb
|
537
|
+
- spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
|
538
|
+
- spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb
|
539
|
+
- spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb
|
543
540
|
- spec/api_client_spec.rb
|
544
541
|
- spec/configuration_spec.rb
|
545
|
-
- spec/models/
|
546
|
-
- spec/models/ansible_role_response_spec.rb
|
547
|
-
- spec/models/repository_version_response_spec.rb
|
548
|
-
- spec/models/repository_add_remove_content_spec.rb
|
549
|
-
- spec/models/paginated_collection_response_list_meta_spec.rb
|
550
|
-
- spec/models/ansible_ansible_distribution_response_spec.rb
|
551
|
-
- spec/models/ansible_git_remote_response_spec.rb
|
552
|
-
- spec/models/paginatedansible_collection_version_response_list_spec.rb
|
553
|
-
- spec/models/ansible_collection_remote_response_spec.rb
|
554
|
-
- spec/models/ansible_collection_version_spec.rb
|
555
|
-
- spec/models/collection_one_shot_spec.rb
|
542
|
+
- spec/models/tag_response_spec.rb
|
556
543
|
- spec/models/paginated_tag_response_list_spec.rb
|
557
|
-
- spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
|
558
|
-
- spec/models/paginatedansible_ansible_repository_response_list_spec.rb
|
559
|
-
- spec/models/patchedansible_role_remote_spec.rb
|
560
544
|
- spec/models/paginatedansible_role_remote_response_list_spec.rb
|
561
|
-
- spec/models/collection_ref_response_spec.rb
|
562
|
-
- spec/models/ansible_role_remote_spec.rb
|
563
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
564
545
|
- spec/models/repo_metadata_response_spec.rb
|
565
|
-
- spec/models/
|
566
|
-
- spec/models/ansible_repository_sync_url_spec.rb
|
567
|
-
- spec/models/ansible_ansible_repository_response_spec.rb
|
546
|
+
- spec/models/paginatedansible_git_remote_response_list_spec.rb
|
568
547
|
- spec/models/ansible_role_spec.rb
|
569
|
-
- spec/models/
|
570
|
-
- spec/models/galaxy_collection_spec.rb
|
571
|
-
- spec/models/paginated_galaxy_collection_version_response_list_spec.rb
|
572
|
-
- spec/models/policy_enum_spec.rb
|
573
|
-
- spec/models/unpaginated_collection_version_response_spec.rb
|
548
|
+
- spec/models/ansible_ansible_repository_spec.rb
|
574
549
|
- spec/models/paginated_collection_version_list_response_list_spec.rb
|
550
|
+
- spec/models/patchedansible_collection_remote_spec.rb
|
551
|
+
- spec/models/ansible_collection_version_signature_response_spec.rb
|
552
|
+
- spec/models/patchedansible_ansible_repository_spec.rb
|
553
|
+
- spec/models/patchedansible_role_remote_spec.rb
|
554
|
+
- spec/models/collection_version_list_response_spec.rb
|
555
|
+
- spec/models/async_operation_response_spec.rb
|
575
556
|
- spec/models/paginated_galaxy_role_response_list_spec.rb
|
576
|
-
- spec/models/
|
557
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
558
|
+
- spec/models/repair_spec.rb
|
559
|
+
- spec/models/ansible_role_remote_spec.rb
|
560
|
+
- spec/models/galaxy_role_version_response_spec.rb
|
577
561
|
- spec/models/paginated_collection_response_list_spec.rb
|
578
|
-
- spec/models/
|
579
|
-
- spec/models/ansible_collection_spec.rb
|
580
|
-
- spec/models/ansible_ansible_distribution_spec.rb
|
562
|
+
- spec/models/ansible_ansible_distribution_response_spec.rb
|
581
563
|
- spec/models/galaxy_collection_version_response_spec.rb
|
582
|
-
- spec/models/
|
583
|
-
- spec/models/collection_import_detail_response_spec.rb
|
584
|
-
- spec/models/paginatedansible_role_response_list_spec.rb
|
585
|
-
- spec/models/collection_response_spec.rb
|
586
|
-
- spec/models/ansible_tag_response_spec.rb
|
587
|
-
- spec/models/galaxy_role_response_spec.rb
|
588
|
-
- spec/models/patchedansible_collection_remote_spec.rb
|
589
|
-
- spec/models/ansible_repository_signature_spec.rb
|
590
|
-
- spec/models/galaxy_collection_response_spec.rb
|
591
|
-
- spec/models/client_configuration_response_spec.rb
|
592
|
-
- spec/models/patchedansible_ansible_repository_spec.rb
|
593
|
-
- spec/models/content_summary_response_spec.rb
|
594
|
-
- spec/models/ansible_collection_response_spec.rb
|
564
|
+
- spec/models/ansible_collection_version_response_spec.rb
|
595
565
|
- spec/models/paginatedansible_collection_version_signature_response_list_spec.rb
|
596
|
-
- spec/models/
|
597
|
-
- spec/models/
|
566
|
+
- spec/models/ansible_role_response_spec.rb
|
567
|
+
- spec/models/galaxy_collection_response_spec.rb
|
568
|
+
- spec/models/artifact_ref_response_spec.rb
|
569
|
+
- spec/models/paginated_galaxy_collection_version_response_list_spec.rb
|
570
|
+
- spec/models/repository_version_response_spec.rb
|
571
|
+
- spec/models/ansible_repository_rebuild_spec.rb
|
572
|
+
- spec/models/collection_version_docs_response_spec.rb
|
573
|
+
- spec/models/copy_spec.rb
|
574
|
+
- spec/models/ansible_collection_version_spec.rb
|
575
|
+
- spec/models/paginatedansible_role_response_list_spec.rb
|
576
|
+
- spec/models/patchedansible_ansible_distribution_spec.rb
|
577
|
+
- spec/models/collection_metadata_response_spec.rb
|
598
578
|
- spec/models/ansible_collection_remote_spec.rb
|
599
|
-
- spec/models/
|
579
|
+
- spec/models/ansible_git_remote_response_spec.rb
|
580
|
+
- spec/models/patchedansible_git_remote_spec.rb
|
581
|
+
- spec/models/ansible_repository_signature_spec.rb
|
600
582
|
- spec/models/ansible_role_remote_response_spec.rb
|
601
|
-
- spec/models/ansible_collection_version_signature_response_spec.rb
|
602
|
-
- spec/models/collection_namespace_response_spec.rb
|
603
583
|
- spec/models/paginated_collection_response_list_links_spec.rb
|
604
|
-
- spec/models/
|
605
|
-
- spec/models/
|
584
|
+
- spec/models/ansible_ansible_repository_response_spec.rb
|
585
|
+
- spec/models/unpaginated_collection_version_response_spec.rb
|
586
|
+
- spec/models/paginatedansible_collection_version_response_list_spec.rb
|
587
|
+
- spec/models/ansible_git_remote_spec.rb
|
588
|
+
- spec/models/galaxy_collection_spec.rb
|
589
|
+
- spec/models/ansible_collection_response_spec.rb
|
590
|
+
- spec/models/paginated_collection_response_list_meta_spec.rb
|
591
|
+
- spec/models/collection_version_response_spec.rb
|
592
|
+
- spec/models/collection_namespace_response_spec.rb
|
593
|
+
- spec/models/ansible_collection_version_signature_spec.rb
|
594
|
+
- spec/models/collection_ref_response_spec.rb
|
595
|
+
- spec/models/ansible_collection_remote_response_spec.rb
|
596
|
+
- spec/models/paginatedansible_ansible_repository_response_list_spec.rb
|
597
|
+
- spec/models/paginatedansible_ansible_distribution_response_list_spec.rb
|
598
|
+
- spec/models/client_configuration_response_spec.rb
|
606
599
|
- spec/models/paginated_galaxy_collection_response_list_spec.rb
|
607
600
|
- spec/models/paginatedansible_collection_remote_response_list_spec.rb
|
608
|
-
- spec/models/
|
609
|
-
- spec/models/artifact_ref_response_spec.rb
|
610
|
-
- spec/models/patchedansible_ansible_distribution_spec.rb
|
611
|
-
- spec/models/ansible_ansible_repository_spec.rb
|
612
|
-
- spec/models/repair_spec.rb
|
613
|
-
- spec/models/collection_version_list_response_spec.rb
|
614
|
-
- spec/models/ansible_collection_version_response_spec.rb
|
615
|
-
- spec/models/collection_metadata_response_spec.rb
|
616
|
-
- spec/models/collection_version_docs_response_spec.rb
|
601
|
+
- spec/models/repository_add_remove_content_spec.rb
|
617
602
|
- spec/models/paginated_galaxy_role_version_response_list_spec.rb
|
603
|
+
- spec/models/galaxy_role_response_spec.rb
|
604
|
+
- spec/models/ansible_repository_sync_url_spec.rb
|
605
|
+
- spec/models/collection_one_shot_spec.rb
|
606
|
+
- spec/models/ansible_ansible_distribution_spec.rb
|
607
|
+
- spec/models/ansible_tag_response_spec.rb
|
608
|
+
- spec/models/paginatedansible_collection_response_list_spec.rb
|
609
|
+
- spec/models/policy_enum_spec.rb
|
610
|
+
- spec/models/collection_import_detail_response_spec.rb
|
611
|
+
- spec/models/ansible_collection_spec.rb
|
612
|
+
- spec/models/content_summary_response_spec.rb
|
613
|
+
- spec/models/collection_response_spec.rb
|
618
614
|
- spec/spec_helper.rb
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | |
|
8
|
-
**is_set** | **Boolean** | |
|
9
|
-
|
10
|
-
## Code Sample
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'PulpAnsibleClient'
|
14
|
-
|
15
|
-
instance = PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields.new(name: null,
|
16
|
-
is_set: null)
|
17
|
-
```
|
18
|
-
|
19
|
-
|
@@ -1,225 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module PulpAnsibleClient
|
16
|
-
class AnsibleCollectionRemoteResponseHiddenFields
|
17
|
-
attr_accessor :name
|
18
|
-
|
19
|
-
attr_accessor :is_set
|
20
|
-
|
21
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
-
def self.attribute_map
|
23
|
-
{
|
24
|
-
:'name' => :'name',
|
25
|
-
:'is_set' => :'is_set'
|
26
|
-
}
|
27
|
-
end
|
28
|
-
|
29
|
-
# Attribute type mapping.
|
30
|
-
def self.openapi_types
|
31
|
-
{
|
32
|
-
:'name' => :'String',
|
33
|
-
:'is_set' => :'Boolean'
|
34
|
-
}
|
35
|
-
end
|
36
|
-
|
37
|
-
# List of attributes with nullable: true
|
38
|
-
def self.openapi_nullable
|
39
|
-
Set.new([
|
40
|
-
])
|
41
|
-
end
|
42
|
-
|
43
|
-
# Initializes the object
|
44
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
45
|
-
def initialize(attributes = {})
|
46
|
-
if (!attributes.is_a?(Hash))
|
47
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields` initialize method"
|
48
|
-
end
|
49
|
-
|
50
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
51
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
52
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
53
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
54
|
-
end
|
55
|
-
h[k.to_sym] = v
|
56
|
-
}
|
57
|
-
|
58
|
-
if attributes.key?(:'name')
|
59
|
-
self.name = attributes[:'name']
|
60
|
-
end
|
61
|
-
|
62
|
-
if attributes.key?(:'is_set')
|
63
|
-
self.is_set = attributes[:'is_set']
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
68
|
-
# @return Array for valid properties with the reasons
|
69
|
-
def list_invalid_properties
|
70
|
-
invalid_properties = Array.new
|
71
|
-
if @name.nil?
|
72
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
-
end
|
74
|
-
|
75
|
-
if @is_set.nil?
|
76
|
-
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
-
end
|
78
|
-
|
79
|
-
invalid_properties
|
80
|
-
end
|
81
|
-
|
82
|
-
# Check to see if the all the properties in the model are valid
|
83
|
-
# @return true if the model is valid
|
84
|
-
def valid?
|
85
|
-
return false if @name.nil?
|
86
|
-
return false if @is_set.nil?
|
87
|
-
true
|
88
|
-
end
|
89
|
-
|
90
|
-
# Checks equality by comparing each attribute.
|
91
|
-
# @param [Object] Object to be compared
|
92
|
-
def ==(o)
|
93
|
-
return true if self.equal?(o)
|
94
|
-
self.class == o.class &&
|
95
|
-
name == o.name &&
|
96
|
-
is_set == o.is_set
|
97
|
-
end
|
98
|
-
|
99
|
-
# @see the `==` method
|
100
|
-
# @param [Object] Object to be compared
|
101
|
-
def eql?(o)
|
102
|
-
self == o
|
103
|
-
end
|
104
|
-
|
105
|
-
# Calculates hash code according to all attributes.
|
106
|
-
# @return [Integer] Hash code
|
107
|
-
def hash
|
108
|
-
[name, is_set].hash
|
109
|
-
end
|
110
|
-
|
111
|
-
# Builds the object from hash
|
112
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
113
|
-
# @return [Object] Returns the model itself
|
114
|
-
def self.build_from_hash(attributes)
|
115
|
-
new.build_from_hash(attributes)
|
116
|
-
end
|
117
|
-
|
118
|
-
# Builds the object from hash
|
119
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
120
|
-
# @return [Object] Returns the model itself
|
121
|
-
def build_from_hash(attributes)
|
122
|
-
return nil unless attributes.is_a?(Hash)
|
123
|
-
self.class.openapi_types.each_pair do |key, type|
|
124
|
-
if type =~ /\AArray<(.*)>/i
|
125
|
-
# check to ensure the input is an array given that the attribute
|
126
|
-
# is documented as an array but the input is not
|
127
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
128
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
129
|
-
end
|
130
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
131
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
132
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
133
|
-
end
|
134
|
-
|
135
|
-
self
|
136
|
-
end
|
137
|
-
|
138
|
-
# Deserializes the data based on type
|
139
|
-
# @param string type Data type
|
140
|
-
# @param string value Value to be deserialized
|
141
|
-
# @return [Object] Deserialized data
|
142
|
-
def _deserialize(type, value)
|
143
|
-
case type.to_sym
|
144
|
-
when :DateTime
|
145
|
-
DateTime.parse(value)
|
146
|
-
when :Date
|
147
|
-
Date.parse(value)
|
148
|
-
when :String
|
149
|
-
value.to_s
|
150
|
-
when :Integer
|
151
|
-
value.to_i
|
152
|
-
when :Float
|
153
|
-
value.to_f
|
154
|
-
when :Boolean
|
155
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
156
|
-
true
|
157
|
-
else
|
158
|
-
false
|
159
|
-
end
|
160
|
-
when :Object
|
161
|
-
# generic object (usually a Hash), return directly
|
162
|
-
value
|
163
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
164
|
-
inner_type = Regexp.last_match[:inner_type]
|
165
|
-
value.map { |v| _deserialize(inner_type, v) }
|
166
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
167
|
-
k_type = Regexp.last_match[:k_type]
|
168
|
-
v_type = Regexp.last_match[:v_type]
|
169
|
-
{}.tap do |hash|
|
170
|
-
value.each do |k, v|
|
171
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
172
|
-
end
|
173
|
-
end
|
174
|
-
else # model
|
175
|
-
PulpAnsibleClient.const_get(type).build_from_hash(value)
|
176
|
-
end
|
177
|
-
end
|
178
|
-
|
179
|
-
# Returns the string representation of the object
|
180
|
-
# @return [String] String presentation of the object
|
181
|
-
def to_s
|
182
|
-
to_hash.to_s
|
183
|
-
end
|
184
|
-
|
185
|
-
# to_body is an alias to to_hash (backward compatibility)
|
186
|
-
# @return [Hash] Returns the object in the form of hash
|
187
|
-
def to_body
|
188
|
-
to_hash
|
189
|
-
end
|
190
|
-
|
191
|
-
# Returns the object in the form of hash
|
192
|
-
# @return [Hash] Returns the object in the form of hash
|
193
|
-
def to_hash
|
194
|
-
hash = {}
|
195
|
-
self.class.attribute_map.each_pair do |attr, param|
|
196
|
-
value = self.send(attr)
|
197
|
-
if value.nil?
|
198
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
199
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
200
|
-
end
|
201
|
-
|
202
|
-
hash[param] = _to_hash(value)
|
203
|
-
end
|
204
|
-
hash
|
205
|
-
end
|
206
|
-
|
207
|
-
# Outputs non-array value in the form of hash
|
208
|
-
# For object, use to_hash. Otherwise, just return the value
|
209
|
-
# @param [Object] value Any valid value
|
210
|
-
# @return [Hash] Returns the value in the form of hash
|
211
|
-
def _to_hash(value)
|
212
|
-
if value.is_a?(Array)
|
213
|
-
value.compact.map { |v| _to_hash(v) }
|
214
|
-
elsif value.is_a?(Hash)
|
215
|
-
{}.tap do |hash|
|
216
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
217
|
-
end
|
218
|
-
elsif value.respond_to? :to_hash
|
219
|
-
value.to_hash
|
220
|
-
else
|
221
|
-
value
|
222
|
-
end
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'AnsibleCollectionRemoteResponseHiddenFields' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of AnsibleCollectionRemoteResponseHiddenFields' do
|
31
|
-
it 'should create an instance of AnsibleCollectionRemoteResponseHiddenFields' do
|
32
|
-
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionRemoteResponseHiddenFields)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "name"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "is_set"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|