pulp_ansible_client 0.7.6 → 0.8.0
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 +4 -4
- data/build/lib/pulpcore/__init__.py +2 -0
- data/build/lib/pulpcore/client/__init__.py +2 -0
- data/build/lib/pulpcore/client/pulp_ansible/__init__.py +115 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/__init__.py +28 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/ansible_collections_api.py +316 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/ansible_copy_api.py +156 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/api_collections_api.py +294 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/api_roles_api.py +172 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/collection_import_api.py +167 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +455 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/content_roles_api.py +440 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +830 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/galaxy_detail_api.py +162 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_api_api.py +158 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_collections_api.py +474 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v2_versions_api.py +185 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_all_api.py +301 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_api.py +185 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +189 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_versions_api.py +386 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_v3_api.py +162 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_tags_api.py +168 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/remotes_collection_api.py +840 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/remotes_role_api.py +840 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +1063 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py +614 -0
- data/build/lib/pulpcore/client/pulp_ansible/api/versions_api.py +301 -0
- data/build/lib/pulpcore/client/pulp_ansible/api_client.py +667 -0
- data/build/lib/pulpcore/client/pulp_ansible/configuration.py +427 -0
- data/build/lib/pulpcore/client/pulp_ansible/exceptions.py +121 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/__init__.py +78 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +260 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +342 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +259 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +365 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +771 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +718 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_response.py +153 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_version.py +639 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +887 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +179 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role.py +205 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_remote.py +657 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +604 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_response.py +259 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_tag_response.py +123 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/artifact_ref_response.py +176 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/async_operation_response.py +124 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +311 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_metadata_response.py +356 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_namespace_response.py +122 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_one_shot.py +236 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_ref_response.py +175 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_response.py +303 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +122 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_version_response.py +441 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/content_summary.py +176 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/content_summary_response.py +176 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/copy.py +124 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection.py +203 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection_response.py +307 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection_version_response.py +253 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_role_response.py +175 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +148 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +173 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +195 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +121 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_version_response_list.py +173 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_version_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +258 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +258 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +769 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +655 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/policy_enum.py +101 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/repo_metadata_response.py +122 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +179 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/repository_version.py +123 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/repository_version_response.py +257 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/tag_response.py +121 -0
- data/build/lib/pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +385 -0
- data/build/lib/pulpcore/client/pulp_ansible/rest.py +292 -0
- data/dist/pulp_ansible-client-0.8.0.tar.gz +0 -0
- data/dist/pulp_ansible_client-0.8.0-py3-none-any.whl +0 -0
- data/docs/AnsibleAnsibleDistribution.md +3 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +3 -1
- data/docs/AnsibleAnsibleRepository.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemote.md +3 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/PatchedansibleAnsibleDistribution.md +3 -1
- data/docs/PatchedansibleAnsibleRepository.md +2 -0
- data/docs/PatchedansibleCollectionRemote.md +3 -1
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +1 -1
- 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 +1 -1
- data/lib/pulp_ansible_client/api/content_roles_api.rb +1 -1
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +1 -1
- 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 +1 -1
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +1 -1
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +1 -1
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api_client.rb +12 -13
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +1 -9
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +15 -6
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +28 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +28 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +19 -6
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +19 -6
- data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +15 -15
- 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 +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_tag_response.rb +1 -1
- data/lib/pulp_ansible_client/models/artifact_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_one_shot.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/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 +15 -6
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +28 -2
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +19 -6
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- 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 +11 -2
- 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.egg-info/PKG-INFO +15 -0
- data/pulp_ansible_client.egg-info/SOURCES.txt +185 -0
- data/pulp_ansible_client.egg-info/dependency_links.txt +1 -0
- data/pulp_ansible_client.egg-info/requires.txt +4 -0
- data/pulp_ansible_client.egg-info/top_level.txt +1 -0
- data/pulp_ansible_client.gemspec +2 -2
- data/pulpcore/__init__.py +2 -0
- data/pulpcore/client/__init__.py +2 -0
- data/pulpcore/client/pulp_ansible/__init__.py +115 -0
- data/pulpcore/client/pulp_ansible/api/__init__.py +28 -0
- data/pulpcore/client/pulp_ansible/api/ansible_collections_api.py +316 -0
- data/pulpcore/client/pulp_ansible/api/ansible_copy_api.py +156 -0
- data/pulpcore/client/pulp_ansible/api/api_collections_api.py +294 -0
- data/pulpcore/client/pulp_ansible/api/api_roles_api.py +172 -0
- data/pulpcore/client/pulp_ansible/api/collection_import_api.py +167 -0
- data/pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +455 -0
- data/pulpcore/client/pulp_ansible/api/content_roles_api.py +440 -0
- data/pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +830 -0
- data/pulpcore/client/pulp_ansible/api/galaxy_detail_api.py +162 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_api_api.py +158 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_collections_api.py +474 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v2_versions_api.py +185 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_all_api.py +301 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_api.py +185 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +189 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_versions_api.py +386 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_v3_api.py +162 -0
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_tags_api.py +168 -0
- data/pulpcore/client/pulp_ansible/api/remotes_collection_api.py +840 -0
- data/pulpcore/client/pulp_ansible/api/remotes_role_api.py +840 -0
- data/pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +1063 -0
- data/pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py +614 -0
- data/pulpcore/client/pulp_ansible/api/versions_api.py +301 -0
- data/pulpcore/client/pulp_ansible/api_client.py +667 -0
- data/pulpcore/client/pulp_ansible/configuration.py +427 -0
- data/pulpcore/client/pulp_ansible/exceptions.py +121 -0
- data/pulpcore/client/pulp_ansible/models/__init__.py +78 -0
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +260 -0
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +342 -0
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +259 -0
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +365 -0
- data/pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +771 -0
- data/pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +718 -0
- data/pulpcore/client/pulp_ansible/models/ansible_collection_response.py +153 -0
- data/pulpcore/client/pulp_ansible/models/ansible_collection_version.py +639 -0
- data/pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +887 -0
- data/pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +179 -0
- data/pulpcore/client/pulp_ansible/models/ansible_role.py +205 -0
- data/pulpcore/client/pulp_ansible/models/ansible_role_remote.py +657 -0
- data/pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +604 -0
- data/pulpcore/client/pulp_ansible/models/ansible_role_response.py +259 -0
- data/pulpcore/client/pulp_ansible/models/ansible_tag_response.py +123 -0
- data/pulpcore/client/pulp_ansible/models/artifact_ref_response.py +176 -0
- data/pulpcore/client/pulp_ansible/models/async_operation_response.py +124 -0
- data/pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +311 -0
- data/pulpcore/client/pulp_ansible/models/collection_metadata_response.py +356 -0
- data/pulpcore/client/pulp_ansible/models/collection_namespace_response.py +122 -0
- data/pulpcore/client/pulp_ansible/models/collection_one_shot.py +236 -0
- data/pulpcore/client/pulp_ansible/models/collection_ref_response.py +175 -0
- data/pulpcore/client/pulp_ansible/models/collection_response.py +303 -0
- data/pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +122 -0
- data/pulpcore/client/pulp_ansible/models/collection_version_response.py +441 -0
- data/pulpcore/client/pulp_ansible/models/content_summary.py +176 -0
- data/pulpcore/client/pulp_ansible/models/content_summary_response.py +176 -0
- data/pulpcore/client/pulp_ansible/models/copy.py +124 -0
- data/pulpcore/client/pulp_ansible/models/galaxy_collection.py +203 -0
- data/pulpcore/client/pulp_ansible/models/galaxy_collection_response.py +307 -0
- data/pulpcore/client/pulp_ansible/models/galaxy_collection_version_response.py +253 -0
- data/pulpcore/client/pulp_ansible/models/galaxy_role_response.py +175 -0
- data/pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +148 -0
- data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +173 -0
- data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +195 -0
- data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +121 -0
- data/pulpcore/client/pulp_ansible/models/paginated_collection_version_response_list.py +173 -0
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_version_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +197 -0
- data/pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +258 -0
- data/pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +258 -0
- data/pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +769 -0
- data/pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +655 -0
- data/pulpcore/client/pulp_ansible/models/policy_enum.py +101 -0
- data/pulpcore/client/pulp_ansible/models/repo_metadata_response.py +122 -0
- data/pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +179 -0
- data/pulpcore/client/pulp_ansible/models/repository_version.py +123 -0
- data/pulpcore/client/pulp_ansible/models/repository_version_response.py +257 -0
- data/pulpcore/client/pulp_ansible/models/tag_response.py +121 -0
- data/pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +385 -0
- data/pulpcore/client/pulp_ansible/rest.py +292 -0
- data/requirements.txt +6 -0
- data/setup.cfg +2 -0
- data/setup.py +42 -0
- data/spec/api/ansible_collections_api_spec.rb +1 -1
- 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 +1 -1
- data/spec/api/content_roles_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +1 -1
- 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 +1 -1
- data/spec/api/remotes_role_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- 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 +7 -1
- data/spec/models/ansible_ansible_distribution_spec.rb +7 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +7 -1
- data/spec/models/ansible_ansible_repository_spec.rb +7 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +7 -1
- data/spec/models/ansible_collection_remote_spec.rb +7 -1
- data/spec/models/ansible_collection_response_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +1 -1
- data/spec/models/ansible_repository_sync_url_spec.rb +1 -1
- data/spec/models/ansible_role_remote_response_spec.rb +1 -1
- data/spec/models/ansible_role_remote_spec.rb +1 -1
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +1 -1
- data/spec/models/ansible_tag_response_spec.rb +1 -1
- data/spec/models/artifact_ref_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/collection_import_detail_response_spec.rb +1 -1
- data/spec/models/collection_metadata_response_spec.rb +1 -1
- data/spec/models/collection_namespace_response_spec.rb +1 -1
- data/spec/models/collection_one_shot_spec.rb +1 -1
- data/spec/models/collection_ref_response_spec.rb +1 -1
- data/spec/models/collection_response_spec.rb +1 -1
- data/spec/models/collection_version_docs_response_spec.rb +1 -1
- data/spec/models/collection_version_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +1 -1
- data/spec/models/galaxy_collection_response_spec.rb +1 -1
- data/spec/models/galaxy_collection_spec.rb +1 -1
- data/spec/models/galaxy_collection_version_response_spec.rb +1 -1
- data/spec/models/galaxy_role_response_spec.rb +1 -1
- data/spec/models/galaxy_role_version_response_spec.rb +1 -1
- data/spec/models/paginated_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 +7 -1
- data/spec/models/patchedansible_ansible_repository_spec.rb +7 -1
- data/spec/models/patchedansible_collection_remote_spec.rb +7 -1
- data/spec/models/patchedansible_role_remote_spec.rb +1 -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 +7 -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
- data/test/__init__.py +0 -0
- data/test/test_ansible_ansible_distribution.py +60 -0
- data/test/test_ansible_ansible_distribution_response.py +63 -0
- data/test/test_ansible_ansible_repository.py +59 -0
- data/test/test_ansible_ansible_repository_response.py +63 -0
- data/test/test_ansible_collection_remote.py +80 -0
- data/test/test_ansible_collection_remote_response.py +78 -0
- data/test/test_ansible_collection_response.py +56 -0
- data/test/test_ansible_collection_version.py +99 -0
- data/test/test_ansible_collection_version_response.py +111 -0
- data/test/test_ansible_collections_api.py +48 -0
- data/test/test_ansible_copy_api.py +41 -0
- data/test/test_ansible_repository_sync_url.py +55 -0
- data/test/test_ansible_role.py +60 -0
- data/test/test_ansible_role_remote.py +76 -0
- data/test/test_ansible_role_remote_response.py +74 -0
- data/test/test_ansible_role_response.py +62 -0
- data/test/test_ansible_tag_response.py +53 -0
- data/test/test_api_collections_api.py +46 -0
- data/test/test_api_roles_api.py +40 -0
- data/test/test_artifact_ref_response.py +58 -0
- data/test/test_async_operation_response.py +54 -0
- data/test/test_collection_import_api.py +41 -0
- data/test/test_collection_import_detail_response.py +68 -0
- data/test/test_collection_metadata_response.py +71 -0
- data/test/test_collection_namespace_response.py +54 -0
- data/test/test_collection_one_shot.py +58 -0
- data/test/test_collection_ref_response.py +57 -0
- data/test/test_collection_response.py +60 -0
- data/test/test_collection_version_docs_response.py +54 -0
- data/test/test_collection_version_response.py +67 -0
- data/test/test_content_collection_versions_api.py +55 -0
- data/test/test_content_roles_api.py +55 -0
- data/test/test_content_summary.py +70 -0
- data/test/test_content_summary_response.py +70 -0
- data/test/test_copy.py +54 -0
- data/test/test_distributions_ansible_api.py +76 -0
- data/test/test_galaxy_collection.py +60 -0
- data/test/test_galaxy_collection_response.py +64 -0
- data/test/test_galaxy_collection_version_response.py +92 -0
- data/test/test_galaxy_detail_api.py +40 -0
- data/test/test_galaxy_role_response.py +57 -0
- data/test/test_galaxy_role_version_response.py +55 -0
- data/test/test_paginated_collection_response_list.py +70 -0
- data/test/test_paginated_collection_response_list_links.py +56 -0
- data/test/test_paginated_collection_response_list_meta.py +53 -0
- data/test/test_paginated_collection_version_response_list.py +75 -0
- data/test/test_paginated_galaxy_collection_response_list.py +66 -0
- data/test/test_paginated_galaxy_collection_version_response_list.py +80 -0
- data/test/test_paginated_galaxy_role_response_list.py +61 -0
- data/test/test_paginated_galaxy_role_version_response_list.py +60 -0
- data/test/test_paginated_repository_version_response_list.py +64 -0
- data/test/test_paginated_tag_response_list.py +59 -0
- data/test/test_paginatedansible_ansible_distribution_response_list.py +67 -0
- data/test/test_paginatedansible_ansible_repository_response_list.py +68 -0
- data/test/test_paginatedansible_collection_remote_response_list.py +82 -0
- data/test/test_paginatedansible_collection_response_list.py +60 -0
- data/test/test_paginatedansible_collection_version_response_list.py +94 -0
- data/test/test_paginatedansible_role_remote_response_list.py +78 -0
- data/test/test_paginatedansible_role_response_list.py +64 -0
- data/test/test_patchedansible_ansible_distribution.py +58 -0
- data/test/test_patchedansible_ansible_repository.py +58 -0
- data/test/test_patchedansible_collection_remote.py +78 -0
- data/test/test_patchedansible_role_remote.py +74 -0
- data/test/test_policy_enum.py +52 -0
- data/test/test_pulp_ansible_api_api.py +40 -0
- data/test/test_pulp_ansible_galaxy_api_collections_api.py +52 -0
- data/test/test_pulp_ansible_galaxy_api_v2_versions_api.py +40 -0
- data/test/test_pulp_ansible_galaxy_api_v3_all_api.py +46 -0
- data/test/test_pulp_ansible_galaxy_api_v3_collections_api.py +41 -0
- data/test/test_pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +40 -0
- data/test/test_pulp_ansible_galaxy_api_v3_versions_api.py +46 -0
- data/test/test_pulp_ansible_galaxy_v3_api.py +40 -0
- data/test/test_pulp_ansible_tags_api.py +41 -0
- data/test/test_remotes_collection_api.py +76 -0
- data/test/test_remotes_role_api.py +76 -0
- data/test/test_repo_metadata_response.py +54 -0
- data/test/test_repositories_ansible_api.py +89 -0
- data/test/test_repositories_ansible_versions_api.py +61 -0
- data/test/test_repository_add_remove_content.py +59 -0
- data/test/test_repository_version.py +53 -0
- data/test/test_repository_version_response.py +58 -0
- data/test/test_tag_response.py +53 -0
- data/test/test_unpaginated_collection_version_response.py +65 -0
- data/test/test_versions_api.py +46 -0
- data/test-requirements.txt +3 -0
- data/tox.ini +9 -0
- metadata +354 -77
@@ -0,0 +1,441 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Pulp 3 API
|
5
|
+
|
6
|
+
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: v3
|
9
|
+
Contact: pulp-list@redhat.com
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
"""
|
12
|
+
|
13
|
+
|
14
|
+
import pprint
|
15
|
+
import re # noqa: F401
|
16
|
+
|
17
|
+
import six
|
18
|
+
|
19
|
+
from pulpcore.client.pulp_ansible.configuration import Configuration
|
20
|
+
|
21
|
+
|
22
|
+
class CollectionVersionResponse(object):
|
23
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
24
|
+
Ref: https://openapi-generator.tech
|
25
|
+
|
26
|
+
Do not edit the class manually.
|
27
|
+
"""
|
28
|
+
|
29
|
+
"""
|
30
|
+
Attributes:
|
31
|
+
openapi_types (dict): The key is attribute name
|
32
|
+
and the value is attribute type.
|
33
|
+
attribute_map (dict): The key is attribute name
|
34
|
+
and the value is json key in definition.
|
35
|
+
"""
|
36
|
+
openapi_types = {
|
37
|
+
'version': 'str',
|
38
|
+
'href': 'str',
|
39
|
+
'created_at': 'datetime',
|
40
|
+
'updated_at': 'datetime',
|
41
|
+
'requires_ansible': 'str',
|
42
|
+
'artifact': 'ArtifactRefResponse',
|
43
|
+
'collection': 'CollectionRefResponse',
|
44
|
+
'download_url': 'str',
|
45
|
+
'name': 'str',
|
46
|
+
'namespace': 'CollectionNamespaceResponse',
|
47
|
+
'metadata': 'CollectionMetadataResponse',
|
48
|
+
'manifest': 'object',
|
49
|
+
'files': 'object'
|
50
|
+
}
|
51
|
+
|
52
|
+
attribute_map = {
|
53
|
+
'version': 'version',
|
54
|
+
'href': 'href',
|
55
|
+
'created_at': 'created_at',
|
56
|
+
'updated_at': 'updated_at',
|
57
|
+
'requires_ansible': 'requires_ansible',
|
58
|
+
'artifact': 'artifact',
|
59
|
+
'collection': 'collection',
|
60
|
+
'download_url': 'download_url',
|
61
|
+
'name': 'name',
|
62
|
+
'namespace': 'namespace',
|
63
|
+
'metadata': 'metadata',
|
64
|
+
'manifest': 'manifest',
|
65
|
+
'files': 'files'
|
66
|
+
}
|
67
|
+
|
68
|
+
def __init__(self, version=None, href=None, created_at=None, updated_at=None, requires_ansible=None, artifact=None, collection=None, download_url=None, name=None, namespace=None, metadata=None, manifest=None, files=None, local_vars_configuration=None): # noqa: E501
|
69
|
+
"""CollectionVersionResponse - a model defined in OpenAPI""" # noqa: E501
|
70
|
+
if local_vars_configuration is None:
|
71
|
+
local_vars_configuration = Configuration()
|
72
|
+
self.local_vars_configuration = local_vars_configuration
|
73
|
+
|
74
|
+
self._version = None
|
75
|
+
self._href = None
|
76
|
+
self._created_at = None
|
77
|
+
self._updated_at = None
|
78
|
+
self._requires_ansible = None
|
79
|
+
self._artifact = None
|
80
|
+
self._collection = None
|
81
|
+
self._download_url = None
|
82
|
+
self._name = None
|
83
|
+
self._namespace = None
|
84
|
+
self._metadata = None
|
85
|
+
self._manifest = None
|
86
|
+
self._files = None
|
87
|
+
self.discriminator = None
|
88
|
+
|
89
|
+
if version is not None:
|
90
|
+
self.version = version
|
91
|
+
if href is not None:
|
92
|
+
self.href = href
|
93
|
+
self.created_at = created_at
|
94
|
+
self.updated_at = updated_at
|
95
|
+
self.requires_ansible = requires_ansible
|
96
|
+
if artifact is not None:
|
97
|
+
self.artifact = artifact
|
98
|
+
if collection is not None:
|
99
|
+
self.collection = collection
|
100
|
+
if download_url is not None:
|
101
|
+
self.download_url = download_url
|
102
|
+
if name is not None:
|
103
|
+
self.name = name
|
104
|
+
if namespace is not None:
|
105
|
+
self.namespace = namespace
|
106
|
+
if metadata is not None:
|
107
|
+
self.metadata = metadata
|
108
|
+
if manifest is not None:
|
109
|
+
self.manifest = manifest
|
110
|
+
if files is not None:
|
111
|
+
self.files = files
|
112
|
+
|
113
|
+
@property
|
114
|
+
def version(self):
|
115
|
+
"""Gets the version of this CollectionVersionResponse. # noqa: E501
|
116
|
+
|
117
|
+
|
118
|
+
:return: The version of this CollectionVersionResponse. # noqa: E501
|
119
|
+
:rtype: str
|
120
|
+
"""
|
121
|
+
return self._version
|
122
|
+
|
123
|
+
@version.setter
|
124
|
+
def version(self, version):
|
125
|
+
"""Sets the version of this CollectionVersionResponse.
|
126
|
+
|
127
|
+
|
128
|
+
:param version: The version of this CollectionVersionResponse. # noqa: E501
|
129
|
+
:type: str
|
130
|
+
"""
|
131
|
+
|
132
|
+
self._version = version
|
133
|
+
|
134
|
+
@property
|
135
|
+
def href(self):
|
136
|
+
"""Gets the href of this CollectionVersionResponse. # noqa: E501
|
137
|
+
|
138
|
+
|
139
|
+
:return: The href of this CollectionVersionResponse. # noqa: E501
|
140
|
+
:rtype: str
|
141
|
+
"""
|
142
|
+
return self._href
|
143
|
+
|
144
|
+
@href.setter
|
145
|
+
def href(self, href):
|
146
|
+
"""Sets the href of this CollectionVersionResponse.
|
147
|
+
|
148
|
+
|
149
|
+
:param href: The href of this CollectionVersionResponse. # noqa: E501
|
150
|
+
:type: str
|
151
|
+
"""
|
152
|
+
|
153
|
+
self._href = href
|
154
|
+
|
155
|
+
@property
|
156
|
+
def created_at(self):
|
157
|
+
"""Gets the created_at of this CollectionVersionResponse. # noqa: E501
|
158
|
+
|
159
|
+
|
160
|
+
:return: The created_at of this CollectionVersionResponse. # noqa: E501
|
161
|
+
:rtype: datetime
|
162
|
+
"""
|
163
|
+
return self._created_at
|
164
|
+
|
165
|
+
@created_at.setter
|
166
|
+
def created_at(self, created_at):
|
167
|
+
"""Sets the created_at of this CollectionVersionResponse.
|
168
|
+
|
169
|
+
|
170
|
+
:param created_at: The created_at of this CollectionVersionResponse. # noqa: E501
|
171
|
+
:type: datetime
|
172
|
+
"""
|
173
|
+
if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
|
174
|
+
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
|
175
|
+
|
176
|
+
self._created_at = created_at
|
177
|
+
|
178
|
+
@property
|
179
|
+
def updated_at(self):
|
180
|
+
"""Gets the updated_at of this CollectionVersionResponse. # noqa: E501
|
181
|
+
|
182
|
+
|
183
|
+
:return: The updated_at of this CollectionVersionResponse. # noqa: E501
|
184
|
+
:rtype: datetime
|
185
|
+
"""
|
186
|
+
return self._updated_at
|
187
|
+
|
188
|
+
@updated_at.setter
|
189
|
+
def updated_at(self, updated_at):
|
190
|
+
"""Sets the updated_at of this CollectionVersionResponse.
|
191
|
+
|
192
|
+
|
193
|
+
:param updated_at: The updated_at of this CollectionVersionResponse. # noqa: E501
|
194
|
+
:type: datetime
|
195
|
+
"""
|
196
|
+
if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501
|
197
|
+
raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501
|
198
|
+
|
199
|
+
self._updated_at = updated_at
|
200
|
+
|
201
|
+
@property
|
202
|
+
def requires_ansible(self):
|
203
|
+
"""Gets the requires_ansible of this CollectionVersionResponse. # noqa: E501
|
204
|
+
|
205
|
+
|
206
|
+
:return: The requires_ansible of this CollectionVersionResponse. # noqa: E501
|
207
|
+
:rtype: str
|
208
|
+
"""
|
209
|
+
return self._requires_ansible
|
210
|
+
|
211
|
+
@requires_ansible.setter
|
212
|
+
def requires_ansible(self, requires_ansible):
|
213
|
+
"""Sets the requires_ansible of this CollectionVersionResponse.
|
214
|
+
|
215
|
+
|
216
|
+
:param requires_ansible: The requires_ansible of this CollectionVersionResponse. # noqa: E501
|
217
|
+
:type: str
|
218
|
+
"""
|
219
|
+
if (self.local_vars_configuration.client_side_validation and
|
220
|
+
requires_ansible is not None and len(requires_ansible) > 255):
|
221
|
+
raise ValueError("Invalid value for `requires_ansible`, length must be less than or equal to `255`") # noqa: E501
|
222
|
+
|
223
|
+
self._requires_ansible = requires_ansible
|
224
|
+
|
225
|
+
@property
|
226
|
+
def artifact(self):
|
227
|
+
"""Gets the artifact of this CollectionVersionResponse. # noqa: E501
|
228
|
+
|
229
|
+
|
230
|
+
:return: The artifact of this CollectionVersionResponse. # noqa: E501
|
231
|
+
:rtype: ArtifactRefResponse
|
232
|
+
"""
|
233
|
+
return self._artifact
|
234
|
+
|
235
|
+
@artifact.setter
|
236
|
+
def artifact(self, artifact):
|
237
|
+
"""Sets the artifact of this CollectionVersionResponse.
|
238
|
+
|
239
|
+
|
240
|
+
:param artifact: The artifact of this CollectionVersionResponse. # noqa: E501
|
241
|
+
:type: ArtifactRefResponse
|
242
|
+
"""
|
243
|
+
|
244
|
+
self._artifact = artifact
|
245
|
+
|
246
|
+
@property
|
247
|
+
def collection(self):
|
248
|
+
"""Gets the collection of this CollectionVersionResponse. # noqa: E501
|
249
|
+
|
250
|
+
|
251
|
+
:return: The collection of this CollectionVersionResponse. # noqa: E501
|
252
|
+
:rtype: CollectionRefResponse
|
253
|
+
"""
|
254
|
+
return self._collection
|
255
|
+
|
256
|
+
@collection.setter
|
257
|
+
def collection(self, collection):
|
258
|
+
"""Sets the collection of this CollectionVersionResponse.
|
259
|
+
|
260
|
+
|
261
|
+
:param collection: The collection of this CollectionVersionResponse. # noqa: E501
|
262
|
+
:type: CollectionRefResponse
|
263
|
+
"""
|
264
|
+
|
265
|
+
self._collection = collection
|
266
|
+
|
267
|
+
@property
|
268
|
+
def download_url(self):
|
269
|
+
"""Gets the download_url of this CollectionVersionResponse. # noqa: E501
|
270
|
+
|
271
|
+
|
272
|
+
:return: The download_url of this CollectionVersionResponse. # noqa: E501
|
273
|
+
:rtype: str
|
274
|
+
"""
|
275
|
+
return self._download_url
|
276
|
+
|
277
|
+
@download_url.setter
|
278
|
+
def download_url(self, download_url):
|
279
|
+
"""Sets the download_url of this CollectionVersionResponse.
|
280
|
+
|
281
|
+
|
282
|
+
:param download_url: The download_url of this CollectionVersionResponse. # noqa: E501
|
283
|
+
:type: str
|
284
|
+
"""
|
285
|
+
|
286
|
+
self._download_url = download_url
|
287
|
+
|
288
|
+
@property
|
289
|
+
def name(self):
|
290
|
+
"""Gets the name of this CollectionVersionResponse. # noqa: E501
|
291
|
+
|
292
|
+
|
293
|
+
:return: The name of this CollectionVersionResponse. # noqa: E501
|
294
|
+
:rtype: str
|
295
|
+
"""
|
296
|
+
return self._name
|
297
|
+
|
298
|
+
@name.setter
|
299
|
+
def name(self, name):
|
300
|
+
"""Sets the name of this CollectionVersionResponse.
|
301
|
+
|
302
|
+
|
303
|
+
:param name: The name of this CollectionVersionResponse. # noqa: E501
|
304
|
+
:type: str
|
305
|
+
"""
|
306
|
+
|
307
|
+
self._name = name
|
308
|
+
|
309
|
+
@property
|
310
|
+
def namespace(self):
|
311
|
+
"""Gets the namespace of this CollectionVersionResponse. # noqa: E501
|
312
|
+
|
313
|
+
|
314
|
+
:return: The namespace of this CollectionVersionResponse. # noqa: E501
|
315
|
+
:rtype: CollectionNamespaceResponse
|
316
|
+
"""
|
317
|
+
return self._namespace
|
318
|
+
|
319
|
+
@namespace.setter
|
320
|
+
def namespace(self, namespace):
|
321
|
+
"""Sets the namespace of this CollectionVersionResponse.
|
322
|
+
|
323
|
+
|
324
|
+
:param namespace: The namespace of this CollectionVersionResponse. # noqa: E501
|
325
|
+
:type: CollectionNamespaceResponse
|
326
|
+
"""
|
327
|
+
|
328
|
+
self._namespace = namespace
|
329
|
+
|
330
|
+
@property
|
331
|
+
def metadata(self):
|
332
|
+
"""Gets the metadata of this CollectionVersionResponse. # noqa: E501
|
333
|
+
|
334
|
+
|
335
|
+
:return: The metadata of this CollectionVersionResponse. # noqa: E501
|
336
|
+
:rtype: CollectionMetadataResponse
|
337
|
+
"""
|
338
|
+
return self._metadata
|
339
|
+
|
340
|
+
@metadata.setter
|
341
|
+
def metadata(self, metadata):
|
342
|
+
"""Sets the metadata of this CollectionVersionResponse.
|
343
|
+
|
344
|
+
|
345
|
+
:param metadata: The metadata of this CollectionVersionResponse. # noqa: E501
|
346
|
+
:type: CollectionMetadataResponse
|
347
|
+
"""
|
348
|
+
|
349
|
+
self._metadata = metadata
|
350
|
+
|
351
|
+
@property
|
352
|
+
def manifest(self):
|
353
|
+
"""Gets the manifest of this CollectionVersionResponse. # noqa: E501
|
354
|
+
|
355
|
+
A JSON field holding MANIFEST.json data. # noqa: E501
|
356
|
+
|
357
|
+
:return: The manifest of this CollectionVersionResponse. # noqa: E501
|
358
|
+
:rtype: object
|
359
|
+
"""
|
360
|
+
return self._manifest
|
361
|
+
|
362
|
+
@manifest.setter
|
363
|
+
def manifest(self, manifest):
|
364
|
+
"""Sets the manifest of this CollectionVersionResponse.
|
365
|
+
|
366
|
+
A JSON field holding MANIFEST.json data. # noqa: E501
|
367
|
+
|
368
|
+
:param manifest: The manifest of this CollectionVersionResponse. # noqa: E501
|
369
|
+
:type: object
|
370
|
+
"""
|
371
|
+
|
372
|
+
self._manifest = manifest
|
373
|
+
|
374
|
+
@property
|
375
|
+
def files(self):
|
376
|
+
"""Gets the files of this CollectionVersionResponse. # noqa: E501
|
377
|
+
|
378
|
+
A JSON field holding FILES.json data. # noqa: E501
|
379
|
+
|
380
|
+
:return: The files of this CollectionVersionResponse. # noqa: E501
|
381
|
+
:rtype: object
|
382
|
+
"""
|
383
|
+
return self._files
|
384
|
+
|
385
|
+
@files.setter
|
386
|
+
def files(self, files):
|
387
|
+
"""Sets the files of this CollectionVersionResponse.
|
388
|
+
|
389
|
+
A JSON field holding FILES.json data. # noqa: E501
|
390
|
+
|
391
|
+
:param files: The files of this CollectionVersionResponse. # noqa: E501
|
392
|
+
:type: object
|
393
|
+
"""
|
394
|
+
|
395
|
+
self._files = files
|
396
|
+
|
397
|
+
def to_dict(self):
|
398
|
+
"""Returns the model properties as a dict"""
|
399
|
+
result = {}
|
400
|
+
|
401
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
402
|
+
value = getattr(self, attr)
|
403
|
+
if isinstance(value, list):
|
404
|
+
result[attr] = list(map(
|
405
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
406
|
+
value
|
407
|
+
))
|
408
|
+
elif hasattr(value, "to_dict"):
|
409
|
+
result[attr] = value.to_dict()
|
410
|
+
elif isinstance(value, dict):
|
411
|
+
result[attr] = dict(map(
|
412
|
+
lambda item: (item[0], item[1].to_dict())
|
413
|
+
if hasattr(item[1], "to_dict") else item,
|
414
|
+
value.items()
|
415
|
+
))
|
416
|
+
else:
|
417
|
+
result[attr] = value
|
418
|
+
|
419
|
+
return result
|
420
|
+
|
421
|
+
def to_str(self):
|
422
|
+
"""Returns the string representation of the model"""
|
423
|
+
return pprint.pformat(self.to_dict())
|
424
|
+
|
425
|
+
def __repr__(self):
|
426
|
+
"""For `print` and `pprint`"""
|
427
|
+
return self.to_str()
|
428
|
+
|
429
|
+
def __eq__(self, other):
|
430
|
+
"""Returns true if both objects are equal"""
|
431
|
+
if not isinstance(other, CollectionVersionResponse):
|
432
|
+
return False
|
433
|
+
|
434
|
+
return self.to_dict() == other.to_dict()
|
435
|
+
|
436
|
+
def __ne__(self, other):
|
437
|
+
"""Returns true if both objects are not equal"""
|
438
|
+
if not isinstance(other, CollectionVersionResponse):
|
439
|
+
return True
|
440
|
+
|
441
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,176 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Pulp 3 API
|
5
|
+
|
6
|
+
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: v3
|
9
|
+
Contact: pulp-list@redhat.com
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
"""
|
12
|
+
|
13
|
+
|
14
|
+
import pprint
|
15
|
+
import re # noqa: F401
|
16
|
+
|
17
|
+
import six
|
18
|
+
|
19
|
+
from pulpcore.client.pulp_ansible.configuration import Configuration
|
20
|
+
|
21
|
+
|
22
|
+
class ContentSummary(object):
|
23
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
24
|
+
Ref: https://openapi-generator.tech
|
25
|
+
|
26
|
+
Do not edit the class manually.
|
27
|
+
"""
|
28
|
+
|
29
|
+
"""
|
30
|
+
Attributes:
|
31
|
+
openapi_types (dict): The key is attribute name
|
32
|
+
and the value is attribute type.
|
33
|
+
attribute_map (dict): The key is attribute name
|
34
|
+
and the value is json key in definition.
|
35
|
+
"""
|
36
|
+
openapi_types = {
|
37
|
+
'added': 'dict(str, object)',
|
38
|
+
'removed': 'dict(str, object)',
|
39
|
+
'present': 'dict(str, object)'
|
40
|
+
}
|
41
|
+
|
42
|
+
attribute_map = {
|
43
|
+
'added': 'added',
|
44
|
+
'removed': 'removed',
|
45
|
+
'present': 'present'
|
46
|
+
}
|
47
|
+
|
48
|
+
def __init__(self, added=None, removed=None, present=None, local_vars_configuration=None): # noqa: E501
|
49
|
+
"""ContentSummary - a model defined in OpenAPI""" # noqa: E501
|
50
|
+
if local_vars_configuration is None:
|
51
|
+
local_vars_configuration = Configuration()
|
52
|
+
self.local_vars_configuration = local_vars_configuration
|
53
|
+
|
54
|
+
self._added = None
|
55
|
+
self._removed = None
|
56
|
+
self._present = None
|
57
|
+
self.discriminator = None
|
58
|
+
|
59
|
+
self.added = added
|
60
|
+
self.removed = removed
|
61
|
+
self.present = present
|
62
|
+
|
63
|
+
@property
|
64
|
+
def added(self):
|
65
|
+
"""Gets the added of this ContentSummary. # noqa: E501
|
66
|
+
|
67
|
+
|
68
|
+
:return: The added of this ContentSummary. # noqa: E501
|
69
|
+
:rtype: dict(str, object)
|
70
|
+
"""
|
71
|
+
return self._added
|
72
|
+
|
73
|
+
@added.setter
|
74
|
+
def added(self, added):
|
75
|
+
"""Sets the added of this ContentSummary.
|
76
|
+
|
77
|
+
|
78
|
+
:param added: The added of this ContentSummary. # noqa: E501
|
79
|
+
:type: dict(str, object)
|
80
|
+
"""
|
81
|
+
if self.local_vars_configuration.client_side_validation and added is None: # noqa: E501
|
82
|
+
raise ValueError("Invalid value for `added`, must not be `None`") # noqa: E501
|
83
|
+
|
84
|
+
self._added = added
|
85
|
+
|
86
|
+
@property
|
87
|
+
def removed(self):
|
88
|
+
"""Gets the removed of this ContentSummary. # noqa: E501
|
89
|
+
|
90
|
+
|
91
|
+
:return: The removed of this ContentSummary. # noqa: E501
|
92
|
+
:rtype: dict(str, object)
|
93
|
+
"""
|
94
|
+
return self._removed
|
95
|
+
|
96
|
+
@removed.setter
|
97
|
+
def removed(self, removed):
|
98
|
+
"""Sets the removed of this ContentSummary.
|
99
|
+
|
100
|
+
|
101
|
+
:param removed: The removed of this ContentSummary. # noqa: E501
|
102
|
+
:type: dict(str, object)
|
103
|
+
"""
|
104
|
+
if self.local_vars_configuration.client_side_validation and removed is None: # noqa: E501
|
105
|
+
raise ValueError("Invalid value for `removed`, must not be `None`") # noqa: E501
|
106
|
+
|
107
|
+
self._removed = removed
|
108
|
+
|
109
|
+
@property
|
110
|
+
def present(self):
|
111
|
+
"""Gets the present of this ContentSummary. # noqa: E501
|
112
|
+
|
113
|
+
|
114
|
+
:return: The present of this ContentSummary. # noqa: E501
|
115
|
+
:rtype: dict(str, object)
|
116
|
+
"""
|
117
|
+
return self._present
|
118
|
+
|
119
|
+
@present.setter
|
120
|
+
def present(self, present):
|
121
|
+
"""Sets the present of this ContentSummary.
|
122
|
+
|
123
|
+
|
124
|
+
:param present: The present of this ContentSummary. # noqa: E501
|
125
|
+
:type: dict(str, object)
|
126
|
+
"""
|
127
|
+
if self.local_vars_configuration.client_side_validation and present is None: # noqa: E501
|
128
|
+
raise ValueError("Invalid value for `present`, must not be `None`") # noqa: E501
|
129
|
+
|
130
|
+
self._present = present
|
131
|
+
|
132
|
+
def to_dict(self):
|
133
|
+
"""Returns the model properties as a dict"""
|
134
|
+
result = {}
|
135
|
+
|
136
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
137
|
+
value = getattr(self, attr)
|
138
|
+
if isinstance(value, list):
|
139
|
+
result[attr] = list(map(
|
140
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
141
|
+
value
|
142
|
+
))
|
143
|
+
elif hasattr(value, "to_dict"):
|
144
|
+
result[attr] = value.to_dict()
|
145
|
+
elif isinstance(value, dict):
|
146
|
+
result[attr] = dict(map(
|
147
|
+
lambda item: (item[0], item[1].to_dict())
|
148
|
+
if hasattr(item[1], "to_dict") else item,
|
149
|
+
value.items()
|
150
|
+
))
|
151
|
+
else:
|
152
|
+
result[attr] = value
|
153
|
+
|
154
|
+
return result
|
155
|
+
|
156
|
+
def to_str(self):
|
157
|
+
"""Returns the string representation of the model"""
|
158
|
+
return pprint.pformat(self.to_dict())
|
159
|
+
|
160
|
+
def __repr__(self):
|
161
|
+
"""For `print` and `pprint`"""
|
162
|
+
return self.to_str()
|
163
|
+
|
164
|
+
def __eq__(self, other):
|
165
|
+
"""Returns true if both objects are equal"""
|
166
|
+
if not isinstance(other, ContentSummary):
|
167
|
+
return False
|
168
|
+
|
169
|
+
return self.to_dict() == other.to_dict()
|
170
|
+
|
171
|
+
def __ne__(self, other):
|
172
|
+
"""Returns true if both objects are not equal"""
|
173
|
+
if not isinstance(other, ContentSummary):
|
174
|
+
return True
|
175
|
+
|
176
|
+
return self.to_dict() != other.to_dict()
|