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,162 +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
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import re # noqa: F401
|
17
|
-
|
18
|
-
# python 2 and python 3 compatibility library
|
19
|
-
import six
|
20
|
-
|
21
|
-
from pulpcore.client.pulp_ansible.api_client import ApiClient
|
22
|
-
from pulpcore.client.pulp_ansible.exceptions import ( # noqa: F401
|
23
|
-
ApiTypeError,
|
24
|
-
ApiValueError
|
25
|
-
)
|
26
|
-
|
27
|
-
|
28
|
-
class GalaxyDetailApi(object):
|
29
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
30
|
-
Ref: https://openapi-generator.tech
|
31
|
-
|
32
|
-
Do not edit the class manually.
|
33
|
-
"""
|
34
|
-
|
35
|
-
def __init__(self, api_client=None):
|
36
|
-
if api_client is None:
|
37
|
-
api_client = ApiClient()
|
38
|
-
self.api_client = api_client
|
39
|
-
|
40
|
-
def get(self, ansible_collection_href, **kwargs): # noqa: E501
|
41
|
-
"""get # noqa: E501
|
42
|
-
|
43
|
-
Get the detail view of a Collection. # noqa: E501
|
44
|
-
This method makes a synchronous HTTP request by default. To make an
|
45
|
-
asynchronous HTTP request, please pass async_req=True
|
46
|
-
>>> thread = api.get(ansible_collection_href, async_req=True)
|
47
|
-
>>> result = thread.get()
|
48
|
-
|
49
|
-
:param async_req bool: execute request asynchronously
|
50
|
-
:param str ansible_collection_href: (required)
|
51
|
-
:param str fields: A list of fields to include in the response.
|
52
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
53
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
54
|
-
be returned without reading/decoding response
|
55
|
-
data. Default is True.
|
56
|
-
:param _request_timeout: timeout setting for this request. If one
|
57
|
-
number provided, it will be total request
|
58
|
-
timeout. It can also be a pair (tuple) of
|
59
|
-
(connection, read) timeouts.
|
60
|
-
:return: GalaxyCollectionResponse
|
61
|
-
If the method is called asynchronously,
|
62
|
-
returns the request thread.
|
63
|
-
"""
|
64
|
-
kwargs['_return_http_data_only'] = True
|
65
|
-
return self.get_with_http_info(ansible_collection_href, **kwargs) # noqa: E501
|
66
|
-
|
67
|
-
def get_with_http_info(self, ansible_collection_href, **kwargs): # noqa: E501
|
68
|
-
"""get # noqa: E501
|
69
|
-
|
70
|
-
Get the detail view of a Collection. # noqa: E501
|
71
|
-
This method makes a synchronous HTTP request by default. To make an
|
72
|
-
asynchronous HTTP request, please pass async_req=True
|
73
|
-
>>> thread = api.get_with_http_info(ansible_collection_href, async_req=True)
|
74
|
-
>>> result = thread.get()
|
75
|
-
|
76
|
-
:param async_req bool: execute request asynchronously
|
77
|
-
:param str ansible_collection_href: (required)
|
78
|
-
:param str fields: A list of fields to include in the response.
|
79
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
80
|
-
:param _return_http_data_only: response data without head status code
|
81
|
-
and headers
|
82
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
83
|
-
be returned without reading/decoding response
|
84
|
-
data. Default is True.
|
85
|
-
:param _request_timeout: timeout setting for this request. If one
|
86
|
-
number provided, it will be total request
|
87
|
-
timeout. It can also be a pair (tuple) of
|
88
|
-
(connection, read) timeouts.
|
89
|
-
:return: tuple(GalaxyCollectionResponse, status_code(int), headers(HTTPHeaderDict))
|
90
|
-
If the method is called asynchronously,
|
91
|
-
returns the request thread.
|
92
|
-
"""
|
93
|
-
|
94
|
-
local_var_params = locals()
|
95
|
-
|
96
|
-
all_params = [
|
97
|
-
'ansible_collection_href',
|
98
|
-
'fields',
|
99
|
-
'exclude_fields'
|
100
|
-
]
|
101
|
-
all_params.extend(
|
102
|
-
[
|
103
|
-
'async_req',
|
104
|
-
'_return_http_data_only',
|
105
|
-
'_preload_content',
|
106
|
-
'_request_timeout'
|
107
|
-
]
|
108
|
-
)
|
109
|
-
|
110
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
111
|
-
if key not in all_params:
|
112
|
-
raise ApiTypeError(
|
113
|
-
"Got an unexpected keyword argument '%s'"
|
114
|
-
" to method get" % key
|
115
|
-
)
|
116
|
-
local_var_params[key] = val
|
117
|
-
del local_var_params['kwargs']
|
118
|
-
# verify the required parameter 'ansible_collection_href' is set
|
119
|
-
if self.api_client.client_side_validation and ('ansible_collection_href' not in local_var_params or # noqa: E501
|
120
|
-
local_var_params['ansible_collection_href'] is None): # noqa: E501
|
121
|
-
raise ApiValueError("Missing the required parameter `ansible_collection_href` when calling `get`") # noqa: E501
|
122
|
-
|
123
|
-
collection_formats = {}
|
124
|
-
|
125
|
-
path_params = {}
|
126
|
-
if 'ansible_collection_href' in local_var_params:
|
127
|
-
path_params['ansible_collection_href'] = local_var_params['ansible_collection_href'] # noqa: E501
|
128
|
-
|
129
|
-
query_params = []
|
130
|
-
if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
|
131
|
-
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
132
|
-
if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
|
133
|
-
query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
|
134
|
-
|
135
|
-
header_params = {}
|
136
|
-
|
137
|
-
form_params = []
|
138
|
-
local_var_files = {}
|
139
|
-
|
140
|
-
body_params = None
|
141
|
-
# HTTP header `Accept`
|
142
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
143
|
-
['application/json']) # noqa: E501
|
144
|
-
|
145
|
-
# Authentication setting
|
146
|
-
auth_settings = [] # noqa: E501
|
147
|
-
|
148
|
-
return self.api_client.call_api(
|
149
|
-
'{ansible_collection_href}', 'GET',
|
150
|
-
path_params,
|
151
|
-
query_params,
|
152
|
-
header_params,
|
153
|
-
body=body_params,
|
154
|
-
post_params=form_params,
|
155
|
-
files=local_var_files,
|
156
|
-
response_type='GalaxyCollectionResponse', # noqa: E501
|
157
|
-
auth_settings=auth_settings,
|
158
|
-
async_req=local_var_params.get('async_req'),
|
159
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
160
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
161
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
162
|
-
collection_formats=collection_formats)
|
@@ -1,158 +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
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import re # noqa: F401
|
17
|
-
|
18
|
-
# python 2 and python 3 compatibility library
|
19
|
-
import six
|
20
|
-
|
21
|
-
from pulpcore.client.pulp_ansible.api_client import ApiClient
|
22
|
-
from pulpcore.client.pulp_ansible.exceptions import ( # noqa: F401
|
23
|
-
ApiTypeError,
|
24
|
-
ApiValueError
|
25
|
-
)
|
26
|
-
|
27
|
-
|
28
|
-
class PulpAnsibleApiApi(object):
|
29
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
30
|
-
Ref: https://openapi-generator.tech
|
31
|
-
|
32
|
-
Do not edit the class manually.
|
33
|
-
"""
|
34
|
-
|
35
|
-
def __init__(self, api_client=None):
|
36
|
-
if api_client is None:
|
37
|
-
api_client = ApiClient()
|
38
|
-
self.api_client = api_client
|
39
|
-
|
40
|
-
def get(self, path, **kwargs): # noqa: E501
|
41
|
-
"""get # noqa: E501
|
42
|
-
|
43
|
-
Return a response to the \"GET\" action. # noqa: E501
|
44
|
-
This method makes a synchronous HTTP request by default. To make an
|
45
|
-
asynchronous HTTP request, please pass async_req=True
|
46
|
-
>>> thread = api.get(path, async_req=True)
|
47
|
-
>>> result = thread.get()
|
48
|
-
|
49
|
-
:param async_req bool: execute request asynchronously
|
50
|
-
:param str path: (required)
|
51
|
-
:param str fields: A list of fields to include in the response.
|
52
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
53
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
54
|
-
be returned without reading/decoding response
|
55
|
-
data. Default is True.
|
56
|
-
:param _request_timeout: timeout setting for this request. If one
|
57
|
-
number provided, it will be total request
|
58
|
-
timeout. It can also be a pair (tuple) of
|
59
|
-
(connection, read) timeouts.
|
60
|
-
:return: None
|
61
|
-
If the method is called asynchronously,
|
62
|
-
returns the request thread.
|
63
|
-
"""
|
64
|
-
kwargs['_return_http_data_only'] = True
|
65
|
-
return self.get_with_http_info(path, **kwargs) # noqa: E501
|
66
|
-
|
67
|
-
def get_with_http_info(self, path, **kwargs): # noqa: E501
|
68
|
-
"""get # noqa: E501
|
69
|
-
|
70
|
-
Return a response to the \"GET\" action. # noqa: E501
|
71
|
-
This method makes a synchronous HTTP request by default. To make an
|
72
|
-
asynchronous HTTP request, please pass async_req=True
|
73
|
-
>>> thread = api.get_with_http_info(path, async_req=True)
|
74
|
-
>>> result = thread.get()
|
75
|
-
|
76
|
-
:param async_req bool: execute request asynchronously
|
77
|
-
:param str path: (required)
|
78
|
-
:param str fields: A list of fields to include in the response.
|
79
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
80
|
-
:param _return_http_data_only: response data without head status code
|
81
|
-
and headers
|
82
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
83
|
-
be returned without reading/decoding response
|
84
|
-
data. Default is True.
|
85
|
-
:param _request_timeout: timeout setting for this request. If one
|
86
|
-
number provided, it will be total request
|
87
|
-
timeout. It can also be a pair (tuple) of
|
88
|
-
(connection, read) timeouts.
|
89
|
-
:return: None
|
90
|
-
If the method is called asynchronously,
|
91
|
-
returns the request thread.
|
92
|
-
"""
|
93
|
-
|
94
|
-
local_var_params = locals()
|
95
|
-
|
96
|
-
all_params = [
|
97
|
-
'path',
|
98
|
-
'fields',
|
99
|
-
'exclude_fields'
|
100
|
-
]
|
101
|
-
all_params.extend(
|
102
|
-
[
|
103
|
-
'async_req',
|
104
|
-
'_return_http_data_only',
|
105
|
-
'_preload_content',
|
106
|
-
'_request_timeout'
|
107
|
-
]
|
108
|
-
)
|
109
|
-
|
110
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
111
|
-
if key not in all_params:
|
112
|
-
raise ApiTypeError(
|
113
|
-
"Got an unexpected keyword argument '%s'"
|
114
|
-
" to method get" % key
|
115
|
-
)
|
116
|
-
local_var_params[key] = val
|
117
|
-
del local_var_params['kwargs']
|
118
|
-
# verify the required parameter 'path' is set
|
119
|
-
if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
|
120
|
-
local_var_params['path'] is None): # noqa: E501
|
121
|
-
raise ApiValueError("Missing the required parameter `path` when calling `get`") # noqa: E501
|
122
|
-
|
123
|
-
collection_formats = {}
|
124
|
-
|
125
|
-
path_params = {}
|
126
|
-
if 'path' in local_var_params:
|
127
|
-
path_params['path'] = local_var_params['path'] # noqa: E501
|
128
|
-
|
129
|
-
query_params = []
|
130
|
-
if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
|
131
|
-
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
132
|
-
if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
|
133
|
-
query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
|
134
|
-
|
135
|
-
header_params = {}
|
136
|
-
|
137
|
-
form_params = []
|
138
|
-
local_var_files = {}
|
139
|
-
|
140
|
-
body_params = None
|
141
|
-
# Authentication setting
|
142
|
-
auth_settings = [] # noqa: E501
|
143
|
-
|
144
|
-
return self.api_client.call_api(
|
145
|
-
'/pulp_ansible/galaxy/{path}/api/', 'GET',
|
146
|
-
path_params,
|
147
|
-
query_params,
|
148
|
-
header_params,
|
149
|
-
body=body_params,
|
150
|
-
post_params=form_params,
|
151
|
-
files=local_var_files,
|
152
|
-
response_type=None, # noqa: E501
|
153
|
-
auth_settings=auth_settings,
|
154
|
-
async_req=local_var_params.get('async_req'),
|
155
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
156
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
157
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
158
|
-
collection_formats=collection_formats)
|
@@ -1,474 +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
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import re # noqa: F401
|
17
|
-
|
18
|
-
# python 2 and python 3 compatibility library
|
19
|
-
import six
|
20
|
-
|
21
|
-
from pulpcore.client.pulp_ansible.api_client import ApiClient
|
22
|
-
from pulpcore.client.pulp_ansible.exceptions import ( # noqa: F401
|
23
|
-
ApiTypeError,
|
24
|
-
ApiValueError
|
25
|
-
)
|
26
|
-
|
27
|
-
|
28
|
-
class PulpAnsibleGalaxyApiCollectionsApi(object):
|
29
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
30
|
-
Ref: https://openapi-generator.tech
|
31
|
-
|
32
|
-
Do not edit the class manually.
|
33
|
-
"""
|
34
|
-
|
35
|
-
def __init__(self, api_client=None):
|
36
|
-
if api_client is None:
|
37
|
-
api_client = ApiClient()
|
38
|
-
self.api_client = api_client
|
39
|
-
|
40
|
-
def list(self, path, **kwargs): # noqa: E501
|
41
|
-
"""list # noqa: E501
|
42
|
-
|
43
|
-
ViewSet for Collections. # noqa: E501
|
44
|
-
This method makes a synchronous HTTP request by default. To make an
|
45
|
-
asynchronous HTTP request, please pass async_req=True
|
46
|
-
>>> thread = api.list(path, async_req=True)
|
47
|
-
>>> result = thread.get()
|
48
|
-
|
49
|
-
:param async_req bool: execute request asynchronously
|
50
|
-
:param str path: (required)
|
51
|
-
:param str deprecated:
|
52
|
-
:param int limit: Number of results to return per page.
|
53
|
-
:param str name:
|
54
|
-
:param str namespace:
|
55
|
-
:param int offset: The initial index from which to return the results.
|
56
|
-
:param str fields: A list of fields to include in the response.
|
57
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
58
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
59
|
-
be returned without reading/decoding response
|
60
|
-
data. Default is True.
|
61
|
-
:param _request_timeout: timeout setting for this request. If one
|
62
|
-
number provided, it will be total request
|
63
|
-
timeout. It can also be a pair (tuple) of
|
64
|
-
(connection, read) timeouts.
|
65
|
-
:return: PaginatedCollectionResponseList
|
66
|
-
If the method is called asynchronously,
|
67
|
-
returns the request thread.
|
68
|
-
"""
|
69
|
-
kwargs['_return_http_data_only'] = True
|
70
|
-
return self.list_with_http_info(path, **kwargs) # noqa: E501
|
71
|
-
|
72
|
-
def list_with_http_info(self, path, **kwargs): # noqa: E501
|
73
|
-
"""list # noqa: E501
|
74
|
-
|
75
|
-
ViewSet for Collections. # noqa: E501
|
76
|
-
This method makes a synchronous HTTP request by default. To make an
|
77
|
-
asynchronous HTTP request, please pass async_req=True
|
78
|
-
>>> thread = api.list_with_http_info(path, async_req=True)
|
79
|
-
>>> result = thread.get()
|
80
|
-
|
81
|
-
:param async_req bool: execute request asynchronously
|
82
|
-
:param str path: (required)
|
83
|
-
:param str deprecated:
|
84
|
-
:param int limit: Number of results to return per page.
|
85
|
-
:param str name:
|
86
|
-
:param str namespace:
|
87
|
-
:param int offset: The initial index from which to return the results.
|
88
|
-
:param str fields: A list of fields to include in the response.
|
89
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
90
|
-
:param _return_http_data_only: response data without head status code
|
91
|
-
and headers
|
92
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
93
|
-
be returned without reading/decoding response
|
94
|
-
data. Default is True.
|
95
|
-
:param _request_timeout: timeout setting for this request. If one
|
96
|
-
number provided, it will be total request
|
97
|
-
timeout. It can also be a pair (tuple) of
|
98
|
-
(connection, read) timeouts.
|
99
|
-
:return: tuple(PaginatedCollectionResponseList, status_code(int), headers(HTTPHeaderDict))
|
100
|
-
If the method is called asynchronously,
|
101
|
-
returns the request thread.
|
102
|
-
"""
|
103
|
-
|
104
|
-
local_var_params = locals()
|
105
|
-
|
106
|
-
all_params = [
|
107
|
-
'path',
|
108
|
-
'deprecated',
|
109
|
-
'limit',
|
110
|
-
'name',
|
111
|
-
'namespace',
|
112
|
-
'offset',
|
113
|
-
'fields',
|
114
|
-
'exclude_fields'
|
115
|
-
]
|
116
|
-
all_params.extend(
|
117
|
-
[
|
118
|
-
'async_req',
|
119
|
-
'_return_http_data_only',
|
120
|
-
'_preload_content',
|
121
|
-
'_request_timeout'
|
122
|
-
]
|
123
|
-
)
|
124
|
-
|
125
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
126
|
-
if key not in all_params:
|
127
|
-
raise ApiTypeError(
|
128
|
-
"Got an unexpected keyword argument '%s'"
|
129
|
-
" to method list" % key
|
130
|
-
)
|
131
|
-
local_var_params[key] = val
|
132
|
-
del local_var_params['kwargs']
|
133
|
-
# verify the required parameter 'path' is set
|
134
|
-
if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
|
135
|
-
local_var_params['path'] is None): # noqa: E501
|
136
|
-
raise ApiValueError("Missing the required parameter `path` when calling `list`") # noqa: E501
|
137
|
-
|
138
|
-
collection_formats = {}
|
139
|
-
|
140
|
-
path_params = {}
|
141
|
-
if 'path' in local_var_params:
|
142
|
-
path_params['path'] = local_var_params['path'] # noqa: E501
|
143
|
-
|
144
|
-
query_params = []
|
145
|
-
if 'deprecated' in local_var_params and local_var_params['deprecated'] is not None: # noqa: E501
|
146
|
-
query_params.append(('deprecated', local_var_params['deprecated'])) # noqa: E501
|
147
|
-
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
148
|
-
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
149
|
-
if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
|
150
|
-
query_params.append(('name', local_var_params['name'])) # noqa: E501
|
151
|
-
if 'namespace' in local_var_params and local_var_params['namespace'] is not None: # noqa: E501
|
152
|
-
query_params.append(('namespace', local_var_params['namespace'])) # noqa: E501
|
153
|
-
if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501
|
154
|
-
query_params.append(('offset', local_var_params['offset'])) # noqa: E501
|
155
|
-
if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
|
156
|
-
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
157
|
-
if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
|
158
|
-
query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
|
159
|
-
|
160
|
-
header_params = {}
|
161
|
-
|
162
|
-
form_params = []
|
163
|
-
local_var_files = {}
|
164
|
-
|
165
|
-
body_params = None
|
166
|
-
# HTTP header `Accept`
|
167
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
168
|
-
['application/json']) # noqa: E501
|
169
|
-
|
170
|
-
# Authentication setting
|
171
|
-
auth_settings = [] # noqa: E501
|
172
|
-
|
173
|
-
return self.api_client.call_api(
|
174
|
-
'/pulp_ansible/galaxy/{path}/api/v3/collections/', 'GET',
|
175
|
-
path_params,
|
176
|
-
query_params,
|
177
|
-
header_params,
|
178
|
-
body=body_params,
|
179
|
-
post_params=form_params,
|
180
|
-
files=local_var_files,
|
181
|
-
response_type='PaginatedCollectionResponseList', # noqa: E501
|
182
|
-
auth_settings=auth_settings,
|
183
|
-
async_req=local_var_params.get('async_req'),
|
184
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
185
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
186
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
187
|
-
collection_formats=collection_formats)
|
188
|
-
|
189
|
-
def read(self, name, namespace, path, **kwargs): # noqa: E501
|
190
|
-
"""read # noqa: E501
|
191
|
-
|
192
|
-
ViewSet for Collections. # noqa: E501
|
193
|
-
This method makes a synchronous HTTP request by default. To make an
|
194
|
-
asynchronous HTTP request, please pass async_req=True
|
195
|
-
>>> thread = api.read(name, namespace, path, async_req=True)
|
196
|
-
>>> result = thread.get()
|
197
|
-
|
198
|
-
:param async_req bool: execute request asynchronously
|
199
|
-
:param str name: (required)
|
200
|
-
:param str namespace: (required)
|
201
|
-
:param str path: (required)
|
202
|
-
:param str fields: A list of fields to include in the response.
|
203
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
204
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
205
|
-
be returned without reading/decoding response
|
206
|
-
data. Default is True.
|
207
|
-
:param _request_timeout: timeout setting for this request. If one
|
208
|
-
number provided, it will be total request
|
209
|
-
timeout. It can also be a pair (tuple) of
|
210
|
-
(connection, read) timeouts.
|
211
|
-
:return: CollectionResponse
|
212
|
-
If the method is called asynchronously,
|
213
|
-
returns the request thread.
|
214
|
-
"""
|
215
|
-
kwargs['_return_http_data_only'] = True
|
216
|
-
return self.read_with_http_info(name, namespace, path, **kwargs) # noqa: E501
|
217
|
-
|
218
|
-
def read_with_http_info(self, name, namespace, path, **kwargs): # noqa: E501
|
219
|
-
"""read # noqa: E501
|
220
|
-
|
221
|
-
ViewSet for Collections. # noqa: E501
|
222
|
-
This method makes a synchronous HTTP request by default. To make an
|
223
|
-
asynchronous HTTP request, please pass async_req=True
|
224
|
-
>>> thread = api.read_with_http_info(name, namespace, path, async_req=True)
|
225
|
-
>>> result = thread.get()
|
226
|
-
|
227
|
-
:param async_req bool: execute request asynchronously
|
228
|
-
:param str name: (required)
|
229
|
-
:param str namespace: (required)
|
230
|
-
:param str path: (required)
|
231
|
-
:param str fields: A list of fields to include in the response.
|
232
|
-
:param str exclude_fields: A list of fields to exclude from the response.
|
233
|
-
:param _return_http_data_only: response data without head status code
|
234
|
-
and headers
|
235
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
236
|
-
be returned without reading/decoding response
|
237
|
-
data. Default is True.
|
238
|
-
:param _request_timeout: timeout setting for this request. If one
|
239
|
-
number provided, it will be total request
|
240
|
-
timeout. It can also be a pair (tuple) of
|
241
|
-
(connection, read) timeouts.
|
242
|
-
:return: tuple(CollectionResponse, status_code(int), headers(HTTPHeaderDict))
|
243
|
-
If the method is called asynchronously,
|
244
|
-
returns the request thread.
|
245
|
-
"""
|
246
|
-
|
247
|
-
local_var_params = locals()
|
248
|
-
|
249
|
-
all_params = [
|
250
|
-
'name',
|
251
|
-
'namespace',
|
252
|
-
'path',
|
253
|
-
'fields',
|
254
|
-
'exclude_fields'
|
255
|
-
]
|
256
|
-
all_params.extend(
|
257
|
-
[
|
258
|
-
'async_req',
|
259
|
-
'_return_http_data_only',
|
260
|
-
'_preload_content',
|
261
|
-
'_request_timeout'
|
262
|
-
]
|
263
|
-
)
|
264
|
-
|
265
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
266
|
-
if key not in all_params:
|
267
|
-
raise ApiTypeError(
|
268
|
-
"Got an unexpected keyword argument '%s'"
|
269
|
-
" to method read" % key
|
270
|
-
)
|
271
|
-
local_var_params[key] = val
|
272
|
-
del local_var_params['kwargs']
|
273
|
-
# verify the required parameter 'name' is set
|
274
|
-
if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501
|
275
|
-
local_var_params['name'] is None): # noqa: E501
|
276
|
-
raise ApiValueError("Missing the required parameter `name` when calling `read`") # noqa: E501
|
277
|
-
# verify the required parameter 'namespace' is set
|
278
|
-
if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501
|
279
|
-
local_var_params['namespace'] is None): # noqa: E501
|
280
|
-
raise ApiValueError("Missing the required parameter `namespace` when calling `read`") # noqa: E501
|
281
|
-
# verify the required parameter 'path' is set
|
282
|
-
if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
|
283
|
-
local_var_params['path'] is None): # noqa: E501
|
284
|
-
raise ApiValueError("Missing the required parameter `path` when calling `read`") # noqa: E501
|
285
|
-
|
286
|
-
collection_formats = {}
|
287
|
-
|
288
|
-
path_params = {}
|
289
|
-
if 'name' in local_var_params:
|
290
|
-
path_params['name'] = local_var_params['name'] # noqa: E501
|
291
|
-
if 'namespace' in local_var_params:
|
292
|
-
path_params['namespace'] = local_var_params['namespace'] # noqa: E501
|
293
|
-
if 'path' in local_var_params:
|
294
|
-
path_params['path'] = local_var_params['path'] # noqa: E501
|
295
|
-
|
296
|
-
query_params = []
|
297
|
-
if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
|
298
|
-
query_params.append(('fields', local_var_params['fields'])) # noqa: E501
|
299
|
-
if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
|
300
|
-
query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
|
301
|
-
|
302
|
-
header_params = {}
|
303
|
-
|
304
|
-
form_params = []
|
305
|
-
local_var_files = {}
|
306
|
-
|
307
|
-
body_params = None
|
308
|
-
# HTTP header `Accept`
|
309
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
310
|
-
['application/json']) # noqa: E501
|
311
|
-
|
312
|
-
# Authentication setting
|
313
|
-
auth_settings = [] # noqa: E501
|
314
|
-
|
315
|
-
return self.api_client.call_api(
|
316
|
-
'/pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/', 'GET',
|
317
|
-
path_params,
|
318
|
-
query_params,
|
319
|
-
header_params,
|
320
|
-
body=body_params,
|
321
|
-
post_params=form_params,
|
322
|
-
files=local_var_files,
|
323
|
-
response_type='CollectionResponse', # noqa: E501
|
324
|
-
auth_settings=auth_settings,
|
325
|
-
async_req=local_var_params.get('async_req'),
|
326
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
327
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
328
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
329
|
-
collection_formats=collection_formats)
|
330
|
-
|
331
|
-
def update(self, name, namespace, path, body, **kwargs): # noqa: E501
|
332
|
-
"""update # noqa: E501
|
333
|
-
|
334
|
-
Update a Collection object. # noqa: E501
|
335
|
-
This method makes a synchronous HTTP request by default. To make an
|
336
|
-
asynchronous HTTP request, please pass async_req=True
|
337
|
-
>>> thread = api.update(name, namespace, path, body, async_req=True)
|
338
|
-
>>> result = thread.get()
|
339
|
-
|
340
|
-
:param async_req bool: execute request asynchronously
|
341
|
-
:param str name: (required)
|
342
|
-
:param str namespace: (required)
|
343
|
-
:param str path: (required)
|
344
|
-
:param object body: (required)
|
345
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
346
|
-
be returned without reading/decoding response
|
347
|
-
data. Default is True.
|
348
|
-
:param _request_timeout: timeout setting for this request. If one
|
349
|
-
number provided, it will be total request
|
350
|
-
timeout. It can also be a pair (tuple) of
|
351
|
-
(connection, read) timeouts.
|
352
|
-
:return: CollectionResponse
|
353
|
-
If the method is called asynchronously,
|
354
|
-
returns the request thread.
|
355
|
-
"""
|
356
|
-
kwargs['_return_http_data_only'] = True
|
357
|
-
return self.update_with_http_info(name, namespace, path, body, **kwargs) # noqa: E501
|
358
|
-
|
359
|
-
def update_with_http_info(self, name, namespace, path, body, **kwargs): # noqa: E501
|
360
|
-
"""update # noqa: E501
|
361
|
-
|
362
|
-
Update a Collection object. # noqa: E501
|
363
|
-
This method makes a synchronous HTTP request by default. To make an
|
364
|
-
asynchronous HTTP request, please pass async_req=True
|
365
|
-
>>> thread = api.update_with_http_info(name, namespace, path, body, async_req=True)
|
366
|
-
>>> result = thread.get()
|
367
|
-
|
368
|
-
:param async_req bool: execute request asynchronously
|
369
|
-
:param str name: (required)
|
370
|
-
:param str namespace: (required)
|
371
|
-
:param str path: (required)
|
372
|
-
:param object body: (required)
|
373
|
-
:param _return_http_data_only: response data without head status code
|
374
|
-
and headers
|
375
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
376
|
-
be returned without reading/decoding response
|
377
|
-
data. Default is True.
|
378
|
-
:param _request_timeout: timeout setting for this request. If one
|
379
|
-
number provided, it will be total request
|
380
|
-
timeout. It can also be a pair (tuple) of
|
381
|
-
(connection, read) timeouts.
|
382
|
-
:return: tuple(CollectionResponse, status_code(int), headers(HTTPHeaderDict))
|
383
|
-
If the method is called asynchronously,
|
384
|
-
returns the request thread.
|
385
|
-
"""
|
386
|
-
|
387
|
-
local_var_params = locals()
|
388
|
-
|
389
|
-
all_params = [
|
390
|
-
'name',
|
391
|
-
'namespace',
|
392
|
-
'path',
|
393
|
-
'body'
|
394
|
-
]
|
395
|
-
all_params.extend(
|
396
|
-
[
|
397
|
-
'async_req',
|
398
|
-
'_return_http_data_only',
|
399
|
-
'_preload_content',
|
400
|
-
'_request_timeout'
|
401
|
-
]
|
402
|
-
)
|
403
|
-
|
404
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
405
|
-
if key not in all_params:
|
406
|
-
raise ApiTypeError(
|
407
|
-
"Got an unexpected keyword argument '%s'"
|
408
|
-
" to method update" % key
|
409
|
-
)
|
410
|
-
local_var_params[key] = val
|
411
|
-
del local_var_params['kwargs']
|
412
|
-
# verify the required parameter 'name' is set
|
413
|
-
if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501
|
414
|
-
local_var_params['name'] is None): # noqa: E501
|
415
|
-
raise ApiValueError("Missing the required parameter `name` when calling `update`") # noqa: E501
|
416
|
-
# verify the required parameter 'namespace' is set
|
417
|
-
if self.api_client.client_side_validation and ('namespace' not in local_var_params or # noqa: E501
|
418
|
-
local_var_params['namespace'] is None): # noqa: E501
|
419
|
-
raise ApiValueError("Missing the required parameter `namespace` when calling `update`") # noqa: E501
|
420
|
-
# verify the required parameter 'path' is set
|
421
|
-
if self.api_client.client_side_validation and ('path' not in local_var_params or # noqa: E501
|
422
|
-
local_var_params['path'] is None): # noqa: E501
|
423
|
-
raise ApiValueError("Missing the required parameter `path` when calling `update`") # noqa: E501
|
424
|
-
# verify the required parameter 'body' is set
|
425
|
-
if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
|
426
|
-
local_var_params['body'] is None): # noqa: E501
|
427
|
-
raise ApiValueError("Missing the required parameter `body` when calling `update`") # noqa: E501
|
428
|
-
|
429
|
-
collection_formats = {}
|
430
|
-
|
431
|
-
path_params = {}
|
432
|
-
if 'name' in local_var_params:
|
433
|
-
path_params['name'] = local_var_params['name'] # noqa: E501
|
434
|
-
if 'namespace' in local_var_params:
|
435
|
-
path_params['namespace'] = local_var_params['namespace'] # noqa: E501
|
436
|
-
if 'path' in local_var_params:
|
437
|
-
path_params['path'] = local_var_params['path'] # noqa: E501
|
438
|
-
|
439
|
-
query_params = []
|
440
|
-
|
441
|
-
header_params = {}
|
442
|
-
|
443
|
-
form_params = []
|
444
|
-
local_var_files = {}
|
445
|
-
|
446
|
-
body_params = None
|
447
|
-
if 'body' in local_var_params:
|
448
|
-
body_params = local_var_params['body']
|
449
|
-
# HTTP header `Accept`
|
450
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
451
|
-
['application/json']) # noqa: E501
|
452
|
-
|
453
|
-
# HTTP header `Content-Type`
|
454
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
455
|
-
['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data']) # noqa: E501
|
456
|
-
|
457
|
-
# Authentication setting
|
458
|
-
auth_settings = [] # noqa: E501
|
459
|
-
|
460
|
-
return self.api_client.call_api(
|
461
|
-
'/pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/', 'PATCH',
|
462
|
-
path_params,
|
463
|
-
query_params,
|
464
|
-
header_params,
|
465
|
-
body=body_params,
|
466
|
-
post_params=form_params,
|
467
|
-
files=local_var_files,
|
468
|
-
response_type='CollectionResponse', # noqa: E501
|
469
|
-
auth_settings=auth_settings,
|
470
|
-
async_req=local_var_params.get('async_req'),
|
471
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
472
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
473
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
474
|
-
collection_formats=collection_formats)
|