pulp_ansible_client 0.8.0 → 0.8.1
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/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_ansible_client.rb +1 -1
- 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 -8
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +8 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- 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 +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- 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 +1 -1
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/pulp_ansible_client.gemspec +1 -1
- 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 +1 -1
- data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_spec.rb +1 -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 +1 -1
- data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
- data/spec/models/patchedansible_collection_remote_spec.rb +1 -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 +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_response_spec.rb +1 -1
- data/spec/models/unpaginated_collection_version_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +68 -351
- data/build/lib/pulpcore/__init__.py +0 -2
- data/build/lib/pulpcore/client/__init__.py +0 -2
- data/build/lib/pulpcore/client/pulp_ansible/__init__.py +0 -115
- data/build/lib/pulpcore/client/pulp_ansible/api/__init__.py +0 -28
- data/build/lib/pulpcore/client/pulp_ansible/api/ansible_collections_api.py +0 -316
- data/build/lib/pulpcore/client/pulp_ansible/api/ansible_copy_api.py +0 -156
- data/build/lib/pulpcore/client/pulp_ansible/api/api_collections_api.py +0 -294
- data/build/lib/pulpcore/client/pulp_ansible/api/api_roles_api.py +0 -172
- data/build/lib/pulpcore/client/pulp_ansible/api/collection_import_api.py +0 -167
- data/build/lib/pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +0 -455
- data/build/lib/pulpcore/client/pulp_ansible/api/content_roles_api.py +0 -440
- data/build/lib/pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +0 -830
- data/build/lib/pulpcore/client/pulp_ansible/api/galaxy_detail_api.py +0 -162
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_api_api.py +0 -158
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_collections_api.py +0 -474
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v2_versions_api.py +0 -185
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_all_api.py +0 -301
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_api.py +0 -185
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +0 -189
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_versions_api.py +0 -386
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_v3_api.py +0 -162
- data/build/lib/pulpcore/client/pulp_ansible/api/pulp_ansible_tags_api.py +0 -168
- data/build/lib/pulpcore/client/pulp_ansible/api/remotes_collection_api.py +0 -840
- data/build/lib/pulpcore/client/pulp_ansible/api/remotes_role_api.py +0 -840
- data/build/lib/pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +0 -1063
- data/build/lib/pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py +0 -614
- data/build/lib/pulpcore/client/pulp_ansible/api/versions_api.py +0 -301
- data/build/lib/pulpcore/client/pulp_ansible/api_client.py +0 -667
- data/build/lib/pulpcore/client/pulp_ansible/configuration.py +0 -427
- data/build/lib/pulpcore/client/pulp_ansible/exceptions.py +0 -121
- data/build/lib/pulpcore/client/pulp_ansible/models/__init__.py +0 -78
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +0 -260
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +0 -342
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +0 -259
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +0 -365
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +0 -771
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +0 -718
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_response.py +0 -153
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_version.py +0 -639
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +0 -887
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +0 -179
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role.py +0 -205
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_remote.py +0 -657
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +0 -604
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_role_response.py +0 -259
- data/build/lib/pulpcore/client/pulp_ansible/models/ansible_tag_response.py +0 -123
- data/build/lib/pulpcore/client/pulp_ansible/models/artifact_ref_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_ansible/models/async_operation_response.py +0 -124
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +0 -311
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_metadata_response.py +0 -356
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_namespace_response.py +0 -122
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_one_shot.py +0 -236
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_ref_response.py +0 -175
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_response.py +0 -303
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +0 -122
- data/build/lib/pulpcore/client/pulp_ansible/models/collection_version_response.py +0 -441
- data/build/lib/pulpcore/client/pulp_ansible/models/content_summary.py +0 -176
- data/build/lib/pulpcore/client/pulp_ansible/models/content_summary_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_ansible/models/copy.py +0 -124
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection.py +0 -203
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection_response.py +0 -307
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_collection_version_response.py +0 -253
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_role_response.py +0 -175
- data/build/lib/pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +0 -148
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +0 -173
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +0 -195
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +0 -121
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_collection_version_response_list.py +0 -173
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +0 -258
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +0 -258
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +0 -769
- data/build/lib/pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +0 -655
- data/build/lib/pulpcore/client/pulp_ansible/models/policy_enum.py +0 -101
- data/build/lib/pulpcore/client/pulp_ansible/models/repo_metadata_response.py +0 -122
- data/build/lib/pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +0 -179
- data/build/lib/pulpcore/client/pulp_ansible/models/repository_version.py +0 -123
- data/build/lib/pulpcore/client/pulp_ansible/models/repository_version_response.py +0 -257
- data/build/lib/pulpcore/client/pulp_ansible/models/tag_response.py +0 -121
- data/build/lib/pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +0 -385
- data/build/lib/pulpcore/client/pulp_ansible/rest.py +0 -292
- 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/pulp_ansible_client.egg-info/PKG-INFO +0 -15
- data/pulp_ansible_client.egg-info/SOURCES.txt +0 -185
- data/pulp_ansible_client.egg-info/dependency_links.txt +0 -1
- data/pulp_ansible_client.egg-info/requires.txt +0 -4
- data/pulp_ansible_client.egg-info/top_level.txt +0 -1
- data/pulpcore/__init__.py +0 -2
- data/pulpcore/client/__init__.py +0 -2
- data/pulpcore/client/pulp_ansible/__init__.py +0 -115
- data/pulpcore/client/pulp_ansible/api/__init__.py +0 -28
- data/pulpcore/client/pulp_ansible/api/ansible_collections_api.py +0 -316
- data/pulpcore/client/pulp_ansible/api/ansible_copy_api.py +0 -156
- data/pulpcore/client/pulp_ansible/api/api_collections_api.py +0 -294
- data/pulpcore/client/pulp_ansible/api/api_roles_api.py +0 -172
- data/pulpcore/client/pulp_ansible/api/collection_import_api.py +0 -167
- data/pulpcore/client/pulp_ansible/api/content_collection_versions_api.py +0 -455
- data/pulpcore/client/pulp_ansible/api/content_roles_api.py +0 -440
- data/pulpcore/client/pulp_ansible/api/distributions_ansible_api.py +0 -830
- data/pulpcore/client/pulp_ansible/api/galaxy_detail_api.py +0 -162
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_api_api.py +0 -158
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_collections_api.py +0 -474
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v2_versions_api.py +0 -185
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_all_api.py +0 -301
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_api.py +0 -185
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +0 -189
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_api_v3_versions_api.py +0 -386
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_galaxy_v3_api.py +0 -162
- data/pulpcore/client/pulp_ansible/api/pulp_ansible_tags_api.py +0 -168
- data/pulpcore/client/pulp_ansible/api/remotes_collection_api.py +0 -840
- data/pulpcore/client/pulp_ansible/api/remotes_role_api.py +0 -840
- data/pulpcore/client/pulp_ansible/api/repositories_ansible_api.py +0 -1063
- data/pulpcore/client/pulp_ansible/api/repositories_ansible_versions_api.py +0 -614
- data/pulpcore/client/pulp_ansible/api/versions_api.py +0 -301
- data/pulpcore/client/pulp_ansible/api_client.py +0 -667
- data/pulpcore/client/pulp_ansible/configuration.py +0 -427
- data/pulpcore/client/pulp_ansible/exceptions.py +0 -121
- data/pulpcore/client/pulp_ansible/models/__init__.py +0 -78
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution.py +0 -260
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_distribution_response.py +0 -342
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_repository.py +0 -259
- data/pulpcore/client/pulp_ansible/models/ansible_ansible_repository_response.py +0 -365
- data/pulpcore/client/pulp_ansible/models/ansible_collection_remote.py +0 -771
- data/pulpcore/client/pulp_ansible/models/ansible_collection_remote_response.py +0 -718
- data/pulpcore/client/pulp_ansible/models/ansible_collection_response.py +0 -153
- data/pulpcore/client/pulp_ansible/models/ansible_collection_version.py +0 -639
- data/pulpcore/client/pulp_ansible/models/ansible_collection_version_response.py +0 -887
- data/pulpcore/client/pulp_ansible/models/ansible_repository_sync_url.py +0 -179
- data/pulpcore/client/pulp_ansible/models/ansible_role.py +0 -205
- data/pulpcore/client/pulp_ansible/models/ansible_role_remote.py +0 -657
- data/pulpcore/client/pulp_ansible/models/ansible_role_remote_response.py +0 -604
- data/pulpcore/client/pulp_ansible/models/ansible_role_response.py +0 -259
- data/pulpcore/client/pulp_ansible/models/ansible_tag_response.py +0 -123
- data/pulpcore/client/pulp_ansible/models/artifact_ref_response.py +0 -176
- data/pulpcore/client/pulp_ansible/models/async_operation_response.py +0 -124
- data/pulpcore/client/pulp_ansible/models/collection_import_detail_response.py +0 -311
- data/pulpcore/client/pulp_ansible/models/collection_metadata_response.py +0 -356
- data/pulpcore/client/pulp_ansible/models/collection_namespace_response.py +0 -122
- data/pulpcore/client/pulp_ansible/models/collection_one_shot.py +0 -236
- data/pulpcore/client/pulp_ansible/models/collection_ref_response.py +0 -175
- data/pulpcore/client/pulp_ansible/models/collection_response.py +0 -303
- data/pulpcore/client/pulp_ansible/models/collection_version_docs_response.py +0 -122
- data/pulpcore/client/pulp_ansible/models/collection_version_response.py +0 -441
- data/pulpcore/client/pulp_ansible/models/content_summary.py +0 -176
- data/pulpcore/client/pulp_ansible/models/content_summary_response.py +0 -176
- data/pulpcore/client/pulp_ansible/models/copy.py +0 -124
- data/pulpcore/client/pulp_ansible/models/galaxy_collection.py +0 -203
- data/pulpcore/client/pulp_ansible/models/galaxy_collection_response.py +0 -307
- data/pulpcore/client/pulp_ansible/models/galaxy_collection_version_response.py +0 -253
- data/pulpcore/client/pulp_ansible/models/galaxy_role_response.py +0 -175
- data/pulpcore/client/pulp_ansible/models/galaxy_role_version_response.py +0 -148
- data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list.py +0 -173
- data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_links.py +0 -195
- data/pulpcore/client/pulp_ansible/models/paginated_collection_response_list_meta.py +0 -121
- data/pulpcore/client/pulp_ansible/models/paginated_collection_version_response_list.py +0 -173
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_collection_version_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginated_galaxy_role_version_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginated_repository_version_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginated_tag_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_distribution_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginatedansible_ansible_repository_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginatedansible_collection_version_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginatedansible_role_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/paginatedansible_role_response_list.py +0 -197
- data/pulpcore/client/pulp_ansible/models/patchedansible_ansible_distribution.py +0 -258
- data/pulpcore/client/pulp_ansible/models/patchedansible_ansible_repository.py +0 -258
- data/pulpcore/client/pulp_ansible/models/patchedansible_collection_remote.py +0 -769
- data/pulpcore/client/pulp_ansible/models/patchedansible_role_remote.py +0 -655
- data/pulpcore/client/pulp_ansible/models/policy_enum.py +0 -101
- data/pulpcore/client/pulp_ansible/models/repo_metadata_response.py +0 -122
- data/pulpcore/client/pulp_ansible/models/repository_add_remove_content.py +0 -179
- data/pulpcore/client/pulp_ansible/models/repository_version.py +0 -123
- data/pulpcore/client/pulp_ansible/models/repository_version_response.py +0 -257
- data/pulpcore/client/pulp_ansible/models/tag_response.py +0 -121
- data/pulpcore/client/pulp_ansible/models/unpaginated_collection_version_response.py +0 -385
- data/pulpcore/client/pulp_ansible/rest.py +0 -292
- data/requirements.txt +0 -6
- data/setup.cfg +0 -2
- data/setup.py +0 -42
- data/test-requirements.txt +0 -3
- data/test/__init__.py +0 -0
- data/test/test_ansible_ansible_distribution.py +0 -60
- data/test/test_ansible_ansible_distribution_response.py +0 -63
- data/test/test_ansible_ansible_repository.py +0 -59
- data/test/test_ansible_ansible_repository_response.py +0 -63
- data/test/test_ansible_collection_remote.py +0 -80
- data/test/test_ansible_collection_remote_response.py +0 -78
- data/test/test_ansible_collection_response.py +0 -56
- data/test/test_ansible_collection_version.py +0 -99
- data/test/test_ansible_collection_version_response.py +0 -111
- data/test/test_ansible_collections_api.py +0 -48
- data/test/test_ansible_copy_api.py +0 -41
- data/test/test_ansible_repository_sync_url.py +0 -55
- data/test/test_ansible_role.py +0 -60
- data/test/test_ansible_role_remote.py +0 -76
- data/test/test_ansible_role_remote_response.py +0 -74
- data/test/test_ansible_role_response.py +0 -62
- data/test/test_ansible_tag_response.py +0 -53
- data/test/test_api_collections_api.py +0 -46
- data/test/test_api_roles_api.py +0 -40
- data/test/test_artifact_ref_response.py +0 -58
- data/test/test_async_operation_response.py +0 -54
- data/test/test_collection_import_api.py +0 -41
- data/test/test_collection_import_detail_response.py +0 -68
- data/test/test_collection_metadata_response.py +0 -71
- data/test/test_collection_namespace_response.py +0 -54
- data/test/test_collection_one_shot.py +0 -58
- data/test/test_collection_ref_response.py +0 -57
- data/test/test_collection_response.py +0 -60
- data/test/test_collection_version_docs_response.py +0 -54
- data/test/test_collection_version_response.py +0 -67
- data/test/test_content_collection_versions_api.py +0 -55
- data/test/test_content_roles_api.py +0 -55
- data/test/test_content_summary.py +0 -70
- data/test/test_content_summary_response.py +0 -70
- data/test/test_copy.py +0 -54
- data/test/test_distributions_ansible_api.py +0 -76
- data/test/test_galaxy_collection.py +0 -60
- data/test/test_galaxy_collection_response.py +0 -64
- data/test/test_galaxy_collection_version_response.py +0 -92
- data/test/test_galaxy_detail_api.py +0 -40
- data/test/test_galaxy_role_response.py +0 -57
- data/test/test_galaxy_role_version_response.py +0 -55
- data/test/test_paginated_collection_response_list.py +0 -70
- data/test/test_paginated_collection_response_list_links.py +0 -56
- data/test/test_paginated_collection_response_list_meta.py +0 -53
- data/test/test_paginated_collection_version_response_list.py +0 -75
- data/test/test_paginated_galaxy_collection_response_list.py +0 -66
- data/test/test_paginated_galaxy_collection_version_response_list.py +0 -80
- data/test/test_paginated_galaxy_role_response_list.py +0 -61
- data/test/test_paginated_galaxy_role_version_response_list.py +0 -60
- data/test/test_paginated_repository_version_response_list.py +0 -64
- data/test/test_paginated_tag_response_list.py +0 -59
- data/test/test_paginatedansible_ansible_distribution_response_list.py +0 -67
- data/test/test_paginatedansible_ansible_repository_response_list.py +0 -68
- data/test/test_paginatedansible_collection_remote_response_list.py +0 -82
- data/test/test_paginatedansible_collection_response_list.py +0 -60
- data/test/test_paginatedansible_collection_version_response_list.py +0 -94
- data/test/test_paginatedansible_role_remote_response_list.py +0 -78
- data/test/test_paginatedansible_role_response_list.py +0 -64
- data/test/test_patchedansible_ansible_distribution.py +0 -58
- data/test/test_patchedansible_ansible_repository.py +0 -58
- data/test/test_patchedansible_collection_remote.py +0 -78
- data/test/test_patchedansible_role_remote.py +0 -74
- data/test/test_policy_enum.py +0 -52
- data/test/test_pulp_ansible_api_api.py +0 -40
- data/test/test_pulp_ansible_galaxy_api_collections_api.py +0 -52
- data/test/test_pulp_ansible_galaxy_api_v2_versions_api.py +0 -40
- data/test/test_pulp_ansible_galaxy_api_v3_all_api.py +0 -46
- data/test/test_pulp_ansible_galaxy_api_v3_collections_api.py +0 -41
- data/test/test_pulp_ansible_galaxy_api_v3_collections_docs_blob_api.py +0 -40
- data/test/test_pulp_ansible_galaxy_api_v3_versions_api.py +0 -46
- data/test/test_pulp_ansible_galaxy_v3_api.py +0 -40
- data/test/test_pulp_ansible_tags_api.py +0 -41
- data/test/test_remotes_collection_api.py +0 -76
- data/test/test_remotes_role_api.py +0 -76
- data/test/test_repo_metadata_response.py +0 -54
- data/test/test_repositories_ansible_api.py +0 -89
- data/test/test_repositories_ansible_versions_api.py +0 -61
- data/test/test_repository_add_remove_content.py +0 -59
- data/test/test_repository_version.py +0 -53
- data/test/test_repository_version_response.py +0 -58
- data/test/test_tag_response.py +0 -53
- data/test/test_unpaginated_collection_version_response.py +0 -65
- data/test/test_versions_api.py +0 -46
- data/tox.ini +0 -9
@@ -1,122 +0,0 @@
|
|
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 CollectionNamespaceResponse(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
|
-
'name': 'str'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'name': 'name'
|
42
|
-
}
|
43
|
-
|
44
|
-
def __init__(self, name=None, local_vars_configuration=None): # noqa: E501
|
45
|
-
"""CollectionNamespaceResponse - a model defined in OpenAPI""" # noqa: E501
|
46
|
-
if local_vars_configuration is None:
|
47
|
-
local_vars_configuration = Configuration()
|
48
|
-
self.local_vars_configuration = local_vars_configuration
|
49
|
-
|
50
|
-
self._name = None
|
51
|
-
self.discriminator = None
|
52
|
-
|
53
|
-
self.name = name
|
54
|
-
|
55
|
-
@property
|
56
|
-
def name(self):
|
57
|
-
"""Gets the name of this CollectionNamespaceResponse. # noqa: E501
|
58
|
-
|
59
|
-
|
60
|
-
:return: The name of this CollectionNamespaceResponse. # noqa: E501
|
61
|
-
:rtype: str
|
62
|
-
"""
|
63
|
-
return self._name
|
64
|
-
|
65
|
-
@name.setter
|
66
|
-
def name(self, name):
|
67
|
-
"""Sets the name of this CollectionNamespaceResponse.
|
68
|
-
|
69
|
-
|
70
|
-
:param name: The name of this CollectionNamespaceResponse. # noqa: E501
|
71
|
-
:type: str
|
72
|
-
"""
|
73
|
-
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
74
|
-
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
75
|
-
|
76
|
-
self._name = name
|
77
|
-
|
78
|
-
def to_dict(self):
|
79
|
-
"""Returns the model properties as a dict"""
|
80
|
-
result = {}
|
81
|
-
|
82
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
83
|
-
value = getattr(self, attr)
|
84
|
-
if isinstance(value, list):
|
85
|
-
result[attr] = list(map(
|
86
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
87
|
-
value
|
88
|
-
))
|
89
|
-
elif hasattr(value, "to_dict"):
|
90
|
-
result[attr] = value.to_dict()
|
91
|
-
elif isinstance(value, dict):
|
92
|
-
result[attr] = dict(map(
|
93
|
-
lambda item: (item[0], item[1].to_dict())
|
94
|
-
if hasattr(item[1], "to_dict") else item,
|
95
|
-
value.items()
|
96
|
-
))
|
97
|
-
else:
|
98
|
-
result[attr] = value
|
99
|
-
|
100
|
-
return result
|
101
|
-
|
102
|
-
def to_str(self):
|
103
|
-
"""Returns the string representation of the model"""
|
104
|
-
return pprint.pformat(self.to_dict())
|
105
|
-
|
106
|
-
def __repr__(self):
|
107
|
-
"""For `print` and `pprint`"""
|
108
|
-
return self.to_str()
|
109
|
-
|
110
|
-
def __eq__(self, other):
|
111
|
-
"""Returns true if both objects are equal"""
|
112
|
-
if not isinstance(other, CollectionNamespaceResponse):
|
113
|
-
return False
|
114
|
-
|
115
|
-
return self.to_dict() == other.to_dict()
|
116
|
-
|
117
|
-
def __ne__(self, other):
|
118
|
-
"""Returns true if both objects are not equal"""
|
119
|
-
if not isinstance(other, CollectionNamespaceResponse):
|
120
|
-
return True
|
121
|
-
|
122
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,236 +0,0 @@
|
|
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 CollectionOneShot(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
|
-
'file': 'file',
|
38
|
-
'sha256': 'str',
|
39
|
-
'expected_namespace': 'str',
|
40
|
-
'expected_name': 'str',
|
41
|
-
'expected_version': 'str'
|
42
|
-
}
|
43
|
-
|
44
|
-
attribute_map = {
|
45
|
-
'file': 'file',
|
46
|
-
'sha256': 'sha256',
|
47
|
-
'expected_namespace': 'expected_namespace',
|
48
|
-
'expected_name': 'expected_name',
|
49
|
-
'expected_version': 'expected_version'
|
50
|
-
}
|
51
|
-
|
52
|
-
def __init__(self, file=None, sha256=None, expected_namespace=None, expected_name=None, expected_version=None, local_vars_configuration=None): # noqa: E501
|
53
|
-
"""CollectionOneShot - a model defined in OpenAPI""" # noqa: E501
|
54
|
-
if local_vars_configuration is None:
|
55
|
-
local_vars_configuration = Configuration()
|
56
|
-
self.local_vars_configuration = local_vars_configuration
|
57
|
-
|
58
|
-
self._file = None
|
59
|
-
self._sha256 = None
|
60
|
-
self._expected_namespace = None
|
61
|
-
self._expected_name = None
|
62
|
-
self._expected_version = None
|
63
|
-
self.discriminator = None
|
64
|
-
|
65
|
-
self.file = file
|
66
|
-
if sha256 is not None:
|
67
|
-
self.sha256 = sha256
|
68
|
-
if expected_namespace is not None:
|
69
|
-
self.expected_namespace = expected_namespace
|
70
|
-
if expected_name is not None:
|
71
|
-
self.expected_name = expected_name
|
72
|
-
if expected_version is not None:
|
73
|
-
self.expected_version = expected_version
|
74
|
-
|
75
|
-
@property
|
76
|
-
def file(self):
|
77
|
-
"""Gets the file of this CollectionOneShot. # noqa: E501
|
78
|
-
|
79
|
-
The Collection tarball. # noqa: E501
|
80
|
-
|
81
|
-
:return: The file of this CollectionOneShot. # noqa: E501
|
82
|
-
:rtype: file
|
83
|
-
"""
|
84
|
-
return self._file
|
85
|
-
|
86
|
-
@file.setter
|
87
|
-
def file(self, file):
|
88
|
-
"""Sets the file of this CollectionOneShot.
|
89
|
-
|
90
|
-
The Collection tarball. # noqa: E501
|
91
|
-
|
92
|
-
:param file: The file of this CollectionOneShot. # noqa: E501
|
93
|
-
:type: file
|
94
|
-
"""
|
95
|
-
if self.local_vars_configuration.client_side_validation and file is None: # noqa: E501
|
96
|
-
raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501
|
97
|
-
|
98
|
-
self._file = file
|
99
|
-
|
100
|
-
@property
|
101
|
-
def sha256(self):
|
102
|
-
"""Gets the sha256 of this CollectionOneShot. # noqa: E501
|
103
|
-
|
104
|
-
An optional sha256 checksum of the uploaded file. # noqa: E501
|
105
|
-
|
106
|
-
:return: The sha256 of this CollectionOneShot. # noqa: E501
|
107
|
-
:rtype: str
|
108
|
-
"""
|
109
|
-
return self._sha256
|
110
|
-
|
111
|
-
@sha256.setter
|
112
|
-
def sha256(self, sha256):
|
113
|
-
"""Sets the sha256 of this CollectionOneShot.
|
114
|
-
|
115
|
-
An optional sha256 checksum of the uploaded file. # noqa: E501
|
116
|
-
|
117
|
-
:param sha256: The sha256 of this CollectionOneShot. # noqa: E501
|
118
|
-
:type: str
|
119
|
-
"""
|
120
|
-
|
121
|
-
self._sha256 = sha256
|
122
|
-
|
123
|
-
@property
|
124
|
-
def expected_namespace(self):
|
125
|
-
"""Gets the expected_namespace of this CollectionOneShot. # noqa: E501
|
126
|
-
|
127
|
-
The expected 'namespace' of the Collection to be verified against the metadata during import. # noqa: E501
|
128
|
-
|
129
|
-
:return: The expected_namespace of this CollectionOneShot. # noqa: E501
|
130
|
-
:rtype: str
|
131
|
-
"""
|
132
|
-
return self._expected_namespace
|
133
|
-
|
134
|
-
@expected_namespace.setter
|
135
|
-
def expected_namespace(self, expected_namespace):
|
136
|
-
"""Sets the expected_namespace of this CollectionOneShot.
|
137
|
-
|
138
|
-
The expected 'namespace' of the Collection to be verified against the metadata during import. # noqa: E501
|
139
|
-
|
140
|
-
:param expected_namespace: The expected_namespace of this CollectionOneShot. # noqa: E501
|
141
|
-
:type: str
|
142
|
-
"""
|
143
|
-
|
144
|
-
self._expected_namespace = expected_namespace
|
145
|
-
|
146
|
-
@property
|
147
|
-
def expected_name(self):
|
148
|
-
"""Gets the expected_name of this CollectionOneShot. # noqa: E501
|
149
|
-
|
150
|
-
The expected 'name' of the Collection to be verified against the metadata during import. # noqa: E501
|
151
|
-
|
152
|
-
:return: The expected_name of this CollectionOneShot. # noqa: E501
|
153
|
-
:rtype: str
|
154
|
-
"""
|
155
|
-
return self._expected_name
|
156
|
-
|
157
|
-
@expected_name.setter
|
158
|
-
def expected_name(self, expected_name):
|
159
|
-
"""Sets the expected_name of this CollectionOneShot.
|
160
|
-
|
161
|
-
The expected 'name' of the Collection to be verified against the metadata during import. # noqa: E501
|
162
|
-
|
163
|
-
:param expected_name: The expected_name of this CollectionOneShot. # noqa: E501
|
164
|
-
:type: str
|
165
|
-
"""
|
166
|
-
|
167
|
-
self._expected_name = expected_name
|
168
|
-
|
169
|
-
@property
|
170
|
-
def expected_version(self):
|
171
|
-
"""Gets the expected_version of this CollectionOneShot. # noqa: E501
|
172
|
-
|
173
|
-
The expected version of the Collection to be verified against the metadata during import. # noqa: E501
|
174
|
-
|
175
|
-
:return: The expected_version of this CollectionOneShot. # noqa: E501
|
176
|
-
:rtype: str
|
177
|
-
"""
|
178
|
-
return self._expected_version
|
179
|
-
|
180
|
-
@expected_version.setter
|
181
|
-
def expected_version(self, expected_version):
|
182
|
-
"""Sets the expected_version of this CollectionOneShot.
|
183
|
-
|
184
|
-
The expected version of the Collection to be verified against the metadata during import. # noqa: E501
|
185
|
-
|
186
|
-
:param expected_version: The expected_version of this CollectionOneShot. # noqa: E501
|
187
|
-
:type: str
|
188
|
-
"""
|
189
|
-
|
190
|
-
self._expected_version = expected_version
|
191
|
-
|
192
|
-
def to_dict(self):
|
193
|
-
"""Returns the model properties as a dict"""
|
194
|
-
result = {}
|
195
|
-
|
196
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
197
|
-
value = getattr(self, attr)
|
198
|
-
if isinstance(value, list):
|
199
|
-
result[attr] = list(map(
|
200
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
201
|
-
value
|
202
|
-
))
|
203
|
-
elif hasattr(value, "to_dict"):
|
204
|
-
result[attr] = value.to_dict()
|
205
|
-
elif isinstance(value, dict):
|
206
|
-
result[attr] = dict(map(
|
207
|
-
lambda item: (item[0], item[1].to_dict())
|
208
|
-
if hasattr(item[1], "to_dict") else item,
|
209
|
-
value.items()
|
210
|
-
))
|
211
|
-
else:
|
212
|
-
result[attr] = value
|
213
|
-
|
214
|
-
return result
|
215
|
-
|
216
|
-
def to_str(self):
|
217
|
-
"""Returns the string representation of the model"""
|
218
|
-
return pprint.pformat(self.to_dict())
|
219
|
-
|
220
|
-
def __repr__(self):
|
221
|
-
"""For `print` and `pprint`"""
|
222
|
-
return self.to_str()
|
223
|
-
|
224
|
-
def __eq__(self, other):
|
225
|
-
"""Returns true if both objects are equal"""
|
226
|
-
if not isinstance(other, CollectionOneShot):
|
227
|
-
return False
|
228
|
-
|
229
|
-
return self.to_dict() == other.to_dict()
|
230
|
-
|
231
|
-
def __ne__(self, other):
|
232
|
-
"""Returns true if both objects are not equal"""
|
233
|
-
if not isinstance(other, CollectionOneShot):
|
234
|
-
return True
|
235
|
-
|
236
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,175 +0,0 @@
|
|
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 CollectionRefResponse(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
|
-
'id': 'str',
|
38
|
-
'name': 'str',
|
39
|
-
'href': 'str'
|
40
|
-
}
|
41
|
-
|
42
|
-
attribute_map = {
|
43
|
-
'id': 'id',
|
44
|
-
'name': 'name',
|
45
|
-
'href': 'href'
|
46
|
-
}
|
47
|
-
|
48
|
-
def __init__(self, id=None, name=None, href=None, local_vars_configuration=None): # noqa: E501
|
49
|
-
"""CollectionRefResponse - 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._id = None
|
55
|
-
self._name = None
|
56
|
-
self._href = None
|
57
|
-
self.discriminator = None
|
58
|
-
|
59
|
-
self.id = id
|
60
|
-
self.name = name
|
61
|
-
if href is not None:
|
62
|
-
self.href = href
|
63
|
-
|
64
|
-
@property
|
65
|
-
def id(self):
|
66
|
-
"""Gets the id of this CollectionRefResponse. # noqa: E501
|
67
|
-
|
68
|
-
|
69
|
-
:return: The id of this CollectionRefResponse. # noqa: E501
|
70
|
-
:rtype: str
|
71
|
-
"""
|
72
|
-
return self._id
|
73
|
-
|
74
|
-
@id.setter
|
75
|
-
def id(self, id):
|
76
|
-
"""Sets the id of this CollectionRefResponse.
|
77
|
-
|
78
|
-
|
79
|
-
:param id: The id of this CollectionRefResponse. # noqa: E501
|
80
|
-
:type: str
|
81
|
-
"""
|
82
|
-
if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
|
83
|
-
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
84
|
-
|
85
|
-
self._id = id
|
86
|
-
|
87
|
-
@property
|
88
|
-
def name(self):
|
89
|
-
"""Gets the name of this CollectionRefResponse. # noqa: E501
|
90
|
-
|
91
|
-
|
92
|
-
:return: The name of this CollectionRefResponse. # noqa: E501
|
93
|
-
:rtype: str
|
94
|
-
"""
|
95
|
-
return self._name
|
96
|
-
|
97
|
-
@name.setter
|
98
|
-
def name(self, name):
|
99
|
-
"""Sets the name of this CollectionRefResponse.
|
100
|
-
|
101
|
-
|
102
|
-
:param name: The name of this CollectionRefResponse. # noqa: E501
|
103
|
-
:type: str
|
104
|
-
"""
|
105
|
-
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
106
|
-
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
107
|
-
|
108
|
-
self._name = name
|
109
|
-
|
110
|
-
@property
|
111
|
-
def href(self):
|
112
|
-
"""Gets the href of this CollectionRefResponse. # noqa: E501
|
113
|
-
|
114
|
-
|
115
|
-
:return: The href of this CollectionRefResponse. # noqa: E501
|
116
|
-
:rtype: str
|
117
|
-
"""
|
118
|
-
return self._href
|
119
|
-
|
120
|
-
@href.setter
|
121
|
-
def href(self, href):
|
122
|
-
"""Sets the href of this CollectionRefResponse.
|
123
|
-
|
124
|
-
|
125
|
-
:param href: The href of this CollectionRefResponse. # noqa: E501
|
126
|
-
:type: str
|
127
|
-
"""
|
128
|
-
|
129
|
-
self._href = href
|
130
|
-
|
131
|
-
def to_dict(self):
|
132
|
-
"""Returns the model properties as a dict"""
|
133
|
-
result = {}
|
134
|
-
|
135
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
136
|
-
value = getattr(self, attr)
|
137
|
-
if isinstance(value, list):
|
138
|
-
result[attr] = list(map(
|
139
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
140
|
-
value
|
141
|
-
))
|
142
|
-
elif hasattr(value, "to_dict"):
|
143
|
-
result[attr] = value.to_dict()
|
144
|
-
elif isinstance(value, dict):
|
145
|
-
result[attr] = dict(map(
|
146
|
-
lambda item: (item[0], item[1].to_dict())
|
147
|
-
if hasattr(item[1], "to_dict") else item,
|
148
|
-
value.items()
|
149
|
-
))
|
150
|
-
else:
|
151
|
-
result[attr] = value
|
152
|
-
|
153
|
-
return result
|
154
|
-
|
155
|
-
def to_str(self):
|
156
|
-
"""Returns the string representation of the model"""
|
157
|
-
return pprint.pformat(self.to_dict())
|
158
|
-
|
159
|
-
def __repr__(self):
|
160
|
-
"""For `print` and `pprint`"""
|
161
|
-
return self.to_str()
|
162
|
-
|
163
|
-
def __eq__(self, other):
|
164
|
-
"""Returns true if both objects are equal"""
|
165
|
-
if not isinstance(other, CollectionRefResponse):
|
166
|
-
return False
|
167
|
-
|
168
|
-
return self.to_dict() == other.to_dict()
|
169
|
-
|
170
|
-
def __ne__(self, other):
|
171
|
-
"""Returns true if both objects are not equal"""
|
172
|
-
if not isinstance(other, CollectionRefResponse):
|
173
|
-
return True
|
174
|
-
|
175
|
-
return self.to_dict() != other.to_dict()
|