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,303 +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 CollectionResponse(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
|
-
'href': 'str',
|
38
|
-
'namespace': 'str',
|
39
|
-
'name': 'str',
|
40
|
-
'deprecated': 'bool',
|
41
|
-
'versions_url': 'str',
|
42
|
-
'highest_version': 'object',
|
43
|
-
'created_at': 'datetime',
|
44
|
-
'updated_at': 'datetime'
|
45
|
-
}
|
46
|
-
|
47
|
-
attribute_map = {
|
48
|
-
'href': 'href',
|
49
|
-
'namespace': 'namespace',
|
50
|
-
'name': 'name',
|
51
|
-
'deprecated': 'deprecated',
|
52
|
-
'versions_url': 'versions_url',
|
53
|
-
'highest_version': 'highest_version',
|
54
|
-
'created_at': 'created_at',
|
55
|
-
'updated_at': 'updated_at'
|
56
|
-
}
|
57
|
-
|
58
|
-
def __init__(self, href=None, namespace=None, name=None, deprecated=None, versions_url=None, highest_version=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501
|
59
|
-
"""CollectionResponse - a model defined in OpenAPI""" # noqa: E501
|
60
|
-
if local_vars_configuration is None:
|
61
|
-
local_vars_configuration = Configuration()
|
62
|
-
self.local_vars_configuration = local_vars_configuration
|
63
|
-
|
64
|
-
self._href = None
|
65
|
-
self._namespace = None
|
66
|
-
self._name = None
|
67
|
-
self._deprecated = None
|
68
|
-
self._versions_url = None
|
69
|
-
self._highest_version = None
|
70
|
-
self._created_at = None
|
71
|
-
self._updated_at = None
|
72
|
-
self.discriminator = None
|
73
|
-
|
74
|
-
if href is not None:
|
75
|
-
self.href = href
|
76
|
-
if namespace is not None:
|
77
|
-
self.namespace = namespace
|
78
|
-
if name is not None:
|
79
|
-
self.name = name
|
80
|
-
if deprecated is not None:
|
81
|
-
self.deprecated = deprecated
|
82
|
-
if versions_url is not None:
|
83
|
-
self.versions_url = versions_url
|
84
|
-
if highest_version is not None:
|
85
|
-
self.highest_version = highest_version
|
86
|
-
if created_at is not None:
|
87
|
-
self.created_at = created_at
|
88
|
-
if updated_at is not None:
|
89
|
-
self.updated_at = updated_at
|
90
|
-
|
91
|
-
@property
|
92
|
-
def href(self):
|
93
|
-
"""Gets the href of this CollectionResponse. # noqa: E501
|
94
|
-
|
95
|
-
|
96
|
-
:return: The href of this CollectionResponse. # noqa: E501
|
97
|
-
:rtype: str
|
98
|
-
"""
|
99
|
-
return self._href
|
100
|
-
|
101
|
-
@href.setter
|
102
|
-
def href(self, href):
|
103
|
-
"""Sets the href of this CollectionResponse.
|
104
|
-
|
105
|
-
|
106
|
-
:param href: The href of this CollectionResponse. # noqa: E501
|
107
|
-
:type: str
|
108
|
-
"""
|
109
|
-
|
110
|
-
self._href = href
|
111
|
-
|
112
|
-
@property
|
113
|
-
def namespace(self):
|
114
|
-
"""Gets the namespace of this CollectionResponse. # noqa: E501
|
115
|
-
|
116
|
-
|
117
|
-
:return: The namespace of this CollectionResponse. # noqa: E501
|
118
|
-
:rtype: str
|
119
|
-
"""
|
120
|
-
return self._namespace
|
121
|
-
|
122
|
-
@namespace.setter
|
123
|
-
def namespace(self, namespace):
|
124
|
-
"""Sets the namespace of this CollectionResponse.
|
125
|
-
|
126
|
-
|
127
|
-
:param namespace: The namespace of this CollectionResponse. # noqa: E501
|
128
|
-
:type: str
|
129
|
-
"""
|
130
|
-
|
131
|
-
self._namespace = namespace
|
132
|
-
|
133
|
-
@property
|
134
|
-
def name(self):
|
135
|
-
"""Gets the name of this CollectionResponse. # noqa: E501
|
136
|
-
|
137
|
-
|
138
|
-
:return: The name of this CollectionResponse. # noqa: E501
|
139
|
-
:rtype: str
|
140
|
-
"""
|
141
|
-
return self._name
|
142
|
-
|
143
|
-
@name.setter
|
144
|
-
def name(self, name):
|
145
|
-
"""Sets the name of this CollectionResponse.
|
146
|
-
|
147
|
-
|
148
|
-
:param name: The name of this CollectionResponse. # noqa: E501
|
149
|
-
:type: str
|
150
|
-
"""
|
151
|
-
|
152
|
-
self._name = name
|
153
|
-
|
154
|
-
@property
|
155
|
-
def deprecated(self):
|
156
|
-
"""Gets the deprecated of this CollectionResponse. # noqa: E501
|
157
|
-
|
158
|
-
|
159
|
-
:return: The deprecated of this CollectionResponse. # noqa: E501
|
160
|
-
:rtype: bool
|
161
|
-
"""
|
162
|
-
return self._deprecated
|
163
|
-
|
164
|
-
@deprecated.setter
|
165
|
-
def deprecated(self, deprecated):
|
166
|
-
"""Sets the deprecated of this CollectionResponse.
|
167
|
-
|
168
|
-
|
169
|
-
:param deprecated: The deprecated of this CollectionResponse. # noqa: E501
|
170
|
-
:type: bool
|
171
|
-
"""
|
172
|
-
|
173
|
-
self._deprecated = deprecated
|
174
|
-
|
175
|
-
@property
|
176
|
-
def versions_url(self):
|
177
|
-
"""Gets the versions_url of this CollectionResponse. # noqa: E501
|
178
|
-
|
179
|
-
|
180
|
-
:return: The versions_url of this CollectionResponse. # noqa: E501
|
181
|
-
:rtype: str
|
182
|
-
"""
|
183
|
-
return self._versions_url
|
184
|
-
|
185
|
-
@versions_url.setter
|
186
|
-
def versions_url(self, versions_url):
|
187
|
-
"""Sets the versions_url of this CollectionResponse.
|
188
|
-
|
189
|
-
|
190
|
-
:param versions_url: The versions_url of this CollectionResponse. # noqa: E501
|
191
|
-
:type: str
|
192
|
-
"""
|
193
|
-
|
194
|
-
self._versions_url = versions_url
|
195
|
-
|
196
|
-
@property
|
197
|
-
def highest_version(self):
|
198
|
-
"""Gets the highest_version of this CollectionResponse. # noqa: E501
|
199
|
-
|
200
|
-
|
201
|
-
:return: The highest_version of this CollectionResponse. # noqa: E501
|
202
|
-
:rtype: object
|
203
|
-
"""
|
204
|
-
return self._highest_version
|
205
|
-
|
206
|
-
@highest_version.setter
|
207
|
-
def highest_version(self, highest_version):
|
208
|
-
"""Sets the highest_version of this CollectionResponse.
|
209
|
-
|
210
|
-
|
211
|
-
:param highest_version: The highest_version of this CollectionResponse. # noqa: E501
|
212
|
-
:type: object
|
213
|
-
"""
|
214
|
-
|
215
|
-
self._highest_version = highest_version
|
216
|
-
|
217
|
-
@property
|
218
|
-
def created_at(self):
|
219
|
-
"""Gets the created_at of this CollectionResponse. # noqa: E501
|
220
|
-
|
221
|
-
|
222
|
-
:return: The created_at of this CollectionResponse. # noqa: E501
|
223
|
-
:rtype: datetime
|
224
|
-
"""
|
225
|
-
return self._created_at
|
226
|
-
|
227
|
-
@created_at.setter
|
228
|
-
def created_at(self, created_at):
|
229
|
-
"""Sets the created_at of this CollectionResponse.
|
230
|
-
|
231
|
-
|
232
|
-
:param created_at: The created_at of this CollectionResponse. # noqa: E501
|
233
|
-
:type: datetime
|
234
|
-
"""
|
235
|
-
|
236
|
-
self._created_at = created_at
|
237
|
-
|
238
|
-
@property
|
239
|
-
def updated_at(self):
|
240
|
-
"""Gets the updated_at of this CollectionResponse. # noqa: E501
|
241
|
-
|
242
|
-
|
243
|
-
:return: The updated_at of this CollectionResponse. # noqa: E501
|
244
|
-
:rtype: datetime
|
245
|
-
"""
|
246
|
-
return self._updated_at
|
247
|
-
|
248
|
-
@updated_at.setter
|
249
|
-
def updated_at(self, updated_at):
|
250
|
-
"""Sets the updated_at of this CollectionResponse.
|
251
|
-
|
252
|
-
|
253
|
-
:param updated_at: The updated_at of this CollectionResponse. # noqa: E501
|
254
|
-
:type: datetime
|
255
|
-
"""
|
256
|
-
|
257
|
-
self._updated_at = updated_at
|
258
|
-
|
259
|
-
def to_dict(self):
|
260
|
-
"""Returns the model properties as a dict"""
|
261
|
-
result = {}
|
262
|
-
|
263
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
264
|
-
value = getattr(self, attr)
|
265
|
-
if isinstance(value, list):
|
266
|
-
result[attr] = list(map(
|
267
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
268
|
-
value
|
269
|
-
))
|
270
|
-
elif hasattr(value, "to_dict"):
|
271
|
-
result[attr] = value.to_dict()
|
272
|
-
elif isinstance(value, dict):
|
273
|
-
result[attr] = dict(map(
|
274
|
-
lambda item: (item[0], item[1].to_dict())
|
275
|
-
if hasattr(item[1], "to_dict") else item,
|
276
|
-
value.items()
|
277
|
-
))
|
278
|
-
else:
|
279
|
-
result[attr] = value
|
280
|
-
|
281
|
-
return result
|
282
|
-
|
283
|
-
def to_str(self):
|
284
|
-
"""Returns the string representation of the model"""
|
285
|
-
return pprint.pformat(self.to_dict())
|
286
|
-
|
287
|
-
def __repr__(self):
|
288
|
-
"""For `print` and `pprint`"""
|
289
|
-
return self.to_str()
|
290
|
-
|
291
|
-
def __eq__(self, other):
|
292
|
-
"""Returns true if both objects are equal"""
|
293
|
-
if not isinstance(other, CollectionResponse):
|
294
|
-
return False
|
295
|
-
|
296
|
-
return self.to_dict() == other.to_dict()
|
297
|
-
|
298
|
-
def __ne__(self, other):
|
299
|
-
"""Returns true if both objects are not equal"""
|
300
|
-
if not isinstance(other, CollectionResponse):
|
301
|
-
return True
|
302
|
-
|
303
|
-
return self.to_dict() != other.to_dict()
|
@@ -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 CollectionVersionDocsResponse(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
|
-
'docs_blob': 'object'
|
38
|
-
}
|
39
|
-
|
40
|
-
attribute_map = {
|
41
|
-
'docs_blob': 'docs_blob'
|
42
|
-
}
|
43
|
-
|
44
|
-
def __init__(self, docs_blob=None, local_vars_configuration=None): # noqa: E501
|
45
|
-
"""CollectionVersionDocsResponse - 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._docs_blob = None
|
51
|
-
self.discriminator = None
|
52
|
-
|
53
|
-
self.docs_blob = docs_blob
|
54
|
-
|
55
|
-
@property
|
56
|
-
def docs_blob(self):
|
57
|
-
"""Gets the docs_blob of this CollectionVersionDocsResponse. # noqa: E501
|
58
|
-
|
59
|
-
|
60
|
-
:return: The docs_blob of this CollectionVersionDocsResponse. # noqa: E501
|
61
|
-
:rtype: object
|
62
|
-
"""
|
63
|
-
return self._docs_blob
|
64
|
-
|
65
|
-
@docs_blob.setter
|
66
|
-
def docs_blob(self, docs_blob):
|
67
|
-
"""Sets the docs_blob of this CollectionVersionDocsResponse.
|
68
|
-
|
69
|
-
|
70
|
-
:param docs_blob: The docs_blob of this CollectionVersionDocsResponse. # noqa: E501
|
71
|
-
:type: object
|
72
|
-
"""
|
73
|
-
if self.local_vars_configuration.client_side_validation and docs_blob is None: # noqa: E501
|
74
|
-
raise ValueError("Invalid value for `docs_blob`, must not be `None`") # noqa: E501
|
75
|
-
|
76
|
-
self._docs_blob = docs_blob
|
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, CollectionVersionDocsResponse):
|
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, CollectionVersionDocsResponse):
|
120
|
-
return True
|
121
|
-
|
122
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,441 +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 CollectionVersionResponse(object):
|
23
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
24
|
-
Ref: https://openapi-generator.tech
|
25
|
-
|
26
|
-
Do not edit the class manually.
|
27
|
-
"""
|
28
|
-
|
29
|
-
"""
|
30
|
-
Attributes:
|
31
|
-
openapi_types (dict): The key is attribute name
|
32
|
-
and the value is attribute type.
|
33
|
-
attribute_map (dict): The key is attribute name
|
34
|
-
and the value is json key in definition.
|
35
|
-
"""
|
36
|
-
openapi_types = {
|
37
|
-
'version': 'str',
|
38
|
-
'href': 'str',
|
39
|
-
'created_at': 'datetime',
|
40
|
-
'updated_at': 'datetime',
|
41
|
-
'requires_ansible': 'str',
|
42
|
-
'artifact': 'ArtifactRefResponse',
|
43
|
-
'collection': 'CollectionRefResponse',
|
44
|
-
'download_url': 'str',
|
45
|
-
'name': 'str',
|
46
|
-
'namespace': 'CollectionNamespaceResponse',
|
47
|
-
'metadata': 'CollectionMetadataResponse',
|
48
|
-
'manifest': 'object',
|
49
|
-
'files': 'object'
|
50
|
-
}
|
51
|
-
|
52
|
-
attribute_map = {
|
53
|
-
'version': 'version',
|
54
|
-
'href': 'href',
|
55
|
-
'created_at': 'created_at',
|
56
|
-
'updated_at': 'updated_at',
|
57
|
-
'requires_ansible': 'requires_ansible',
|
58
|
-
'artifact': 'artifact',
|
59
|
-
'collection': 'collection',
|
60
|
-
'download_url': 'download_url',
|
61
|
-
'name': 'name',
|
62
|
-
'namespace': 'namespace',
|
63
|
-
'metadata': 'metadata',
|
64
|
-
'manifest': 'manifest',
|
65
|
-
'files': 'files'
|
66
|
-
}
|
67
|
-
|
68
|
-
def __init__(self, version=None, href=None, created_at=None, updated_at=None, requires_ansible=None, artifact=None, collection=None, download_url=None, name=None, namespace=None, metadata=None, manifest=None, files=None, local_vars_configuration=None): # noqa: E501
|
69
|
-
"""CollectionVersionResponse - a model defined in OpenAPI""" # noqa: E501
|
70
|
-
if local_vars_configuration is None:
|
71
|
-
local_vars_configuration = Configuration()
|
72
|
-
self.local_vars_configuration = local_vars_configuration
|
73
|
-
|
74
|
-
self._version = None
|
75
|
-
self._href = None
|
76
|
-
self._created_at = None
|
77
|
-
self._updated_at = None
|
78
|
-
self._requires_ansible = None
|
79
|
-
self._artifact = None
|
80
|
-
self._collection = None
|
81
|
-
self._download_url = None
|
82
|
-
self._name = None
|
83
|
-
self._namespace = None
|
84
|
-
self._metadata = None
|
85
|
-
self._manifest = None
|
86
|
-
self._files = None
|
87
|
-
self.discriminator = None
|
88
|
-
|
89
|
-
if version is not None:
|
90
|
-
self.version = version
|
91
|
-
if href is not None:
|
92
|
-
self.href = href
|
93
|
-
self.created_at = created_at
|
94
|
-
self.updated_at = updated_at
|
95
|
-
self.requires_ansible = requires_ansible
|
96
|
-
if artifact is not None:
|
97
|
-
self.artifact = artifact
|
98
|
-
if collection is not None:
|
99
|
-
self.collection = collection
|
100
|
-
if download_url is not None:
|
101
|
-
self.download_url = download_url
|
102
|
-
if name is not None:
|
103
|
-
self.name = name
|
104
|
-
if namespace is not None:
|
105
|
-
self.namespace = namespace
|
106
|
-
if metadata is not None:
|
107
|
-
self.metadata = metadata
|
108
|
-
if manifest is not None:
|
109
|
-
self.manifest = manifest
|
110
|
-
if files is not None:
|
111
|
-
self.files = files
|
112
|
-
|
113
|
-
@property
|
114
|
-
def version(self):
|
115
|
-
"""Gets the version of this CollectionVersionResponse. # noqa: E501
|
116
|
-
|
117
|
-
|
118
|
-
:return: The version of this CollectionVersionResponse. # noqa: E501
|
119
|
-
:rtype: str
|
120
|
-
"""
|
121
|
-
return self._version
|
122
|
-
|
123
|
-
@version.setter
|
124
|
-
def version(self, version):
|
125
|
-
"""Sets the version of this CollectionVersionResponse.
|
126
|
-
|
127
|
-
|
128
|
-
:param version: The version of this CollectionVersionResponse. # noqa: E501
|
129
|
-
:type: str
|
130
|
-
"""
|
131
|
-
|
132
|
-
self._version = version
|
133
|
-
|
134
|
-
@property
|
135
|
-
def href(self):
|
136
|
-
"""Gets the href of this CollectionVersionResponse. # noqa: E501
|
137
|
-
|
138
|
-
|
139
|
-
:return: The href of this CollectionVersionResponse. # noqa: E501
|
140
|
-
:rtype: str
|
141
|
-
"""
|
142
|
-
return self._href
|
143
|
-
|
144
|
-
@href.setter
|
145
|
-
def href(self, href):
|
146
|
-
"""Sets the href of this CollectionVersionResponse.
|
147
|
-
|
148
|
-
|
149
|
-
:param href: The href of this CollectionVersionResponse. # noqa: E501
|
150
|
-
:type: str
|
151
|
-
"""
|
152
|
-
|
153
|
-
self._href = href
|
154
|
-
|
155
|
-
@property
|
156
|
-
def created_at(self):
|
157
|
-
"""Gets the created_at of this CollectionVersionResponse. # noqa: E501
|
158
|
-
|
159
|
-
|
160
|
-
:return: The created_at of this CollectionVersionResponse. # noqa: E501
|
161
|
-
:rtype: datetime
|
162
|
-
"""
|
163
|
-
return self._created_at
|
164
|
-
|
165
|
-
@created_at.setter
|
166
|
-
def created_at(self, created_at):
|
167
|
-
"""Sets the created_at of this CollectionVersionResponse.
|
168
|
-
|
169
|
-
|
170
|
-
:param created_at: The created_at of this CollectionVersionResponse. # noqa: E501
|
171
|
-
:type: datetime
|
172
|
-
"""
|
173
|
-
if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
|
174
|
-
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
|
175
|
-
|
176
|
-
self._created_at = created_at
|
177
|
-
|
178
|
-
@property
|
179
|
-
def updated_at(self):
|
180
|
-
"""Gets the updated_at of this CollectionVersionResponse. # noqa: E501
|
181
|
-
|
182
|
-
|
183
|
-
:return: The updated_at of this CollectionVersionResponse. # noqa: E501
|
184
|
-
:rtype: datetime
|
185
|
-
"""
|
186
|
-
return self._updated_at
|
187
|
-
|
188
|
-
@updated_at.setter
|
189
|
-
def updated_at(self, updated_at):
|
190
|
-
"""Sets the updated_at of this CollectionVersionResponse.
|
191
|
-
|
192
|
-
|
193
|
-
:param updated_at: The updated_at of this CollectionVersionResponse. # noqa: E501
|
194
|
-
:type: datetime
|
195
|
-
"""
|
196
|
-
if self.local_vars_configuration.client_side_validation and updated_at is None: # noqa: E501
|
197
|
-
raise ValueError("Invalid value for `updated_at`, must not be `None`") # noqa: E501
|
198
|
-
|
199
|
-
self._updated_at = updated_at
|
200
|
-
|
201
|
-
@property
|
202
|
-
def requires_ansible(self):
|
203
|
-
"""Gets the requires_ansible of this CollectionVersionResponse. # noqa: E501
|
204
|
-
|
205
|
-
|
206
|
-
:return: The requires_ansible of this CollectionVersionResponse. # noqa: E501
|
207
|
-
:rtype: str
|
208
|
-
"""
|
209
|
-
return self._requires_ansible
|
210
|
-
|
211
|
-
@requires_ansible.setter
|
212
|
-
def requires_ansible(self, requires_ansible):
|
213
|
-
"""Sets the requires_ansible of this CollectionVersionResponse.
|
214
|
-
|
215
|
-
|
216
|
-
:param requires_ansible: The requires_ansible of this CollectionVersionResponse. # noqa: E501
|
217
|
-
:type: str
|
218
|
-
"""
|
219
|
-
if (self.local_vars_configuration.client_side_validation and
|
220
|
-
requires_ansible is not None and len(requires_ansible) > 255):
|
221
|
-
raise ValueError("Invalid value for `requires_ansible`, length must be less than or equal to `255`") # noqa: E501
|
222
|
-
|
223
|
-
self._requires_ansible = requires_ansible
|
224
|
-
|
225
|
-
@property
|
226
|
-
def artifact(self):
|
227
|
-
"""Gets the artifact of this CollectionVersionResponse. # noqa: E501
|
228
|
-
|
229
|
-
|
230
|
-
:return: The artifact of this CollectionVersionResponse. # noqa: E501
|
231
|
-
:rtype: ArtifactRefResponse
|
232
|
-
"""
|
233
|
-
return self._artifact
|
234
|
-
|
235
|
-
@artifact.setter
|
236
|
-
def artifact(self, artifact):
|
237
|
-
"""Sets the artifact of this CollectionVersionResponse.
|
238
|
-
|
239
|
-
|
240
|
-
:param artifact: The artifact of this CollectionVersionResponse. # noqa: E501
|
241
|
-
:type: ArtifactRefResponse
|
242
|
-
"""
|
243
|
-
|
244
|
-
self._artifact = artifact
|
245
|
-
|
246
|
-
@property
|
247
|
-
def collection(self):
|
248
|
-
"""Gets the collection of this CollectionVersionResponse. # noqa: E501
|
249
|
-
|
250
|
-
|
251
|
-
:return: The collection of this CollectionVersionResponse. # noqa: E501
|
252
|
-
:rtype: CollectionRefResponse
|
253
|
-
"""
|
254
|
-
return self._collection
|
255
|
-
|
256
|
-
@collection.setter
|
257
|
-
def collection(self, collection):
|
258
|
-
"""Sets the collection of this CollectionVersionResponse.
|
259
|
-
|
260
|
-
|
261
|
-
:param collection: The collection of this CollectionVersionResponse. # noqa: E501
|
262
|
-
:type: CollectionRefResponse
|
263
|
-
"""
|
264
|
-
|
265
|
-
self._collection = collection
|
266
|
-
|
267
|
-
@property
|
268
|
-
def download_url(self):
|
269
|
-
"""Gets the download_url of this CollectionVersionResponse. # noqa: E501
|
270
|
-
|
271
|
-
|
272
|
-
:return: The download_url of this CollectionVersionResponse. # noqa: E501
|
273
|
-
:rtype: str
|
274
|
-
"""
|
275
|
-
return self._download_url
|
276
|
-
|
277
|
-
@download_url.setter
|
278
|
-
def download_url(self, download_url):
|
279
|
-
"""Sets the download_url of this CollectionVersionResponse.
|
280
|
-
|
281
|
-
|
282
|
-
:param download_url: The download_url of this CollectionVersionResponse. # noqa: E501
|
283
|
-
:type: str
|
284
|
-
"""
|
285
|
-
|
286
|
-
self._download_url = download_url
|
287
|
-
|
288
|
-
@property
|
289
|
-
def name(self):
|
290
|
-
"""Gets the name of this CollectionVersionResponse. # noqa: E501
|
291
|
-
|
292
|
-
|
293
|
-
:return: The name of this CollectionVersionResponse. # noqa: E501
|
294
|
-
:rtype: str
|
295
|
-
"""
|
296
|
-
return self._name
|
297
|
-
|
298
|
-
@name.setter
|
299
|
-
def name(self, name):
|
300
|
-
"""Sets the name of this CollectionVersionResponse.
|
301
|
-
|
302
|
-
|
303
|
-
:param name: The name of this CollectionVersionResponse. # noqa: E501
|
304
|
-
:type: str
|
305
|
-
"""
|
306
|
-
|
307
|
-
self._name = name
|
308
|
-
|
309
|
-
@property
|
310
|
-
def namespace(self):
|
311
|
-
"""Gets the namespace of this CollectionVersionResponse. # noqa: E501
|
312
|
-
|
313
|
-
|
314
|
-
:return: The namespace of this CollectionVersionResponse. # noqa: E501
|
315
|
-
:rtype: CollectionNamespaceResponse
|
316
|
-
"""
|
317
|
-
return self._namespace
|
318
|
-
|
319
|
-
@namespace.setter
|
320
|
-
def namespace(self, namespace):
|
321
|
-
"""Sets the namespace of this CollectionVersionResponse.
|
322
|
-
|
323
|
-
|
324
|
-
:param namespace: The namespace of this CollectionVersionResponse. # noqa: E501
|
325
|
-
:type: CollectionNamespaceResponse
|
326
|
-
"""
|
327
|
-
|
328
|
-
self._namespace = namespace
|
329
|
-
|
330
|
-
@property
|
331
|
-
def metadata(self):
|
332
|
-
"""Gets the metadata of this CollectionVersionResponse. # noqa: E501
|
333
|
-
|
334
|
-
|
335
|
-
:return: The metadata of this CollectionVersionResponse. # noqa: E501
|
336
|
-
:rtype: CollectionMetadataResponse
|
337
|
-
"""
|
338
|
-
return self._metadata
|
339
|
-
|
340
|
-
@metadata.setter
|
341
|
-
def metadata(self, metadata):
|
342
|
-
"""Sets the metadata of this CollectionVersionResponse.
|
343
|
-
|
344
|
-
|
345
|
-
:param metadata: The metadata of this CollectionVersionResponse. # noqa: E501
|
346
|
-
:type: CollectionMetadataResponse
|
347
|
-
"""
|
348
|
-
|
349
|
-
self._metadata = metadata
|
350
|
-
|
351
|
-
@property
|
352
|
-
def manifest(self):
|
353
|
-
"""Gets the manifest of this CollectionVersionResponse. # noqa: E501
|
354
|
-
|
355
|
-
A JSON field holding MANIFEST.json data. # noqa: E501
|
356
|
-
|
357
|
-
:return: The manifest of this CollectionVersionResponse. # noqa: E501
|
358
|
-
:rtype: object
|
359
|
-
"""
|
360
|
-
return self._manifest
|
361
|
-
|
362
|
-
@manifest.setter
|
363
|
-
def manifest(self, manifest):
|
364
|
-
"""Sets the manifest of this CollectionVersionResponse.
|
365
|
-
|
366
|
-
A JSON field holding MANIFEST.json data. # noqa: E501
|
367
|
-
|
368
|
-
:param manifest: The manifest of this CollectionVersionResponse. # noqa: E501
|
369
|
-
:type: object
|
370
|
-
"""
|
371
|
-
|
372
|
-
self._manifest = manifest
|
373
|
-
|
374
|
-
@property
|
375
|
-
def files(self):
|
376
|
-
"""Gets the files of this CollectionVersionResponse. # noqa: E501
|
377
|
-
|
378
|
-
A JSON field holding FILES.json data. # noqa: E501
|
379
|
-
|
380
|
-
:return: The files of this CollectionVersionResponse. # noqa: E501
|
381
|
-
:rtype: object
|
382
|
-
"""
|
383
|
-
return self._files
|
384
|
-
|
385
|
-
@files.setter
|
386
|
-
def files(self, files):
|
387
|
-
"""Sets the files of this CollectionVersionResponse.
|
388
|
-
|
389
|
-
A JSON field holding FILES.json data. # noqa: E501
|
390
|
-
|
391
|
-
:param files: The files of this CollectionVersionResponse. # noqa: E501
|
392
|
-
:type: object
|
393
|
-
"""
|
394
|
-
|
395
|
-
self._files = files
|
396
|
-
|
397
|
-
def to_dict(self):
|
398
|
-
"""Returns the model properties as a dict"""
|
399
|
-
result = {}
|
400
|
-
|
401
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
402
|
-
value = getattr(self, attr)
|
403
|
-
if isinstance(value, list):
|
404
|
-
result[attr] = list(map(
|
405
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
406
|
-
value
|
407
|
-
))
|
408
|
-
elif hasattr(value, "to_dict"):
|
409
|
-
result[attr] = value.to_dict()
|
410
|
-
elif isinstance(value, dict):
|
411
|
-
result[attr] = dict(map(
|
412
|
-
lambda item: (item[0], item[1].to_dict())
|
413
|
-
if hasattr(item[1], "to_dict") else item,
|
414
|
-
value.items()
|
415
|
-
))
|
416
|
-
else:
|
417
|
-
result[attr] = value
|
418
|
-
|
419
|
-
return result
|
420
|
-
|
421
|
-
def to_str(self):
|
422
|
-
"""Returns the string representation of the model"""
|
423
|
-
return pprint.pformat(self.to_dict())
|
424
|
-
|
425
|
-
def __repr__(self):
|
426
|
-
"""For `print` and `pprint`"""
|
427
|
-
return self.to_str()
|
428
|
-
|
429
|
-
def __eq__(self, other):
|
430
|
-
"""Returns true if both objects are equal"""
|
431
|
-
if not isinstance(other, CollectionVersionResponse):
|
432
|
-
return False
|
433
|
-
|
434
|
-
return self.to_dict() == other.to_dict()
|
435
|
-
|
436
|
-
def __ne__(self, other):
|
437
|
-
"""Returns true if both objects are not equal"""
|
438
|
-
if not isinstance(other, CollectionVersionResponse):
|
439
|
-
return True
|
440
|
-
|
441
|
-
return self.to_dict() != other.to_dict()
|