pulp_ansible_client 0.21.19 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -22
- data/docs/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -8
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleCollectionsApi.md +65 -21
- data/docs/AnsibleCopyApi.md +3 -7
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiRolesApi.md +1 -3
- data/docs/CollectionImportApi.md +1 -3
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +2 -0
- data/docs/ContentCollectionDeprecationsApi.md +3 -11
- data/docs/ContentCollectionMarksApi.md +3 -11
- data/docs/ContentCollectionSignaturesApi.md +1 -7
- data/docs/ContentCollectionVersionsApi.md +5 -11
- data/docs/ContentNamespacesApi.md +1 -7
- data/docs/ContentRolesApi.md +3 -11
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +17 -57
- data/docs/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -3
- data/docs/PulpAnsibleApiV3Api.md +1 -3
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -17
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -11
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +3 -15
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -24
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -9
- data/docs/PulpAnsibleDefaultApiApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3Api.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -17
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -11
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +3 -15
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +5 -12
- data/docs/PulpAnsibleTagsApi.md +1 -3
- data/docs/RemotesCollectionApi.md +17 -57
- data/docs/RemotesGitApi.md +17 -57
- data/docs/RemotesRoleApi.md +17 -57
- data/docs/RepositoriesAnsibleApi.md +33 -105
- data/docs/RepositoriesAnsibleVersionsApi.md +7 -23
- data/docs/VersionsApi.md +1 -60
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -18
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
- data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -15
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -9
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -32
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -15
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -75
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -42
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +16 -16
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +245 -245
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +140 -140
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +16 -1
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +229 -229
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -9
- data/spec/api/ansible_collections_api_spec.rb +14 -6
- data/spec/api/ansible_copy_api_spec.rb +0 -1
- data/spec/api/api_roles_api_spec.rb +0 -1
- data/spec/api/collection_import_api_spec.rb +0 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -3
- data/spec/api/content_collection_marks_api_spec.rb +0 -3
- data/spec/api/content_collection_signatures_api_spec.rb +0 -3
- data/spec/api/content_collection_versions_api_spec.rb +2 -5
- data/spec/api/content_namespaces_api_spec.rb +0 -3
- data/spec/api/content_roles_api_spec.rb +0 -3
- data/spec/api/distributions_ansible_api_spec.rb +0 -12
- data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -11
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -12
- data/spec/api/remotes_git_api_spec.rb +0 -12
- data/spec/api/remotes_role_api_spec.rb +0 -12
- data/spec/api/repositories_ansible_api_spec.rb +0 -20
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -5
- data/spec/api/versions_api_spec.rb +0 -16
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -16
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +4 -4
- data/spec/models/collection_version_search_list_spec.rb +6 -0
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +143 -175
- data/docs/ApiCollectionsApi.md +0 -118
- data/docs/GalaxyCollection.md +0 -23
- data/docs/GalaxyCollectionResponse.md +0 -31
- data/docs/GalaxyCollectionVersionResponse.md +0 -27
- data/docs/GalaxyDetailApi.md +0 -63
- data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
- data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -68
- data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -165
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -91
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -107
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -266
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +0 -247
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -247
- data/spec/api/api_collections_api_spec.rb +0 -63
- data/spec/api/galaxy_detail_api_spec.rb +0 -49
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -52
- data/spec/models/galaxy_collection_response_spec.rb +0 -83
- data/spec/models/galaxy_collection_spec.rb +0 -59
- data/spec/models/galaxy_collection_version_response_spec.rb +0 -71
- data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
- data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +0 -59
|
@@ -15,61 +15,61 @@ require 'date'
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
16
|
# A serializer for Git Collection Remotes.
|
|
17
17
|
class AnsibleGitRemoteResponse
|
|
18
|
-
# Timestamp of
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
# Headers for aiohttp.Clientsession
|
|
22
|
-
attr_accessor :headers
|
|
18
|
+
# Timestamp of the most recent update of the remote.
|
|
19
|
+
attr_accessor :pulp_last_updated
|
|
23
20
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
21
|
+
# The URL of an external content source.
|
|
22
|
+
attr_accessor :url
|
|
26
23
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
24
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
25
|
+
attr_accessor :max_retries
|
|
29
26
|
|
|
30
27
|
# A PEM encoded client certificate used for authentication.
|
|
31
28
|
attr_accessor :client_cert
|
|
32
29
|
|
|
33
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
34
|
-
attr_accessor :total_timeout
|
|
35
|
-
|
|
36
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
37
|
-
attr_accessor :sock_connect_timeout
|
|
38
|
-
|
|
39
|
-
# The URL of an external content source.
|
|
40
|
-
attr_accessor :url
|
|
41
|
-
|
|
42
|
-
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
43
|
-
attr_accessor :ca_cert
|
|
44
|
-
|
|
45
30
|
# If True, TLS peer validation must be performed.
|
|
46
31
|
attr_accessor :tls_validation
|
|
47
32
|
|
|
48
|
-
#
|
|
49
|
-
attr_accessor :
|
|
33
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
34
|
+
attr_accessor :total_timeout
|
|
35
|
+
|
|
36
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
37
|
+
attr_accessor :connect_timeout
|
|
50
38
|
|
|
51
39
|
# Limits requests per second for each concurrent downloader
|
|
52
40
|
attr_accessor :rate_limit
|
|
53
41
|
|
|
54
|
-
#
|
|
55
|
-
attr_accessor :
|
|
42
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
43
|
+
attr_accessor :sock_read_timeout
|
|
56
44
|
|
|
57
45
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
58
46
|
attr_accessor :download_concurrency
|
|
59
47
|
|
|
60
|
-
#
|
|
61
|
-
attr_accessor :
|
|
62
|
-
|
|
63
|
-
# Timestamp of the most recent update of the remote.
|
|
64
|
-
attr_accessor :pulp_last_updated
|
|
48
|
+
# Headers for aiohttp.Clientsession
|
|
49
|
+
attr_accessor :headers
|
|
65
50
|
|
|
66
51
|
# The proxy URL. Format: scheme://host:port
|
|
67
52
|
attr_accessor :proxy_url
|
|
68
53
|
|
|
54
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
55
|
+
attr_accessor :ca_cert
|
|
56
|
+
|
|
57
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
58
|
+
attr_accessor :sock_connect_timeout
|
|
59
|
+
|
|
69
60
|
attr_accessor :pulp_labels
|
|
70
61
|
|
|
62
|
+
# List of hidden (write only) fields
|
|
63
|
+
attr_accessor :hidden_fields
|
|
64
|
+
|
|
65
|
+
# A unique name for this remote.
|
|
66
|
+
attr_accessor :name
|
|
67
|
+
|
|
71
68
|
attr_accessor :pulp_href
|
|
72
69
|
|
|
70
|
+
# Timestamp of creation.
|
|
71
|
+
attr_accessor :pulp_created
|
|
72
|
+
|
|
73
73
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
|
74
74
|
attr_accessor :metadata_only
|
|
75
75
|
|
|
@@ -79,25 +79,25 @@ module PulpAnsibleClient
|
|
|
79
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
80
|
def self.attribute_map
|
|
81
81
|
{
|
|
82
|
-
:'
|
|
83
|
-
:'headers' => :'headers',
|
|
84
|
-
:'connect_timeout' => :'connect_timeout',
|
|
85
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
|
86
|
-
:'client_cert' => :'client_cert',
|
|
87
|
-
:'total_timeout' => :'total_timeout',
|
|
88
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
82
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
89
83
|
:'url' => :'url',
|
|
90
|
-
:'
|
|
84
|
+
:'max_retries' => :'max_retries',
|
|
85
|
+
:'client_cert' => :'client_cert',
|
|
91
86
|
:'tls_validation' => :'tls_validation',
|
|
92
|
-
:'
|
|
87
|
+
:'total_timeout' => :'total_timeout',
|
|
88
|
+
:'connect_timeout' => :'connect_timeout',
|
|
93
89
|
:'rate_limit' => :'rate_limit',
|
|
94
|
-
:'
|
|
90
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
|
95
91
|
:'download_concurrency' => :'download_concurrency',
|
|
96
|
-
:'
|
|
97
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
92
|
+
:'headers' => :'headers',
|
|
98
93
|
:'proxy_url' => :'proxy_url',
|
|
94
|
+
:'ca_cert' => :'ca_cert',
|
|
95
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
99
96
|
:'pulp_labels' => :'pulp_labels',
|
|
97
|
+
:'hidden_fields' => :'hidden_fields',
|
|
98
|
+
:'name' => :'name',
|
|
100
99
|
:'pulp_href' => :'pulp_href',
|
|
100
|
+
:'pulp_created' => :'pulp_created',
|
|
101
101
|
:'metadata_only' => :'metadata_only',
|
|
102
102
|
:'git_ref' => :'git_ref'
|
|
103
103
|
}
|
|
@@ -106,25 +106,25 @@ module PulpAnsibleClient
|
|
|
106
106
|
# Attribute type mapping.
|
|
107
107
|
def self.openapi_types
|
|
108
108
|
{
|
|
109
|
-
:'
|
|
110
|
-
:'headers' => :'Array<Object>',
|
|
111
|
-
:'connect_timeout' => :'Float',
|
|
112
|
-
:'sock_read_timeout' => :'Float',
|
|
113
|
-
:'client_cert' => :'String',
|
|
114
|
-
:'total_timeout' => :'Float',
|
|
115
|
-
:'sock_connect_timeout' => :'Float',
|
|
109
|
+
:'pulp_last_updated' => :'DateTime',
|
|
116
110
|
:'url' => :'String',
|
|
117
|
-
:'
|
|
111
|
+
:'max_retries' => :'Integer',
|
|
112
|
+
:'client_cert' => :'String',
|
|
118
113
|
:'tls_validation' => :'Boolean',
|
|
119
|
-
:'
|
|
114
|
+
:'total_timeout' => :'Float',
|
|
115
|
+
:'connect_timeout' => :'Float',
|
|
120
116
|
:'rate_limit' => :'Integer',
|
|
121
|
-
:'
|
|
117
|
+
:'sock_read_timeout' => :'Float',
|
|
122
118
|
:'download_concurrency' => :'Integer',
|
|
123
|
-
:'
|
|
124
|
-
:'pulp_last_updated' => :'DateTime',
|
|
119
|
+
:'headers' => :'Array<Object>',
|
|
125
120
|
:'proxy_url' => :'String',
|
|
121
|
+
:'ca_cert' => :'String',
|
|
122
|
+
:'sock_connect_timeout' => :'Float',
|
|
126
123
|
:'pulp_labels' => :'Hash<String, String>',
|
|
124
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
|
125
|
+
:'name' => :'String',
|
|
127
126
|
:'pulp_href' => :'String',
|
|
127
|
+
:'pulp_created' => :'DateTime',
|
|
128
128
|
:'metadata_only' => :'Boolean',
|
|
129
129
|
:'git_ref' => :'String'
|
|
130
130
|
}
|
|
@@ -133,16 +133,16 @@ module PulpAnsibleClient
|
|
|
133
133
|
# List of attributes with nullable: true
|
|
134
134
|
def self.openapi_nullable
|
|
135
135
|
Set.new([
|
|
136
|
-
:'
|
|
137
|
-
:'sock_read_timeout',
|
|
136
|
+
:'max_retries',
|
|
138
137
|
:'client_cert',
|
|
139
138
|
:'total_timeout',
|
|
140
|
-
:'
|
|
141
|
-
:'ca_cert',
|
|
139
|
+
:'connect_timeout',
|
|
142
140
|
:'rate_limit',
|
|
141
|
+
:'sock_read_timeout',
|
|
143
142
|
:'download_concurrency',
|
|
144
|
-
:'max_retries',
|
|
145
143
|
:'proxy_url',
|
|
144
|
+
:'ca_cert',
|
|
145
|
+
:'sock_connect_timeout',
|
|
146
146
|
])
|
|
147
147
|
end
|
|
148
148
|
|
|
@@ -161,88 +161,88 @@ module PulpAnsibleClient
|
|
|
161
161
|
h[k.to_sym] = v
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
if attributes.key?(:'
|
|
165
|
-
self.
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
if attributes.key?(:'headers')
|
|
169
|
-
if (value = attributes[:'headers']).is_a?(Array)
|
|
170
|
-
self.headers = value
|
|
171
|
-
end
|
|
164
|
+
if attributes.key?(:'pulp_last_updated')
|
|
165
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
172
166
|
end
|
|
173
167
|
|
|
174
|
-
if attributes.key?(:'
|
|
175
|
-
self.
|
|
168
|
+
if attributes.key?(:'url')
|
|
169
|
+
self.url = attributes[:'url']
|
|
176
170
|
end
|
|
177
171
|
|
|
178
|
-
if attributes.key?(:'
|
|
179
|
-
self.
|
|
172
|
+
if attributes.key?(:'max_retries')
|
|
173
|
+
self.max_retries = attributes[:'max_retries']
|
|
180
174
|
end
|
|
181
175
|
|
|
182
176
|
if attributes.key?(:'client_cert')
|
|
183
177
|
self.client_cert = attributes[:'client_cert']
|
|
184
178
|
end
|
|
185
179
|
|
|
186
|
-
if attributes.key?(:'total_timeout')
|
|
187
|
-
self.total_timeout = attributes[:'total_timeout']
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
if attributes.key?(:'sock_connect_timeout')
|
|
191
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
if attributes.key?(:'url')
|
|
195
|
-
self.url = attributes[:'url']
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
if attributes.key?(:'ca_cert')
|
|
199
|
-
self.ca_cert = attributes[:'ca_cert']
|
|
200
|
-
end
|
|
201
|
-
|
|
202
180
|
if attributes.key?(:'tls_validation')
|
|
203
181
|
self.tls_validation = attributes[:'tls_validation']
|
|
204
182
|
end
|
|
205
183
|
|
|
206
|
-
if attributes.key?(:'
|
|
207
|
-
self.
|
|
184
|
+
if attributes.key?(:'total_timeout')
|
|
185
|
+
self.total_timeout = attributes[:'total_timeout']
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
if attributes.key?(:'connect_timeout')
|
|
189
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
|
208
190
|
end
|
|
209
191
|
|
|
210
192
|
if attributes.key?(:'rate_limit')
|
|
211
193
|
self.rate_limit = attributes[:'rate_limit']
|
|
212
194
|
end
|
|
213
195
|
|
|
214
|
-
if attributes.key?(:'
|
|
215
|
-
|
|
216
|
-
self.hidden_fields = value
|
|
217
|
-
end
|
|
196
|
+
if attributes.key?(:'sock_read_timeout')
|
|
197
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
218
198
|
end
|
|
219
199
|
|
|
220
200
|
if attributes.key?(:'download_concurrency')
|
|
221
201
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
222
202
|
end
|
|
223
203
|
|
|
224
|
-
if attributes.key?(:'
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
if attributes.key?(:'pulp_last_updated')
|
|
229
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
204
|
+
if attributes.key?(:'headers')
|
|
205
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
|
206
|
+
self.headers = value
|
|
207
|
+
end
|
|
230
208
|
end
|
|
231
209
|
|
|
232
210
|
if attributes.key?(:'proxy_url')
|
|
233
211
|
self.proxy_url = attributes[:'proxy_url']
|
|
234
212
|
end
|
|
235
213
|
|
|
214
|
+
if attributes.key?(:'ca_cert')
|
|
215
|
+
self.ca_cert = attributes[:'ca_cert']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes.key?(:'sock_connect_timeout')
|
|
219
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
|
220
|
+
end
|
|
221
|
+
|
|
236
222
|
if attributes.key?(:'pulp_labels')
|
|
237
223
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
238
224
|
self.pulp_labels = value
|
|
239
225
|
end
|
|
240
226
|
end
|
|
241
227
|
|
|
228
|
+
if attributes.key?(:'hidden_fields')
|
|
229
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
|
230
|
+
self.hidden_fields = value
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
if attributes.key?(:'name')
|
|
235
|
+
self.name = attributes[:'name']
|
|
236
|
+
end
|
|
237
|
+
|
|
242
238
|
if attributes.key?(:'pulp_href')
|
|
243
239
|
self.pulp_href = attributes[:'pulp_href']
|
|
244
240
|
end
|
|
245
241
|
|
|
242
|
+
if attributes.key?(:'pulp_created')
|
|
243
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
244
|
+
end
|
|
245
|
+
|
|
246
246
|
if attributes.key?(:'metadata_only')
|
|
247
247
|
self.metadata_only = attributes[:'metadata_only']
|
|
248
248
|
end
|
|
@@ -256,6 +256,14 @@ module PulpAnsibleClient
|
|
|
256
256
|
# @return Array for valid properties with the reasons
|
|
257
257
|
def list_invalid_properties
|
|
258
258
|
invalid_properties = Array.new
|
|
259
|
+
if @url.nil?
|
|
260
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
|
264
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
|
265
|
+
end
|
|
266
|
+
|
|
259
267
|
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
260
268
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
|
261
269
|
end
|
|
@@ -264,42 +272,44 @@ module PulpAnsibleClient
|
|
|
264
272
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
265
273
|
end
|
|
266
274
|
|
|
267
|
-
if !@
|
|
268
|
-
invalid_properties.push('invalid value for "
|
|
275
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
276
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
269
277
|
end
|
|
270
278
|
|
|
271
279
|
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
272
280
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
|
273
281
|
end
|
|
274
282
|
|
|
275
|
-
if @url.nil?
|
|
276
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
|
277
|
-
end
|
|
278
|
-
|
|
279
283
|
if @name.nil?
|
|
280
284
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
281
285
|
end
|
|
282
286
|
|
|
283
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
284
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
285
|
-
end
|
|
286
|
-
|
|
287
287
|
invalid_properties
|
|
288
288
|
end
|
|
289
289
|
|
|
290
290
|
# Check to see if the all the properties in the model are valid
|
|
291
291
|
# @return true if the model is valid
|
|
292
292
|
def valid?
|
|
293
|
+
return false if @url.nil?
|
|
294
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
|
293
295
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
294
296
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
295
|
-
return false if !@
|
|
297
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
296
298
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
297
|
-
return false if @url.nil?
|
|
298
299
|
return false if @name.nil?
|
|
299
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
300
300
|
true
|
|
301
301
|
end
|
|
302
302
|
|
|
303
|
+
# Custom attribute writer method with validation
|
|
304
|
+
# @param [Object] total_timeout Value to be assigned
|
|
305
|
+
def total_timeout=(total_timeout)
|
|
306
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
|
307
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
@total_timeout = total_timeout
|
|
311
|
+
end
|
|
312
|
+
|
|
303
313
|
# Custom attribute writer method with validation
|
|
304
314
|
# @param [Object] connect_timeout Value to be assigned
|
|
305
315
|
def connect_timeout=(connect_timeout)
|
|
@@ -321,13 +331,13 @@ module PulpAnsibleClient
|
|
|
321
331
|
end
|
|
322
332
|
|
|
323
333
|
# Custom attribute writer method with validation
|
|
324
|
-
# @param [Object]
|
|
325
|
-
def
|
|
326
|
-
if !
|
|
327
|
-
fail ArgumentError, 'invalid value for "
|
|
334
|
+
# @param [Object] download_concurrency Value to be assigned
|
|
335
|
+
def download_concurrency=(download_concurrency)
|
|
336
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
|
337
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
328
338
|
end
|
|
329
339
|
|
|
330
|
-
@
|
|
340
|
+
@download_concurrency = download_concurrency
|
|
331
341
|
end
|
|
332
342
|
|
|
333
343
|
# Custom attribute writer method with validation
|
|
@@ -340,40 +350,30 @@ module PulpAnsibleClient
|
|
|
340
350
|
@sock_connect_timeout = sock_connect_timeout
|
|
341
351
|
end
|
|
342
352
|
|
|
343
|
-
# Custom attribute writer method with validation
|
|
344
|
-
# @param [Object] download_concurrency Value to be assigned
|
|
345
|
-
def download_concurrency=(download_concurrency)
|
|
346
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
|
347
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
|
348
|
-
end
|
|
349
|
-
|
|
350
|
-
@download_concurrency = download_concurrency
|
|
351
|
-
end
|
|
352
|
-
|
|
353
353
|
# Checks equality by comparing each attribute.
|
|
354
354
|
# @param [Object] Object to be compared
|
|
355
355
|
def ==(o)
|
|
356
356
|
return true if self.equal?(o)
|
|
357
357
|
self.class == o.class &&
|
|
358
|
-
|
|
359
|
-
headers == o.headers &&
|
|
360
|
-
connect_timeout == o.connect_timeout &&
|
|
361
|
-
sock_read_timeout == o.sock_read_timeout &&
|
|
362
|
-
client_cert == o.client_cert &&
|
|
363
|
-
total_timeout == o.total_timeout &&
|
|
364
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
|
358
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
365
359
|
url == o.url &&
|
|
366
|
-
|
|
360
|
+
max_retries == o.max_retries &&
|
|
361
|
+
client_cert == o.client_cert &&
|
|
367
362
|
tls_validation == o.tls_validation &&
|
|
368
|
-
|
|
363
|
+
total_timeout == o.total_timeout &&
|
|
364
|
+
connect_timeout == o.connect_timeout &&
|
|
369
365
|
rate_limit == o.rate_limit &&
|
|
370
|
-
|
|
366
|
+
sock_read_timeout == o.sock_read_timeout &&
|
|
371
367
|
download_concurrency == o.download_concurrency &&
|
|
372
|
-
|
|
373
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
368
|
+
headers == o.headers &&
|
|
374
369
|
proxy_url == o.proxy_url &&
|
|
370
|
+
ca_cert == o.ca_cert &&
|
|
371
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
|
375
372
|
pulp_labels == o.pulp_labels &&
|
|
373
|
+
hidden_fields == o.hidden_fields &&
|
|
374
|
+
name == o.name &&
|
|
376
375
|
pulp_href == o.pulp_href &&
|
|
376
|
+
pulp_created == o.pulp_created &&
|
|
377
377
|
metadata_only == o.metadata_only &&
|
|
378
378
|
git_ref == o.git_ref
|
|
379
379
|
end
|
|
@@ -387,7 +387,7 @@ module PulpAnsibleClient
|
|
|
387
387
|
# Calculates hash code according to all attributes.
|
|
388
388
|
# @return [Integer] Hash code
|
|
389
389
|
def hash
|
|
390
|
-
[
|
|
390
|
+
[pulp_last_updated, url, max_retries, client_cert, tls_validation, total_timeout, connect_timeout, rate_limit, sock_read_timeout, download_concurrency, headers, proxy_url, ca_cert, sock_connect_timeout, pulp_labels, hidden_fields, name, pulp_href, pulp_created, metadata_only, git_ref].hash
|
|
391
391
|
end
|
|
392
392
|
|
|
393
393
|
# Builds the object from hash
|
|
@@ -15,9 +15,6 @@ require 'date'
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
16
|
# A serializer for Role versions.
|
|
17
17
|
class AnsibleRoleResponse
|
|
18
|
-
# Timestamp of creation.
|
|
19
|
-
attr_accessor :pulp_created
|
|
20
|
-
|
|
21
18
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
22
19
|
attr_accessor :pulp_last_updated
|
|
23
20
|
|
|
@@ -26,6 +23,9 @@ module PulpAnsibleClient
|
|
|
26
23
|
|
|
27
24
|
attr_accessor :pulp_href
|
|
28
25
|
|
|
26
|
+
# Timestamp of creation.
|
|
27
|
+
attr_accessor :pulp_created
|
|
28
|
+
|
|
29
29
|
attr_accessor :version
|
|
30
30
|
|
|
31
31
|
attr_accessor :name
|
|
@@ -35,10 +35,10 @@ module PulpAnsibleClient
|
|
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
36
|
def self.attribute_map
|
|
37
37
|
{
|
|
38
|
-
:'pulp_created' => :'pulp_created',
|
|
39
38
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
40
39
|
:'artifact' => :'artifact',
|
|
41
40
|
:'pulp_href' => :'pulp_href',
|
|
41
|
+
:'pulp_created' => :'pulp_created',
|
|
42
42
|
:'version' => :'version',
|
|
43
43
|
:'name' => :'name',
|
|
44
44
|
:'namespace' => :'namespace'
|
|
@@ -48,10 +48,10 @@ module PulpAnsibleClient
|
|
|
48
48
|
# Attribute type mapping.
|
|
49
49
|
def self.openapi_types
|
|
50
50
|
{
|
|
51
|
-
:'pulp_created' => :'DateTime',
|
|
52
51
|
:'pulp_last_updated' => :'DateTime',
|
|
53
52
|
:'artifact' => :'String',
|
|
54
53
|
:'pulp_href' => :'String',
|
|
54
|
+
:'pulp_created' => :'DateTime',
|
|
55
55
|
:'version' => :'String',
|
|
56
56
|
:'name' => :'String',
|
|
57
57
|
:'namespace' => :'String'
|
|
@@ -79,10 +79,6 @@ module PulpAnsibleClient
|
|
|
79
79
|
h[k.to_sym] = v
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'pulp_created')
|
|
83
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
84
|
-
end
|
|
85
|
-
|
|
86
82
|
if attributes.key?(:'pulp_last_updated')
|
|
87
83
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
88
84
|
end
|
|
@@ -95,6 +91,10 @@ module PulpAnsibleClient
|
|
|
95
91
|
self.pulp_href = attributes[:'pulp_href']
|
|
96
92
|
end
|
|
97
93
|
|
|
94
|
+
if attributes.key?(:'pulp_created')
|
|
95
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
98
|
if attributes.key?(:'version')
|
|
99
99
|
self.version = attributes[:'version']
|
|
100
100
|
end
|
|
@@ -146,10 +146,10 @@ module PulpAnsibleClient
|
|
|
146
146
|
def ==(o)
|
|
147
147
|
return true if self.equal?(o)
|
|
148
148
|
self.class == o.class &&
|
|
149
|
-
pulp_created == o.pulp_created &&
|
|
150
149
|
pulp_last_updated == o.pulp_last_updated &&
|
|
151
150
|
artifact == o.artifact &&
|
|
152
151
|
pulp_href == o.pulp_href &&
|
|
152
|
+
pulp_created == o.pulp_created &&
|
|
153
153
|
version == o.version &&
|
|
154
154
|
name == o.name &&
|
|
155
155
|
namespace == o.namespace
|
|
@@ -164,7 +164,7 @@ module PulpAnsibleClient
|
|
|
164
164
|
# Calculates hash code according to all attributes.
|
|
165
165
|
# @return [Integer] Hash code
|
|
166
166
|
def hash
|
|
167
|
-
[
|
|
167
|
+
[pulp_last_updated, artifact, pulp_href, pulp_created, version, name, namespace].hash
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
# Builds the object from hash
|
|
@@ -68,8 +68,8 @@ module PulpAnsibleClient
|
|
|
68
68
|
:'version' => :'String',
|
|
69
69
|
:'requires_ansible' => :'String',
|
|
70
70
|
:'pulp_created' => :'DateTime',
|
|
71
|
-
:'contents' => :'
|
|
72
|
-
:'dependencies' => :'
|
|
71
|
+
:'contents' => :'AnyType',
|
|
72
|
+
:'dependencies' => :'AnyType',
|
|
73
73
|
:'description' => :'String',
|
|
74
74
|
:'tags' => :'Array<AnsibleTagResponse>'
|
|
75
75
|
}
|
|
@@ -97,8 +97,8 @@ module PulpAnsibleClient
|
|
|
97
97
|
:'metadata' => :'CollectionMetadataResponse',
|
|
98
98
|
:'git_url' => :'String',
|
|
99
99
|
:'git_commit_sha' => :'String',
|
|
100
|
-
:'manifest' => :'
|
|
101
|
-
:'files' => :'
|
|
100
|
+
:'manifest' => :'AnyType',
|
|
101
|
+
:'files' => :'AnyType'
|
|
102
102
|
}
|
|
103
103
|
end
|
|
104
104
|
|
|
@@ -17,6 +17,9 @@ module PulpAnsibleClient
|
|
|
17
17
|
class CollectionVersionSearchList
|
|
18
18
|
attr_accessor :repository
|
|
19
19
|
|
|
20
|
+
# Collection Version serializer without docs blob.
|
|
21
|
+
attr_accessor :collection_version
|
|
22
|
+
|
|
20
23
|
attr_accessor :namespace_metadata
|
|
21
24
|
|
|
22
25
|
attr_accessor :is_highest
|
|
@@ -29,6 +32,7 @@ module PulpAnsibleClient
|
|
|
29
32
|
def self.attribute_map
|
|
30
33
|
{
|
|
31
34
|
:'repository' => :'repository',
|
|
35
|
+
:'collection_version' => :'collection_version',
|
|
32
36
|
:'namespace_metadata' => :'namespace_metadata',
|
|
33
37
|
:'is_highest' => :'is_highest',
|
|
34
38
|
:'is_deprecated' => :'is_deprecated',
|
|
@@ -40,6 +44,7 @@ module PulpAnsibleClient
|
|
|
40
44
|
def self.openapi_types
|
|
41
45
|
{
|
|
42
46
|
:'repository' => :'Repository',
|
|
47
|
+
:'collection_version' => :'Object',
|
|
43
48
|
:'namespace_metadata' => :'AnsibleAnsibleNamespaceMetadata',
|
|
44
49
|
:'is_highest' => :'Boolean',
|
|
45
50
|
:'is_deprecated' => :'Boolean',
|
|
@@ -73,6 +78,10 @@ module PulpAnsibleClient
|
|
|
73
78
|
self.repository = attributes[:'repository']
|
|
74
79
|
end
|
|
75
80
|
|
|
81
|
+
if attributes.key?(:'collection_version')
|
|
82
|
+
self.collection_version = attributes[:'collection_version']
|
|
83
|
+
end
|
|
84
|
+
|
|
76
85
|
if attributes.key?(:'namespace_metadata')
|
|
77
86
|
self.namespace_metadata = attributes[:'namespace_metadata']
|
|
78
87
|
end
|
|
@@ -98,6 +107,10 @@ module PulpAnsibleClient
|
|
|
98
107
|
invalid_properties.push('invalid value for "repository", repository cannot be nil.')
|
|
99
108
|
end
|
|
100
109
|
|
|
110
|
+
if @collection_version.nil?
|
|
111
|
+
invalid_properties.push('invalid value for "collection_version", collection_version cannot be nil.')
|
|
112
|
+
end
|
|
113
|
+
|
|
101
114
|
if @is_highest.nil?
|
|
102
115
|
invalid_properties.push('invalid value for "is_highest", is_highest cannot be nil.')
|
|
103
116
|
end
|
|
@@ -117,6 +130,7 @@ module PulpAnsibleClient
|
|
|
117
130
|
# @return true if the model is valid
|
|
118
131
|
def valid?
|
|
119
132
|
return false if @repository.nil?
|
|
133
|
+
return false if @collection_version.nil?
|
|
120
134
|
return false if @is_highest.nil?
|
|
121
135
|
return false if @is_deprecated.nil?
|
|
122
136
|
return false if @is_signed.nil?
|
|
@@ -129,6 +143,7 @@ module PulpAnsibleClient
|
|
|
129
143
|
return true if self.equal?(o)
|
|
130
144
|
self.class == o.class &&
|
|
131
145
|
repository == o.repository &&
|
|
146
|
+
collection_version == o.collection_version &&
|
|
132
147
|
namespace_metadata == o.namespace_metadata &&
|
|
133
148
|
is_highest == o.is_highest &&
|
|
134
149
|
is_deprecated == o.is_deprecated &&
|
|
@@ -144,7 +159,7 @@ module PulpAnsibleClient
|
|
|
144
159
|
# Calculates hash code according to all attributes.
|
|
145
160
|
# @return [Integer] Hash code
|
|
146
161
|
def hash
|
|
147
|
-
[repository, namespace_metadata, is_highest, is_deprecated, is_signed].hash
|
|
162
|
+
[repository, collection_version, namespace_metadata, is_highest, is_deprecated, is_signed].hash
|
|
148
163
|
end
|
|
149
164
|
|
|
150
165
|
# Builds the object from hash
|