cloudsmith-api 2.0.31__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cloudsmith_api/__init__.py +366 -0
- cloudsmith_api/api/__init__.py +28 -0
- cloudsmith_api/api/audit_log_api.py +264 -0
- cloudsmith_api/api/badges_api.py +217 -0
- cloudsmith_api/api/broadcasts_api.py +137 -0
- cloudsmith_api/api/bulk_action_api.py +137 -0
- cloudsmith_api/api/distros_api.py +224 -0
- cloudsmith_api/api/entitlements_api.py +1351 -0
- cloudsmith_api/api/files_api.py +621 -0
- cloudsmith_api/api/formats_api.py +224 -0
- cloudsmith_api/api/metrics_api.py +407 -0
- cloudsmith_api/api/namespaces_api.py +232 -0
- cloudsmith_api/api/openid_api.py +137 -0
- cloudsmith_api/api/orgs_api.py +8230 -0
- cloudsmith_api/api/packages_api.py +8253 -0
- cloudsmith_api/api/quota_api.py +430 -0
- cloudsmith_api/api/rates_api.py +125 -0
- cloudsmith_api/api/recycle_bin_api.py +248 -0
- cloudsmith_api/api/repos_api.py +18893 -0
- cloudsmith_api/api/status_api.py +125 -0
- cloudsmith_api/api/storage_regions_api.py +224 -0
- cloudsmith_api/api/user_api.py +509 -0
- cloudsmith_api/api/users_api.py +133 -0
- cloudsmith_api/api/vulnerabilities_api.py +502 -0
- cloudsmith_api/api/webhooks_api.py +609 -0
- cloudsmith_api/api_client.py +639 -0
- cloudsmith_api/configuration.py +253 -0
- cloudsmith_api/models/__init__.py +337 -0
- cloudsmith_api/models/allocated_limit.py +226 -0
- cloudsmith_api/models/allocated_limit_raw.py +202 -0
- cloudsmith_api/models/alpine_package_upload.py +2560 -0
- cloudsmith_api/models/alpine_package_upload_request.py +278 -0
- cloudsmith_api/models/alpine_upstream.py +1001 -0
- cloudsmith_api/models/alpine_upstream_request.py +595 -0
- cloudsmith_api/models/alpine_upstream_request_patch.py +593 -0
- cloudsmith_api/models/architecture.py +160 -0
- cloudsmith_api/models/broadcast_token.py +153 -0
- cloudsmith_api/models/broadcast_token_input.py +161 -0
- cloudsmith_api/models/cargo_package_upload.py +2560 -0
- cloudsmith_api/models/cargo_package_upload_request.py +246 -0
- cloudsmith_api/models/cargo_upstream.py +872 -0
- cloudsmith_api/models/cargo_upstream_request.py +529 -0
- cloudsmith_api/models/cargo_upstream_request_patch.py +527 -0
- cloudsmith_api/models/cocoapods_package_upload.py +2560 -0
- cloudsmith_api/models/cocoapods_package_upload_request.py +246 -0
- cloudsmith_api/models/common_bandwidth_metrics.py +206 -0
- cloudsmith_api/models/common_bandwidth_metrics_value.py +193 -0
- cloudsmith_api/models/common_downloads_metrics.py +206 -0
- cloudsmith_api/models/common_downloads_metrics_value.py +125 -0
- cloudsmith_api/models/common_metrics.py +236 -0
- cloudsmith_api/models/composer_package_upload.py +2563 -0
- cloudsmith_api/models/composer_package_upload_request.py +277 -0
- cloudsmith_api/models/composer_upstream.py +872 -0
- cloudsmith_api/models/composer_upstream_request.py +529 -0
- cloudsmith_api/models/composer_upstream_request_patch.py +527 -0
- cloudsmith_api/models/conan_package_upload.py +2634 -0
- cloudsmith_api/models/conan_package_upload_request.py +472 -0
- cloudsmith_api/models/conda_package_upload.py +2560 -0
- cloudsmith_api/models/conda_package_upload_request.py +246 -0
- cloudsmith_api/models/conda_upstream.py +872 -0
- cloudsmith_api/models/conda_upstream_request.py +529 -0
- cloudsmith_api/models/conda_upstream_request_patch.py +527 -0
- cloudsmith_api/models/connected_repository.py +311 -0
- cloudsmith_api/models/connected_repository_request.py +190 -0
- cloudsmith_api/models/connected_repository_request_patch.py +189 -0
- cloudsmith_api/models/cran_package_upload.py +2594 -0
- cloudsmith_api/models/cran_package_upload_request.py +311 -0
- cloudsmith_api/models/cran_upstream.py +872 -0
- cloudsmith_api/models/cran_upstream_request.py +529 -0
- cloudsmith_api/models/cran_upstream_request_patch.py +527 -0
- cloudsmith_api/models/dart_package_upload.py +2560 -0
- cloudsmith_api/models/dart_package_upload_request.py +246 -0
- cloudsmith_api/models/dart_upstream.py +872 -0
- cloudsmith_api/models/dart_upstream_request.py +529 -0
- cloudsmith_api/models/dart_upstream_request_patch.py +527 -0
- cloudsmith_api/models/deb_package_upload.py +2560 -0
- cloudsmith_api/models/deb_package_upload_request.py +377 -0
- cloudsmith_api/models/deb_upstream.py +1152 -0
- cloudsmith_api/models/deb_upstream_request.py +748 -0
- cloudsmith_api/models/deb_upstream_request_patch.py +745 -0
- cloudsmith_api/models/distribution.py +217 -0
- cloudsmith_api/models/distribution_full.py +300 -0
- cloudsmith_api/models/distribution_version.py +160 -0
- cloudsmith_api/models/docker_package_upload.py +2560 -0
- cloudsmith_api/models/docker_package_upload_request.py +246 -0
- cloudsmith_api/models/docker_upstream.py +760 -0
- cloudsmith_api/models/docker_upstream_request.py +591 -0
- cloudsmith_api/models/docker_upstream_request_patch.py +589 -0
- cloudsmith_api/models/dynamic_mapping.py +162 -0
- cloudsmith_api/models/entitlement_usage_metrics.py +125 -0
- cloudsmith_api/models/error_detail.py +158 -0
- cloudsmith_api/models/eula.py +166 -0
- cloudsmith_api/models/format.py +369 -0
- cloudsmith_api/models/format_support.py +299 -0
- cloudsmith_api/models/format_support_upstream.py +350 -0
- cloudsmith_api/models/generic_package_upload.py +2566 -0
- cloudsmith_api/models/generic_package_upload_request.py +343 -0
- cloudsmith_api/models/generic_upstream.py +906 -0
- cloudsmith_api/models/generic_upstream_request.py +563 -0
- cloudsmith_api/models/generic_upstream_request_patch.py +561 -0
- cloudsmith_api/models/geo_ip_location.py +296 -0
- cloudsmith_api/models/go_package_upload.py +2560 -0
- cloudsmith_api/models/go_package_upload_request.py +246 -0
- cloudsmith_api/models/go_upstream.py +872 -0
- cloudsmith_api/models/go_upstream_request.py +529 -0
- cloudsmith_api/models/go_upstream_request_patch.py +527 -0
- cloudsmith_api/models/helm_package_upload.py +2560 -0
- cloudsmith_api/models/helm_package_upload_request.py +277 -0
- cloudsmith_api/models/helm_upstream.py +872 -0
- cloudsmith_api/models/helm_upstream_request.py +529 -0
- cloudsmith_api/models/helm_upstream_request_patch.py +527 -0
- cloudsmith_api/models/hex_package_upload.py +2560 -0
- cloudsmith_api/models/hex_package_upload_request.py +246 -0
- cloudsmith_api/models/hex_upstream.py +872 -0
- cloudsmith_api/models/hex_upstream_request.py +529 -0
- cloudsmith_api/models/hex_upstream_request_patch.py +527 -0
- cloudsmith_api/models/history.py +265 -0
- cloudsmith_api/models/history_fieldset.py +179 -0
- cloudsmith_api/models/history_fieldset_raw.py +179 -0
- cloudsmith_api/models/huggingface_package_upload.py +2560 -0
- cloudsmith_api/models/huggingface_package_upload_request.py +246 -0
- cloudsmith_api/models/huggingface_upstream.py +872 -0
- cloudsmith_api/models/huggingface_upstream_request.py +529 -0
- cloudsmith_api/models/huggingface_upstream_request_patch.py +527 -0
- cloudsmith_api/models/inline_response200.py +238 -0
- cloudsmith_api/models/inline_response2001.py +182 -0
- cloudsmith_api/models/inline_response2002.py +125 -0
- cloudsmith_api/models/inline_response2003.py +125 -0
- cloudsmith_api/models/inline_response2004.py +125 -0
- cloudsmith_api/models/luarocks_package_upload.py +2560 -0
- cloudsmith_api/models/luarocks_package_upload_request.py +246 -0
- cloudsmith_api/models/maven_package_upload.py +2714 -0
- cloudsmith_api/models/maven_package_upload_request.py +611 -0
- cloudsmith_api/models/maven_upstream.py +1062 -0
- cloudsmith_api/models/maven_upstream_request.py +658 -0
- cloudsmith_api/models/maven_upstream_request_patch.py +656 -0
- cloudsmith_api/models/mcp_package_upload.py +2563 -0
- cloudsmith_api/models/mcp_package_upload_request.py +277 -0
- cloudsmith_api/models/member_teams.py +192 -0
- cloudsmith_api/models/namespace.py +211 -0
- cloudsmith_api/models/namespace_audit_log.py +562 -0
- cloudsmith_api/models/nested_license_policy.py +374 -0
- cloudsmith_api/models/nested_vulnerability_policy.py +382 -0
- cloudsmith_api/models/nested_vulnerability_scan_results.py +298 -0
- cloudsmith_api/models/nix_package_upload.py +2563 -0
- cloudsmith_api/models/nix_package_upload_request.py +308 -0
- cloudsmith_api/models/nix_upstream.py +872 -0
- cloudsmith_api/models/nix_upstream_request.py +529 -0
- cloudsmith_api/models/nix_upstream_request_patch.py +527 -0
- cloudsmith_api/models/npm_package_upload.py +2560 -0
- cloudsmith_api/models/npm_package_upload_request.py +277 -0
- cloudsmith_api/models/npm_upstream.py +907 -0
- cloudsmith_api/models/npm_upstream_request.py +564 -0
- cloudsmith_api/models/npm_upstream_request_patch.py +562 -0
- cloudsmith_api/models/nuget_package_upload.py +2560 -0
- cloudsmith_api/models/nuget_package_upload_request.py +277 -0
- cloudsmith_api/models/nuget_upstream.py +872 -0
- cloudsmith_api/models/nuget_upstream_request.py +529 -0
- cloudsmith_api/models/nuget_upstream_request_patch.py +527 -0
- cloudsmith_api/models/oidc.py +96 -0
- cloudsmith_api/models/oidc1.py +126 -0
- cloudsmith_api/models/oidc_request.py +162 -0
- cloudsmith_api/models/organization.py +294 -0
- cloudsmith_api/models/organization_custom_domain_nested_repo.py +160 -0
- cloudsmith_api/models/organization_custom_domains.py +598 -0
- cloudsmith_api/models/organization_group_sync.py +259 -0
- cloudsmith_api/models/organization_group_sync_request.py +254 -0
- cloudsmith_api/models/organization_group_sync_status.py +124 -0
- cloudsmith_api/models/organization_invite.py +386 -0
- cloudsmith_api/models/organization_invite_extend.py +388 -0
- cloudsmith_api/models/organization_invite_request.py +221 -0
- cloudsmith_api/models/organization_invite_update.py +133 -0
- cloudsmith_api/models/organization_invite_update_request_patch.py +133 -0
- cloudsmith_api/models/organization_membership.py +469 -0
- cloudsmith_api/models/organization_membership_request_patch.py +96 -0
- cloudsmith_api/models/organization_membership_role_update.py +417 -0
- cloudsmith_api/models/organization_membership_role_update_request_patch.py +131 -0
- cloudsmith_api/models/organization_membership_visibility_update.py +417 -0
- cloudsmith_api/models/organization_membership_visibility_update_request_patch.py +131 -0
- cloudsmith_api/models/organization_package_license_policy.py +355 -0
- cloudsmith_api/models/organization_package_license_policy_request.py +271 -0
- cloudsmith_api/models/organization_package_license_policy_request_patch.py +269 -0
- cloudsmith_api/models/organization_package_vulnerability_policy.py +363 -0
- cloudsmith_api/models/organization_package_vulnerability_policy_request.py +279 -0
- cloudsmith_api/models/organization_package_vulnerability_policy_request_patch.py +278 -0
- cloudsmith_api/models/organization_saml_auth.py +276 -0
- cloudsmith_api/models/organization_saml_auth_request_patch.py +274 -0
- cloudsmith_api/models/organization_team.py +264 -0
- cloudsmith_api/models/organization_team_invite.py +168 -0
- cloudsmith_api/models/organization_team_members.py +127 -0
- cloudsmith_api/models/organization_team_request.py +232 -0
- cloudsmith_api/models/organization_team_request_patch.py +231 -0
- cloudsmith_api/models/organization_team_service_member.py +195 -0
- cloudsmith_api/models/organization_usage.py +210 -0
- cloudsmith_api/models/organization_usage_update.py +182 -0
- cloudsmith_api/models/organization_usage_update_request_patch.py +182 -0
- cloudsmith_api/models/p2_package_upload.py +2560 -0
- cloudsmith_api/models/p2_package_upload_request.py +246 -0
- cloudsmith_api/models/package.py +2617 -0
- cloudsmith_api/models/package_bulk_action.py +228 -0
- cloudsmith_api/models/package_bulk_action_response.py +185 -0
- cloudsmith_api/models/package_copy.py +2619 -0
- cloudsmith_api/models/package_copy_request.py +212 -0
- cloudsmith_api/models/package_deny_policy.py +366 -0
- cloudsmith_api/models/package_deny_policy_request.py +216 -0
- cloudsmith_api/models/package_deny_policy_request_patch.py +215 -0
- cloudsmith_api/models/package_dependencies.py +125 -0
- cloudsmith_api/models/package_dependency.py +228 -0
- cloudsmith_api/models/package_detail.py +2645 -0
- cloudsmith_api/models/package_file.py +475 -0
- cloudsmith_api/models/package_file_parts_upload.py +191 -0
- cloudsmith_api/models/package_file_upload.py +247 -0
- cloudsmith_api/models/package_file_upload_request.py +236 -0
- cloudsmith_api/models/package_group.py +261 -0
- cloudsmith_api/models/package_license.py +276 -0
- cloudsmith_api/models/package_license_policy_evaluation_request.py +293 -0
- cloudsmith_api/models/package_license_policy_evaluation_request_request.py +96 -0
- cloudsmith_api/models/package_license_policy_violation_log.py +205 -0
- cloudsmith_api/models/package_license_policy_violation_log_cursor_page.py +177 -0
- cloudsmith_api/models/package_license_request_patch.py +309 -0
- cloudsmith_api/models/package_move.py +2619 -0
- cloudsmith_api/models/package_move_request.py +184 -0
- cloudsmith_api/models/package_quarantine.py +2589 -0
- cloudsmith_api/models/package_quarantine_request.py +208 -0
- cloudsmith_api/models/package_recycle_bin.py +197 -0
- cloudsmith_api/models/package_resync.py +2617 -0
- cloudsmith_api/models/package_status.py +762 -0
- cloudsmith_api/models/package_tag.py +2619 -0
- cloudsmith_api/models/package_tag_request.py +241 -0
- cloudsmith_api/models/package_usage_metrics.py +125 -0
- cloudsmith_api/models/package_version_badge.py +96 -0
- cloudsmith_api/models/package_vulnerability.py +264 -0
- cloudsmith_api/models/package_vulnerability_policy_evaluation_request.py +293 -0
- cloudsmith_api/models/package_vulnerability_policy_evaluation_request_request.py +96 -0
- cloudsmith_api/models/package_vulnerability_policy_violation_log.py +232 -0
- cloudsmith_api/models/package_vulnerability_policy_violation_log_cursor_page.py +177 -0
- cloudsmith_api/models/provider_settings.py +347 -0
- cloudsmith_api/models/provider_settings_write.py +375 -0
- cloudsmith_api/models/provider_settings_write_request.py +307 -0
- cloudsmith_api/models/provider_settings_write_request_patch.py +303 -0
- cloudsmith_api/models/python_package_upload.py +2560 -0
- cloudsmith_api/models/python_package_upload_request.py +246 -0
- cloudsmith_api/models/python_upstream.py +907 -0
- cloudsmith_api/models/python_upstream_request.py +564 -0
- cloudsmith_api/models/python_upstream_request_patch.py +562 -0
- cloudsmith_api/models/quota.py +125 -0
- cloudsmith_api/models/quota_history.py +125 -0
- cloudsmith_api/models/rate_check.py +269 -0
- cloudsmith_api/models/raw_package_upload.py +2572 -0
- cloudsmith_api/models/raw_package_upload_request.py +404 -0
- cloudsmith_api/models/recycle_bin_package.py +829 -0
- cloudsmith_api/models/repository.py +2221 -0
- cloudsmith_api/models/repository_audit_log.py +470 -0
- cloudsmith_api/models/repository_create.py +2221 -0
- cloudsmith_api/models/repository_create_request.py +1546 -0
- cloudsmith_api/models/repository_ecdsa_key.py +296 -0
- cloudsmith_api/models/repository_ecdsa_key_create.py +161 -0
- cloudsmith_api/models/repository_ed25519_key.py +299 -0
- cloudsmith_api/models/repository_ed25519_key_create.py +161 -0
- cloudsmith_api/models/repository_geo_ip_cidr.py +156 -0
- cloudsmith_api/models/repository_geo_ip_country_code.py +156 -0
- cloudsmith_api/models/repository_geo_ip_rules.py +152 -0
- cloudsmith_api/models/repository_geo_ip_rules_request.py +152 -0
- cloudsmith_api/models/repository_geo_ip_rules_request_patch.py +150 -0
- cloudsmith_api/models/repository_geo_ip_status.py +126 -0
- cloudsmith_api/models/repository_geo_ip_test_address.py +127 -0
- cloudsmith_api/models/repository_geo_ip_test_address_response.py +127 -0
- cloudsmith_api/models/repository_geo_ip_test_address_response_dict.py +223 -0
- cloudsmith_api/models/repository_gpg_key.py +298 -0
- cloudsmith_api/models/repository_gpg_key_create.py +161 -0
- cloudsmith_api/models/repository_privilege_dict.py +236 -0
- cloudsmith_api/models/repository_privilege_input.py +127 -0
- cloudsmith_api/models/repository_privilege_input_request.py +127 -0
- cloudsmith_api/models/repository_privilege_input_request_patch.py +126 -0
- cloudsmith_api/models/repository_request_patch.py +1517 -0
- cloudsmith_api/models/repository_retention_rules.py +340 -0
- cloudsmith_api/models/repository_retention_rules_request_patch.py +340 -0
- cloudsmith_api/models/repository_rsa_key.py +296 -0
- cloudsmith_api/models/repository_rsa_key_create.py +161 -0
- cloudsmith_api/models/repository_token.py +1236 -0
- cloudsmith_api/models/repository_token_action.py +96 -0
- cloudsmith_api/models/repository_token_private_broadcasts.py +127 -0
- cloudsmith_api/models/repository_token_private_broadcasts_request.py +127 -0
- cloudsmith_api/models/repository_token_refresh.py +1235 -0
- cloudsmith_api/models/repository_token_refresh_request.py +523 -0
- cloudsmith_api/models/repository_token_request.py +553 -0
- cloudsmith_api/models/repository_token_request_patch.py +552 -0
- cloudsmith_api/models/repository_token_sync.py +126 -0
- cloudsmith_api/models/repository_token_sync_request.py +130 -0
- cloudsmith_api/models/repository_transfer_region.py +126 -0
- cloudsmith_api/models/repository_transfer_region_request.py +126 -0
- cloudsmith_api/models/repository_webhook.py +871 -0
- cloudsmith_api/models/repository_webhook_request.py +471 -0
- cloudsmith_api/models/repository_webhook_request_patch.py +468 -0
- cloudsmith_api/models/repository_x509_ecdsa_certificate.py +375 -0
- cloudsmith_api/models/repository_x509_rsa_certificate.py +375 -0
- cloudsmith_api/models/resources_rate_check.py +126 -0
- cloudsmith_api/models/respository_geo_ip_enable_disable.py +96 -0
- cloudsmith_api/models/respository_geo_ip_enable_disable_request.py +96 -0
- cloudsmith_api/models/rpm_package_upload.py +2560 -0
- cloudsmith_api/models/rpm_package_upload_request.py +278 -0
- cloudsmith_api/models/rpm_upstream.py +1084 -0
- cloudsmith_api/models/rpm_upstream_request.py +680 -0
- cloudsmith_api/models/rpm_upstream_request_patch.py +677 -0
- cloudsmith_api/models/ruby_package_upload.py +2560 -0
- cloudsmith_api/models/ruby_package_upload_request.py +246 -0
- cloudsmith_api/models/ruby_upstream.py +872 -0
- cloudsmith_api/models/ruby_upstream_request.py +529 -0
- cloudsmith_api/models/ruby_upstream_request_patch.py +527 -0
- cloudsmith_api/models/service.py +399 -0
- cloudsmith_api/models/service_request.py +228 -0
- cloudsmith_api/models/service_request_patch.py +227 -0
- cloudsmith_api/models/service_teams.py +199 -0
- cloudsmith_api/models/status_basic.py +160 -0
- cloudsmith_api/models/storage_allocated_limit.py +290 -0
- cloudsmith_api/models/storage_allocated_limit_raw.py +254 -0
- cloudsmith_api/models/storage_region.py +162 -0
- cloudsmith_api/models/storage_usage.py +226 -0
- cloudsmith_api/models/storage_usage_raw.py +202 -0
- cloudsmith_api/models/swift_package_upload.py +2732 -0
- cloudsmith_api/models/swift_package_upload_request.py +500 -0
- cloudsmith_api/models/swift_upstream.py +872 -0
- cloudsmith_api/models/swift_upstream_request.py +529 -0
- cloudsmith_api/models/swift_upstream_request_patch.py +527 -0
- cloudsmith_api/models/tags.py +96 -0
- cloudsmith_api/models/terraform_package_upload.py +2560 -0
- cloudsmith_api/models/terraform_package_upload_request.py +246 -0
- cloudsmith_api/models/usage.py +194 -0
- cloudsmith_api/models/usage_fieldset.py +152 -0
- cloudsmith_api/models/usage_limits.py +152 -0
- cloudsmith_api/models/usage_limits_raw.py +152 -0
- cloudsmith_api/models/usage_raw.py +176 -0
- cloudsmith_api/models/user_auth_token.py +188 -0
- cloudsmith_api/models/user_auth_token_request.py +191 -0
- cloudsmith_api/models/user_authentication_token.py +182 -0
- cloudsmith_api/models/user_brief.py +297 -0
- cloudsmith_api/models/user_profile.py +386 -0
- cloudsmith_api/models/vagrant_package_upload.py +2600 -0
- cloudsmith_api/models/vagrant_package_upload_request.py +342 -0
- cloudsmith_api/models/vsx_package_upload.py +2560 -0
- cloudsmith_api/models/vsx_package_upload_request.py +246 -0
- cloudsmith_api/models/vulnerability.py +405 -0
- cloudsmith_api/models/vulnerability_scan.py +185 -0
- cloudsmith_api/models/vulnerability_scan_results.py +326 -0
- cloudsmith_api/models/vulnerability_scan_results_list.py +299 -0
- cloudsmith_api/models/vulnerability_scan_version.py +266 -0
- cloudsmith_api/models/web_osv_severity_counts.py +280 -0
- cloudsmith_api/models/webhook_template.py +160 -0
- cloudsmith_api/rest.py +323 -0
- cloudsmith_api-2.0.31.dist-info/METADATA +14 -0
- cloudsmith_api-2.0.31.dist-info/RECORD +697 -0
- cloudsmith_api-2.0.31.dist-info/WHEEL +6 -0
- cloudsmith_api-2.0.31.dist-info/top_level.txt +2 -0
- test/__init__.py +1 -0
- test/test_allocated_limit.py +40 -0
- test/test_allocated_limit_raw.py +40 -0
- test/test_alpine_package_upload.py +40 -0
- test/test_alpine_package_upload_request.py +40 -0
- test/test_alpine_upstream.py +40 -0
- test/test_alpine_upstream_request.py +40 -0
- test/test_alpine_upstream_request_patch.py +40 -0
- test/test_architecture.py +40 -0
- test/test_audit_log_api.py +48 -0
- test/test_badges_api.py +41 -0
- test/test_broadcast_token.py +40 -0
- test/test_broadcast_token_input.py +40 -0
- test/test_broadcasts_api.py +41 -0
- test/test_bulk_action_api.py +40 -0
- test/test_cargo_package_upload.py +40 -0
- test/test_cargo_package_upload_request.py +40 -0
- test/test_cargo_upstream.py +40 -0
- test/test_cargo_upstream_request.py +40 -0
- test/test_cargo_upstream_request_patch.py +40 -0
- test/test_cocoapods_package_upload.py +40 -0
- test/test_cocoapods_package_upload_request.py +40 -0
- test/test_common_bandwidth_metrics.py +40 -0
- test/test_common_bandwidth_metrics_value.py +40 -0
- test/test_common_downloads_metrics.py +40 -0
- test/test_common_downloads_metrics_value.py +40 -0
- test/test_common_metrics.py +40 -0
- test/test_composer_package_upload.py +40 -0
- test/test_composer_package_upload_request.py +40 -0
- test/test_composer_upstream.py +40 -0
- test/test_composer_upstream_request.py +40 -0
- test/test_composer_upstream_request_patch.py +40 -0
- test/test_conan_package_upload.py +40 -0
- test/test_conan_package_upload_request.py +40 -0
- test/test_conda_package_upload.py +40 -0
- test/test_conda_package_upload_request.py +40 -0
- test/test_conda_upstream.py +40 -0
- test/test_conda_upstream_request.py +40 -0
- test/test_conda_upstream_request_patch.py +40 -0
- test/test_connected_repository.py +40 -0
- test/test_connected_repository_request.py +40 -0
- test/test_connected_repository_request_patch.py +40 -0
- test/test_cran_package_upload.py +40 -0
- test/test_cran_package_upload_request.py +40 -0
- test/test_cran_upstream.py +40 -0
- test/test_cran_upstream_request.py +40 -0
- test/test_cran_upstream_request_patch.py +40 -0
- test/test_dart_package_upload.py +40 -0
- test/test_dart_package_upload_request.py +40 -0
- test/test_dart_upstream.py +40 -0
- test/test_dart_upstream_request.py +40 -0
- test/test_dart_upstream_request_patch.py +40 -0
- test/test_deb_package_upload.py +40 -0
- test/test_deb_package_upload_request.py +40 -0
- test/test_deb_upstream.py +40 -0
- test/test_deb_upstream_request.py +40 -0
- test/test_deb_upstream_request_patch.py +40 -0
- test/test_distribution.py +40 -0
- test/test_distribution_full.py +40 -0
- test/test_distribution_version.py +40 -0
- test/test_distros_api.py +48 -0
- test/test_docker_package_upload.py +40 -0
- test/test_docker_package_upload_request.py +40 -0
- test/test_docker_upstream.py +40 -0
- test/test_docker_upstream_request.py +40 -0
- test/test_docker_upstream_request_patch.py +40 -0
- test/test_dynamic_mapping.py +40 -0
- test/test_entitlement_usage_metrics.py +40 -0
- test/test_entitlements_api.py +111 -0
- test/test_error_detail.py +40 -0
- test/test_eula.py +40 -0
- test/test_files_api.py +69 -0
- test/test_format.py +40 -0
- test/test_format_support.py +40 -0
- test/test_format_support_upstream.py +40 -0
- test/test_formats_api.py +48 -0
- test/test_generic_package_upload.py +40 -0
- test/test_generic_package_upload_request.py +40 -0
- test/test_generic_upstream.py +40 -0
- test/test_generic_upstream_request.py +40 -0
- test/test_generic_upstream_request_patch.py +40 -0
- test/test_geo_ip_location.py +40 -0
- test/test_go_package_upload.py +40 -0
- test/test_go_package_upload_request.py +40 -0
- test/test_go_upstream.py +40 -0
- test/test_go_upstream_request.py +40 -0
- test/test_go_upstream_request_patch.py +40 -0
- test/test_helm_package_upload.py +40 -0
- test/test_helm_package_upload_request.py +40 -0
- test/test_helm_upstream.py +40 -0
- test/test_helm_upstream_request.py +40 -0
- test/test_helm_upstream_request_patch.py +40 -0
- test/test_hex_package_upload.py +40 -0
- test/test_hex_package_upload_request.py +40 -0
- test/test_hex_upstream.py +40 -0
- test/test_hex_upstream_request.py +40 -0
- test/test_hex_upstream_request_patch.py +40 -0
- test/test_history.py +40 -0
- test/test_history_fieldset.py +40 -0
- test/test_history_fieldset_raw.py +40 -0
- test/test_huggingface_package_upload.py +40 -0
- test/test_huggingface_package_upload_request.py +40 -0
- test/test_huggingface_upstream.py +40 -0
- test/test_huggingface_upstream_request.py +40 -0
- test/test_huggingface_upstream_request_patch.py +40 -0
- test/test_inline_response200.py +40 -0
- test/test_inline_response2001.py +40 -0
- test/test_inline_response2002.py +40 -0
- test/test_inline_response2003.py +40 -0
- test/test_inline_response2004.py +40 -0
- test/test_luarocks_package_upload.py +40 -0
- test/test_luarocks_package_upload_request.py +40 -0
- test/test_maven_package_upload.py +40 -0
- test/test_maven_package_upload_request.py +40 -0
- test/test_maven_upstream.py +40 -0
- test/test_maven_upstream_request.py +40 -0
- test/test_maven_upstream_request_patch.py +40 -0
- test/test_mcp_package_upload.py +40 -0
- test/test_mcp_package_upload_request.py +40 -0
- test/test_member_teams.py +40 -0
- test/test_metrics_api.py +55 -0
- test/test_namespace.py +40 -0
- test/test_namespace_audit_log.py +40 -0
- test/test_namespaces_api.py +48 -0
- test/test_nested_license_policy.py +40 -0
- test/test_nested_vulnerability_policy.py +40 -0
- test/test_nested_vulnerability_scan_results.py +40 -0
- test/test_nix_package_upload.py +40 -0
- test/test_nix_package_upload_request.py +40 -0
- test/test_nix_upstream.py +40 -0
- test/test_nix_upstream_request.py +40 -0
- test/test_nix_upstream_request_patch.py +40 -0
- test/test_npm_package_upload.py +40 -0
- test/test_npm_package_upload_request.py +40 -0
- test/test_npm_upstream.py +40 -0
- test/test_npm_upstream_request.py +40 -0
- test/test_npm_upstream_request_patch.py +40 -0
- test/test_nuget_package_upload.py +40 -0
- test/test_nuget_package_upload_request.py +40 -0
- test/test_nuget_upstream.py +40 -0
- test/test_nuget_upstream_request.py +40 -0
- test/test_nuget_upstream_request_patch.py +40 -0
- test/test_oidc.py +40 -0
- test/test_oidc1.py +40 -0
- test/test_oidc_request.py +40 -0
- test/test_openid_api.py +41 -0
- test/test_organization.py +40 -0
- test/test_organization_custom_domain_nested_repo.py +40 -0
- test/test_organization_custom_domains.py +40 -0
- test/test_organization_group_sync.py +40 -0
- test/test_organization_group_sync_request.py +40 -0
- test/test_organization_group_sync_status.py +40 -0
- test/test_organization_invite.py +40 -0
- test/test_organization_invite_extend.py +40 -0
- test/test_organization_invite_request.py +40 -0
- test/test_organization_invite_update.py +40 -0
- test/test_organization_invite_update_request_patch.py +40 -0
- test/test_organization_membership.py +40 -0
- test/test_organization_membership_request_patch.py +40 -0
- test/test_organization_membership_role_update.py +40 -0
- test/test_organization_membership_role_update_request_patch.py +40 -0
- test/test_organization_membership_visibility_update.py +40 -0
- test/test_organization_membership_visibility_update_request_patch.py +40 -0
- test/test_organization_package_license_policy.py +40 -0
- test/test_organization_package_license_policy_request.py +40 -0
- test/test_organization_package_license_policy_request_patch.py +40 -0
- test/test_organization_package_vulnerability_policy.py +40 -0
- test/test_organization_package_vulnerability_policy_request.py +40 -0
- test/test_organization_package_vulnerability_policy_request_patch.py +40 -0
- test/test_organization_saml_auth.py +40 -0
- test/test_organization_saml_auth_request_patch.py +40 -0
- test/test_organization_team.py +40 -0
- test/test_organization_team_invite.py +40 -0
- test/test_organization_team_members.py +40 -0
- test/test_organization_team_request.py +40 -0
- test/test_organization_team_request_patch.py +40 -0
- test/test_organization_team_service_member.py +40 -0
- test/test_organization_usage.py +40 -0
- test/test_organization_usage_update.py +40 -0
- test/test_organization_usage_update_request_patch.py +40 -0
- test/test_orgs_api.py +564 -0
- test/test_p2_package_upload.py +40 -0
- test/test_p2_package_upload_request.py +40 -0
- test/test_package.py +40 -0
- test/test_package_bulk_action.py +40 -0
- test/test_package_bulk_action_response.py +40 -0
- test/test_package_copy.py +40 -0
- test/test_package_copy_request.py +40 -0
- test/test_package_deny_policy.py +40 -0
- test/test_package_deny_policy_request.py +40 -0
- test/test_package_deny_policy_request_patch.py +40 -0
- test/test_package_dependencies.py +40 -0
- test/test_package_dependency.py +40 -0
- test/test_package_detail.py +40 -0
- test/test_package_file.py +40 -0
- test/test_package_file_parts_upload.py +40 -0
- test/test_package_file_upload.py +40 -0
- test/test_package_file_upload_request.py +40 -0
- test/test_package_group.py +40 -0
- test/test_package_license.py +40 -0
- test/test_package_license_policy_evaluation_request.py +40 -0
- test/test_package_license_policy_evaluation_request_request.py +40 -0
- test/test_package_license_policy_violation_log.py +40 -0
- test/test_package_license_policy_violation_log_cursor_page.py +40 -0
- test/test_package_license_request_patch.py +40 -0
- test/test_package_move.py +40 -0
- test/test_package_move_request.py +40 -0
- test/test_package_quarantine.py +40 -0
- test/test_package_quarantine_request.py +40 -0
- test/test_package_recycle_bin.py +40 -0
- test/test_package_resync.py +40 -0
- test/test_package_status.py +40 -0
- test/test_package_tag.py +40 -0
- test/test_package_tag_request.py +40 -0
- test/test_package_usage_metrics.py +40 -0
- test/test_package_version_badge.py +40 -0
- test/test_package_vulnerability.py +40 -0
- test/test_package_vulnerability_policy_evaluation_request.py +40 -0
- test/test_package_vulnerability_policy_evaluation_request_request.py +40 -0
- test/test_package_vulnerability_policy_violation_log.py +40 -0
- test/test_package_vulnerability_policy_violation_log_cursor_page.py +40 -0
- test/test_packages_api.py +545 -0
- test/test_provider_settings.py +40 -0
- test/test_provider_settings_write.py +40 -0
- test/test_provider_settings_write_request.py +40 -0
- test/test_provider_settings_write_request_patch.py +40 -0
- test/test_python_package_upload.py +40 -0
- test/test_python_package_upload_request.py +40 -0
- test/test_python_upstream.py +40 -0
- test/test_python_upstream_request.py +40 -0
- test/test_python_upstream_request_patch.py +40 -0
- test/test_quota.py +40 -0
- test/test_quota_api.py +62 -0
- test/test_quota_history.py +40 -0
- test/test_rate_check.py +40 -0
- test/test_rates_api.py +41 -0
- test/test_raw_package_upload.py +40 -0
- test/test_raw_package_upload_request.py +40 -0
- test/test_recycle_bin_api.py +47 -0
- test/test_recycle_bin_package.py +40 -0
- test/test_repos_api.py +1188 -0
- test/test_repository.py +40 -0
- test/test_repository_audit_log.py +40 -0
- test/test_repository_create.py +40 -0
- test/test_repository_create_request.py +40 -0
- test/test_repository_ecdsa_key.py +40 -0
- test/test_repository_ecdsa_key_create.py +40 -0
- test/test_repository_ed25519_key.py +40 -0
- test/test_repository_ed25519_key_create.py +40 -0
- test/test_repository_geo_ip_cidr.py +40 -0
- test/test_repository_geo_ip_country_code.py +40 -0
- test/test_repository_geo_ip_rules.py +40 -0
- test/test_repository_geo_ip_rules_request.py +40 -0
- test/test_repository_geo_ip_rules_request_patch.py +40 -0
- test/test_repository_geo_ip_status.py +40 -0
- test/test_repository_geo_ip_test_address.py +40 -0
- test/test_repository_geo_ip_test_address_response.py +40 -0
- test/test_repository_geo_ip_test_address_response_dict.py +40 -0
- test/test_repository_gpg_key.py +40 -0
- test/test_repository_gpg_key_create.py +40 -0
- test/test_repository_privilege_dict.py +40 -0
- test/test_repository_privilege_input.py +40 -0
- test/test_repository_privilege_input_request.py +40 -0
- test/test_repository_privilege_input_request_patch.py +40 -0
- test/test_repository_request_patch.py +40 -0
- test/test_repository_retention_rules.py +40 -0
- test/test_repository_retention_rules_request_patch.py +40 -0
- test/test_repository_rsa_key.py +40 -0
- test/test_repository_rsa_key_create.py +40 -0
- test/test_repository_token.py +40 -0
- test/test_repository_token_action.py +40 -0
- test/test_repository_token_private_broadcasts.py +40 -0
- test/test_repository_token_private_broadcasts_request.py +40 -0
- test/test_repository_token_refresh.py +40 -0
- test/test_repository_token_refresh_request.py +40 -0
- test/test_repository_token_request.py +40 -0
- test/test_repository_token_request_patch.py +40 -0
- test/test_repository_token_sync.py +40 -0
- test/test_repository_token_sync_request.py +40 -0
- test/test_repository_transfer_region.py +40 -0
- test/test_repository_transfer_region_request.py +40 -0
- test/test_repository_webhook.py +40 -0
- test/test_repository_webhook_request.py +40 -0
- test/test_repository_webhook_request_patch.py +40 -0
- test/test_repository_x509_ecdsa_certificate.py +40 -0
- test/test_repository_x509_rsa_certificate.py +40 -0
- test/test_resources_rate_check.py +40 -0
- test/test_respository_geo_ip_enable_disable.py +40 -0
- test/test_respository_geo_ip_enable_disable_request.py +40 -0
- test/test_rpm_package_upload.py +40 -0
- test/test_rpm_package_upload_request.py +40 -0
- test/test_rpm_upstream.py +40 -0
- test/test_rpm_upstream_request.py +40 -0
- test/test_rpm_upstream_request_patch.py +40 -0
- test/test_ruby_package_upload.py +40 -0
- test/test_ruby_package_upload_request.py +40 -0
- test/test_ruby_upstream.py +40 -0
- test/test_ruby_upstream_request.py +40 -0
- test/test_ruby_upstream_request_patch.py +40 -0
- test/test_service.py +40 -0
- test/test_service_request.py +40 -0
- test/test_service_request_patch.py +40 -0
- test/test_service_teams.py +40 -0
- test/test_status_api.py +41 -0
- test/test_status_basic.py +40 -0
- test/test_storage_allocated_limit.py +40 -0
- test/test_storage_allocated_limit_raw.py +40 -0
- test/test_storage_region.py +40 -0
- test/test_storage_regions_api.py +48 -0
- test/test_storage_usage.py +40 -0
- test/test_storage_usage_raw.py +40 -0
- test/test_swift_package_upload.py +40 -0
- test/test_swift_package_upload_request.py +40 -0
- test/test_swift_upstream.py +40 -0
- test/test_swift_upstream_request.py +40 -0
- test/test_swift_upstream_request_patch.py +40 -0
- test/test_tags.py +40 -0
- test/test_terraform_package_upload.py +40 -0
- test/test_terraform_package_upload_request.py +40 -0
- test/test_usage.py +40 -0
- test/test_usage_fieldset.py +40 -0
- test/test_usage_limits.py +40 -0
- test/test_usage_limits_raw.py +40 -0
- test/test_usage_raw.py +40 -0
- test/test_user_api.py +69 -0
- test/test_user_auth_token.py +40 -0
- test/test_user_auth_token_request.py +40 -0
- test/test_user_authentication_token.py +40 -0
- test/test_user_brief.py +40 -0
- test/test_user_profile.py +40 -0
- test/test_users_api.py +41 -0
- test/test_vagrant_package_upload.py +40 -0
- test/test_vagrant_package_upload_request.py +40 -0
- test/test_vsx_package_upload.py +40 -0
- test/test_vsx_package_upload_request.py +40 -0
- test/test_vulnerabilities_api.py +62 -0
- test/test_vulnerability.py +40 -0
- test/test_vulnerability_scan.py +40 -0
- test/test_vulnerability_scan_results.py +40 -0
- test/test_vulnerability_scan_results_list.py +40 -0
- test/test_vulnerability_scan_version.py +40 -0
- test/test_web_osv_severity_counts.py +40 -0
- test/test_webhook_template.py +40 -0
- test/test_webhooks_api.py +69 -0
|
@@ -0,0 +1,2645 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Cloudsmith API (v1)
|
|
5
|
+
|
|
6
|
+
The API to the Cloudsmith Service # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: v1
|
|
9
|
+
Contact: support@cloudsmith.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from cloudsmith_api.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class PackageDetail(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'architectures': 'list[Architecture]',
|
|
37
|
+
'cdn_url': 'str',
|
|
38
|
+
'checksum_md5': 'str',
|
|
39
|
+
'checksum_sha1': 'str',
|
|
40
|
+
'checksum_sha256': 'str',
|
|
41
|
+
'checksum_sha512': 'str',
|
|
42
|
+
'dependencies_checksum_md5': 'str',
|
|
43
|
+
'dependencies_url': 'str',
|
|
44
|
+
'description': 'str',
|
|
45
|
+
'display_name': 'str',
|
|
46
|
+
'distro': 'Distribution',
|
|
47
|
+
'distro_version': 'DistributionVersion',
|
|
48
|
+
'downloads': 'int',
|
|
49
|
+
'epoch': 'int',
|
|
50
|
+
'extension': 'str',
|
|
51
|
+
'filename': 'str',
|
|
52
|
+
'filepath': 'str',
|
|
53
|
+
'files': 'list[PackageFile]',
|
|
54
|
+
'format': 'str',
|
|
55
|
+
'format_url': 'str',
|
|
56
|
+
'freeable_storage': 'int',
|
|
57
|
+
'fully_qualified_name': 'str',
|
|
58
|
+
'has_dependencies': 'bool',
|
|
59
|
+
'identifier_perm': 'str',
|
|
60
|
+
'identifiers': 'dict(str, str)',
|
|
61
|
+
'indexed': 'bool',
|
|
62
|
+
'is_cancellable': 'bool',
|
|
63
|
+
'is_copyable': 'bool',
|
|
64
|
+
'is_deleteable': 'bool',
|
|
65
|
+
'is_downloadable': 'bool',
|
|
66
|
+
'is_hidden': 'bool',
|
|
67
|
+
'is_malware_detected': 'bool',
|
|
68
|
+
'is_moveable': 'bool',
|
|
69
|
+
'is_quarantinable': 'bool',
|
|
70
|
+
'is_quarantined': 'bool',
|
|
71
|
+
'is_resyncable': 'bool',
|
|
72
|
+
'is_security_scannable': 'bool',
|
|
73
|
+
'is_sync_awaiting': 'bool',
|
|
74
|
+
'is_sync_completed': 'bool',
|
|
75
|
+
'is_sync_failed': 'bool',
|
|
76
|
+
'is_sync_in_flight': 'bool',
|
|
77
|
+
'is_sync_in_progress': 'bool',
|
|
78
|
+
'license': 'str',
|
|
79
|
+
'name': 'str',
|
|
80
|
+
'namespace': 'str',
|
|
81
|
+
'namespace_url': 'str',
|
|
82
|
+
'num_files': 'int',
|
|
83
|
+
'origin_repository': 'str',
|
|
84
|
+
'origin_repository_url': 'str',
|
|
85
|
+
'osi_approved': 'bool',
|
|
86
|
+
'package_type': 'int',
|
|
87
|
+
'policy_violated': 'bool',
|
|
88
|
+
'raw_license': 'str',
|
|
89
|
+
'release': 'str',
|
|
90
|
+
'repository': 'str',
|
|
91
|
+
'repository_url': 'str',
|
|
92
|
+
'security_scan_completed_at': 'datetime',
|
|
93
|
+
'security_scan_started_at': 'datetime',
|
|
94
|
+
'security_scan_status': 'str',
|
|
95
|
+
'security_scan_status_updated_at': 'datetime',
|
|
96
|
+
'self_html_url': 'str',
|
|
97
|
+
'self_url': 'str',
|
|
98
|
+
'self_webapp_url': 'str',
|
|
99
|
+
'signature_url': 'str',
|
|
100
|
+
'size': 'int',
|
|
101
|
+
'slug': 'str',
|
|
102
|
+
'slug_perm': 'str',
|
|
103
|
+
'spdx_license': 'str',
|
|
104
|
+
'stage': 'int',
|
|
105
|
+
'stage_str': 'str',
|
|
106
|
+
'stage_updated_at': 'datetime',
|
|
107
|
+
'status': 'int',
|
|
108
|
+
'status_reason': 'str',
|
|
109
|
+
'status_str': 'str',
|
|
110
|
+
'status_updated_at': 'datetime',
|
|
111
|
+
'status_url': 'str',
|
|
112
|
+
'store_path': 'str',
|
|
113
|
+
'subtype': 'str',
|
|
114
|
+
'summary': 'str',
|
|
115
|
+
'sync_finished_at': 'datetime',
|
|
116
|
+
'sync_progress': 'int',
|
|
117
|
+
'tags': 'Tags',
|
|
118
|
+
'tags_automatic': 'Tags',
|
|
119
|
+
'tags_immutable': 'Tags',
|
|
120
|
+
'tags_static': 'dict(str, list[str])',
|
|
121
|
+
'type_display': 'str',
|
|
122
|
+
'uploaded_at': 'datetime',
|
|
123
|
+
'uploader': 'str',
|
|
124
|
+
'uploader_url': 'str',
|
|
125
|
+
'version': 'str',
|
|
126
|
+
'version_orig': 'str',
|
|
127
|
+
'vulnerability_counts': 'WebOSVSeverityCounts',
|
|
128
|
+
'vulnerability_scan_results_url': 'str'
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
attribute_map = {
|
|
132
|
+
'architectures': 'architectures',
|
|
133
|
+
'cdn_url': 'cdn_url',
|
|
134
|
+
'checksum_md5': 'checksum_md5',
|
|
135
|
+
'checksum_sha1': 'checksum_sha1',
|
|
136
|
+
'checksum_sha256': 'checksum_sha256',
|
|
137
|
+
'checksum_sha512': 'checksum_sha512',
|
|
138
|
+
'dependencies_checksum_md5': 'dependencies_checksum_md5',
|
|
139
|
+
'dependencies_url': 'dependencies_url',
|
|
140
|
+
'description': 'description',
|
|
141
|
+
'display_name': 'display_name',
|
|
142
|
+
'distro': 'distro',
|
|
143
|
+
'distro_version': 'distro_version',
|
|
144
|
+
'downloads': 'downloads',
|
|
145
|
+
'epoch': 'epoch',
|
|
146
|
+
'extension': 'extension',
|
|
147
|
+
'filename': 'filename',
|
|
148
|
+
'filepath': 'filepath',
|
|
149
|
+
'files': 'files',
|
|
150
|
+
'format': 'format',
|
|
151
|
+
'format_url': 'format_url',
|
|
152
|
+
'freeable_storage': 'freeable_storage',
|
|
153
|
+
'fully_qualified_name': 'fully_qualified_name',
|
|
154
|
+
'has_dependencies': 'has_dependencies',
|
|
155
|
+
'identifier_perm': 'identifier_perm',
|
|
156
|
+
'identifiers': 'identifiers',
|
|
157
|
+
'indexed': 'indexed',
|
|
158
|
+
'is_cancellable': 'is_cancellable',
|
|
159
|
+
'is_copyable': 'is_copyable',
|
|
160
|
+
'is_deleteable': 'is_deleteable',
|
|
161
|
+
'is_downloadable': 'is_downloadable',
|
|
162
|
+
'is_hidden': 'is_hidden',
|
|
163
|
+
'is_malware_detected': 'is_malware_detected',
|
|
164
|
+
'is_moveable': 'is_moveable',
|
|
165
|
+
'is_quarantinable': 'is_quarantinable',
|
|
166
|
+
'is_quarantined': 'is_quarantined',
|
|
167
|
+
'is_resyncable': 'is_resyncable',
|
|
168
|
+
'is_security_scannable': 'is_security_scannable',
|
|
169
|
+
'is_sync_awaiting': 'is_sync_awaiting',
|
|
170
|
+
'is_sync_completed': 'is_sync_completed',
|
|
171
|
+
'is_sync_failed': 'is_sync_failed',
|
|
172
|
+
'is_sync_in_flight': 'is_sync_in_flight',
|
|
173
|
+
'is_sync_in_progress': 'is_sync_in_progress',
|
|
174
|
+
'license': 'license',
|
|
175
|
+
'name': 'name',
|
|
176
|
+
'namespace': 'namespace',
|
|
177
|
+
'namespace_url': 'namespace_url',
|
|
178
|
+
'num_files': 'num_files',
|
|
179
|
+
'origin_repository': 'origin_repository',
|
|
180
|
+
'origin_repository_url': 'origin_repository_url',
|
|
181
|
+
'osi_approved': 'osi_approved',
|
|
182
|
+
'package_type': 'package_type',
|
|
183
|
+
'policy_violated': 'policy_violated',
|
|
184
|
+
'raw_license': 'raw_license',
|
|
185
|
+
'release': 'release',
|
|
186
|
+
'repository': 'repository',
|
|
187
|
+
'repository_url': 'repository_url',
|
|
188
|
+
'security_scan_completed_at': 'security_scan_completed_at',
|
|
189
|
+
'security_scan_started_at': 'security_scan_started_at',
|
|
190
|
+
'security_scan_status': 'security_scan_status',
|
|
191
|
+
'security_scan_status_updated_at': 'security_scan_status_updated_at',
|
|
192
|
+
'self_html_url': 'self_html_url',
|
|
193
|
+
'self_url': 'self_url',
|
|
194
|
+
'self_webapp_url': 'self_webapp_url',
|
|
195
|
+
'signature_url': 'signature_url',
|
|
196
|
+
'size': 'size',
|
|
197
|
+
'slug': 'slug',
|
|
198
|
+
'slug_perm': 'slug_perm',
|
|
199
|
+
'spdx_license': 'spdx_license',
|
|
200
|
+
'stage': 'stage',
|
|
201
|
+
'stage_str': 'stage_str',
|
|
202
|
+
'stage_updated_at': 'stage_updated_at',
|
|
203
|
+
'status': 'status',
|
|
204
|
+
'status_reason': 'status_reason',
|
|
205
|
+
'status_str': 'status_str',
|
|
206
|
+
'status_updated_at': 'status_updated_at',
|
|
207
|
+
'status_url': 'status_url',
|
|
208
|
+
'store_path': 'store_path',
|
|
209
|
+
'subtype': 'subtype',
|
|
210
|
+
'summary': 'summary',
|
|
211
|
+
'sync_finished_at': 'sync_finished_at',
|
|
212
|
+
'sync_progress': 'sync_progress',
|
|
213
|
+
'tags': 'tags',
|
|
214
|
+
'tags_automatic': 'tags_automatic',
|
|
215
|
+
'tags_immutable': 'tags_immutable',
|
|
216
|
+
'tags_static': 'tags_static',
|
|
217
|
+
'type_display': 'type_display',
|
|
218
|
+
'uploaded_at': 'uploaded_at',
|
|
219
|
+
'uploader': 'uploader',
|
|
220
|
+
'uploader_url': 'uploader_url',
|
|
221
|
+
'version': 'version',
|
|
222
|
+
'version_orig': 'version_orig',
|
|
223
|
+
'vulnerability_counts': 'vulnerability_counts',
|
|
224
|
+
'vulnerability_scan_results_url': 'vulnerability_scan_results_url'
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
def __init__(self, architectures=None, cdn_url=None, checksum_md5=None, checksum_sha1=None, checksum_sha256=None, checksum_sha512=None, dependencies_checksum_md5=None, dependencies_url=None, description=None, display_name=None, distro=None, distro_version=None, downloads=None, epoch=None, extension=None, filename=None, filepath=None, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=None, has_dependencies=None, identifier_perm=None, identifiers=None, indexed=None, is_cancellable=None, is_copyable=None, is_deleteable=None, is_downloadable=None, is_hidden=None, is_malware_detected=None, is_moveable=None, is_quarantinable=None, is_quarantined=None, is_resyncable=None, is_security_scannable=None, is_sync_awaiting=None, is_sync_completed=None, is_sync_failed=None, is_sync_in_flight=None, is_sync_in_progress=None, license=None, name=None, namespace=None, namespace_url=None, num_files=None, origin_repository=None, origin_repository_url=None, osi_approved=None, package_type=None, policy_violated=None, raw_license=None, release=None, repository=None, repository_url=None, security_scan_completed_at=None, security_scan_started_at=None, security_scan_status='Awaiting Security Scan', security_scan_status_updated_at=None, self_html_url=None, self_url=None, self_webapp_url=None, signature_url=None, size=None, slug=None, slug_perm=None, spdx_license=None, stage=None, stage_str=None, stage_updated_at=None, status=None, status_reason=None, status_str=None, status_updated_at=None, status_url=None, store_path=None, subtype=None, summary=None, sync_finished_at=None, sync_progress=None, tags=None, tags_automatic=None, tags_immutable=None, tags_static=None, type_display=None, uploaded_at=None, uploader=None, uploader_url=None, version=None, version_orig=None, vulnerability_counts=None, vulnerability_scan_results_url=None, _configuration=None): # noqa: E501
|
|
228
|
+
"""PackageDetail - a model defined in Swagger""" # noqa: E501
|
|
229
|
+
if _configuration is None:
|
|
230
|
+
_configuration = Configuration()
|
|
231
|
+
self._configuration = _configuration
|
|
232
|
+
|
|
233
|
+
self._architectures = None
|
|
234
|
+
self._cdn_url = None
|
|
235
|
+
self._checksum_md5 = None
|
|
236
|
+
self._checksum_sha1 = None
|
|
237
|
+
self._checksum_sha256 = None
|
|
238
|
+
self._checksum_sha512 = None
|
|
239
|
+
self._dependencies_checksum_md5 = None
|
|
240
|
+
self._dependencies_url = None
|
|
241
|
+
self._description = None
|
|
242
|
+
self._display_name = None
|
|
243
|
+
self._distro = None
|
|
244
|
+
self._distro_version = None
|
|
245
|
+
self._downloads = None
|
|
246
|
+
self._epoch = None
|
|
247
|
+
self._extension = None
|
|
248
|
+
self._filename = None
|
|
249
|
+
self._filepath = None
|
|
250
|
+
self._files = None
|
|
251
|
+
self._format = None
|
|
252
|
+
self._format_url = None
|
|
253
|
+
self._freeable_storage = None
|
|
254
|
+
self._fully_qualified_name = None
|
|
255
|
+
self._has_dependencies = None
|
|
256
|
+
self._identifier_perm = None
|
|
257
|
+
self._identifiers = None
|
|
258
|
+
self._indexed = None
|
|
259
|
+
self._is_cancellable = None
|
|
260
|
+
self._is_copyable = None
|
|
261
|
+
self._is_deleteable = None
|
|
262
|
+
self._is_downloadable = None
|
|
263
|
+
self._is_hidden = None
|
|
264
|
+
self._is_malware_detected = None
|
|
265
|
+
self._is_moveable = None
|
|
266
|
+
self._is_quarantinable = None
|
|
267
|
+
self._is_quarantined = None
|
|
268
|
+
self._is_resyncable = None
|
|
269
|
+
self._is_security_scannable = None
|
|
270
|
+
self._is_sync_awaiting = None
|
|
271
|
+
self._is_sync_completed = None
|
|
272
|
+
self._is_sync_failed = None
|
|
273
|
+
self._is_sync_in_flight = None
|
|
274
|
+
self._is_sync_in_progress = None
|
|
275
|
+
self._license = None
|
|
276
|
+
self._name = None
|
|
277
|
+
self._namespace = None
|
|
278
|
+
self._namespace_url = None
|
|
279
|
+
self._num_files = None
|
|
280
|
+
self._origin_repository = None
|
|
281
|
+
self._origin_repository_url = None
|
|
282
|
+
self._osi_approved = None
|
|
283
|
+
self._package_type = None
|
|
284
|
+
self._policy_violated = None
|
|
285
|
+
self._raw_license = None
|
|
286
|
+
self._release = None
|
|
287
|
+
self._repository = None
|
|
288
|
+
self._repository_url = None
|
|
289
|
+
self._security_scan_completed_at = None
|
|
290
|
+
self._security_scan_started_at = None
|
|
291
|
+
self._security_scan_status = None
|
|
292
|
+
self._security_scan_status_updated_at = None
|
|
293
|
+
self._self_html_url = None
|
|
294
|
+
self._self_url = None
|
|
295
|
+
self._self_webapp_url = None
|
|
296
|
+
self._signature_url = None
|
|
297
|
+
self._size = None
|
|
298
|
+
self._slug = None
|
|
299
|
+
self._slug_perm = None
|
|
300
|
+
self._spdx_license = None
|
|
301
|
+
self._stage = None
|
|
302
|
+
self._stage_str = None
|
|
303
|
+
self._stage_updated_at = None
|
|
304
|
+
self._status = None
|
|
305
|
+
self._status_reason = None
|
|
306
|
+
self._status_str = None
|
|
307
|
+
self._status_updated_at = None
|
|
308
|
+
self._status_url = None
|
|
309
|
+
self._store_path = None
|
|
310
|
+
self._subtype = None
|
|
311
|
+
self._summary = None
|
|
312
|
+
self._sync_finished_at = None
|
|
313
|
+
self._sync_progress = None
|
|
314
|
+
self._tags = None
|
|
315
|
+
self._tags_automatic = None
|
|
316
|
+
self._tags_immutable = None
|
|
317
|
+
self._tags_static = None
|
|
318
|
+
self._type_display = None
|
|
319
|
+
self._uploaded_at = None
|
|
320
|
+
self._uploader = None
|
|
321
|
+
self._uploader_url = None
|
|
322
|
+
self._version = None
|
|
323
|
+
self._version_orig = None
|
|
324
|
+
self._vulnerability_counts = None
|
|
325
|
+
self._vulnerability_scan_results_url = None
|
|
326
|
+
self.discriminator = None
|
|
327
|
+
|
|
328
|
+
if architectures is not None:
|
|
329
|
+
self.architectures = architectures
|
|
330
|
+
if cdn_url is not None:
|
|
331
|
+
self.cdn_url = cdn_url
|
|
332
|
+
if checksum_md5 is not None:
|
|
333
|
+
self.checksum_md5 = checksum_md5
|
|
334
|
+
if checksum_sha1 is not None:
|
|
335
|
+
self.checksum_sha1 = checksum_sha1
|
|
336
|
+
if checksum_sha256 is not None:
|
|
337
|
+
self.checksum_sha256 = checksum_sha256
|
|
338
|
+
if checksum_sha512 is not None:
|
|
339
|
+
self.checksum_sha512 = checksum_sha512
|
|
340
|
+
if dependencies_checksum_md5 is not None:
|
|
341
|
+
self.dependencies_checksum_md5 = dependencies_checksum_md5
|
|
342
|
+
if dependencies_url is not None:
|
|
343
|
+
self.dependencies_url = dependencies_url
|
|
344
|
+
if description is not None:
|
|
345
|
+
self.description = description
|
|
346
|
+
if display_name is not None:
|
|
347
|
+
self.display_name = display_name
|
|
348
|
+
if distro is not None:
|
|
349
|
+
self.distro = distro
|
|
350
|
+
if distro_version is not None:
|
|
351
|
+
self.distro_version = distro_version
|
|
352
|
+
if downloads is not None:
|
|
353
|
+
self.downloads = downloads
|
|
354
|
+
if epoch is not None:
|
|
355
|
+
self.epoch = epoch
|
|
356
|
+
if extension is not None:
|
|
357
|
+
self.extension = extension
|
|
358
|
+
if filename is not None:
|
|
359
|
+
self.filename = filename
|
|
360
|
+
if filepath is not None:
|
|
361
|
+
self.filepath = filepath
|
|
362
|
+
if files is not None:
|
|
363
|
+
self.files = files
|
|
364
|
+
if format is not None:
|
|
365
|
+
self.format = format
|
|
366
|
+
if format_url is not None:
|
|
367
|
+
self.format_url = format_url
|
|
368
|
+
if freeable_storage is not None:
|
|
369
|
+
self.freeable_storage = freeable_storage
|
|
370
|
+
if fully_qualified_name is not None:
|
|
371
|
+
self.fully_qualified_name = fully_qualified_name
|
|
372
|
+
if has_dependencies is not None:
|
|
373
|
+
self.has_dependencies = has_dependencies
|
|
374
|
+
if identifier_perm is not None:
|
|
375
|
+
self.identifier_perm = identifier_perm
|
|
376
|
+
if identifiers is not None:
|
|
377
|
+
self.identifiers = identifiers
|
|
378
|
+
if indexed is not None:
|
|
379
|
+
self.indexed = indexed
|
|
380
|
+
if is_cancellable is not None:
|
|
381
|
+
self.is_cancellable = is_cancellable
|
|
382
|
+
if is_copyable is not None:
|
|
383
|
+
self.is_copyable = is_copyable
|
|
384
|
+
if is_deleteable is not None:
|
|
385
|
+
self.is_deleteable = is_deleteable
|
|
386
|
+
if is_downloadable is not None:
|
|
387
|
+
self.is_downloadable = is_downloadable
|
|
388
|
+
if is_hidden is not None:
|
|
389
|
+
self.is_hidden = is_hidden
|
|
390
|
+
if is_malware_detected is not None:
|
|
391
|
+
self.is_malware_detected = is_malware_detected
|
|
392
|
+
if is_moveable is not None:
|
|
393
|
+
self.is_moveable = is_moveable
|
|
394
|
+
if is_quarantinable is not None:
|
|
395
|
+
self.is_quarantinable = is_quarantinable
|
|
396
|
+
if is_quarantined is not None:
|
|
397
|
+
self.is_quarantined = is_quarantined
|
|
398
|
+
if is_resyncable is not None:
|
|
399
|
+
self.is_resyncable = is_resyncable
|
|
400
|
+
if is_security_scannable is not None:
|
|
401
|
+
self.is_security_scannable = is_security_scannable
|
|
402
|
+
if is_sync_awaiting is not None:
|
|
403
|
+
self.is_sync_awaiting = is_sync_awaiting
|
|
404
|
+
if is_sync_completed is not None:
|
|
405
|
+
self.is_sync_completed = is_sync_completed
|
|
406
|
+
if is_sync_failed is not None:
|
|
407
|
+
self.is_sync_failed = is_sync_failed
|
|
408
|
+
if is_sync_in_flight is not None:
|
|
409
|
+
self.is_sync_in_flight = is_sync_in_flight
|
|
410
|
+
if is_sync_in_progress is not None:
|
|
411
|
+
self.is_sync_in_progress = is_sync_in_progress
|
|
412
|
+
if license is not None:
|
|
413
|
+
self.license = license
|
|
414
|
+
if name is not None:
|
|
415
|
+
self.name = name
|
|
416
|
+
if namespace is not None:
|
|
417
|
+
self.namespace = namespace
|
|
418
|
+
if namespace_url is not None:
|
|
419
|
+
self.namespace_url = namespace_url
|
|
420
|
+
if num_files is not None:
|
|
421
|
+
self.num_files = num_files
|
|
422
|
+
if origin_repository is not None:
|
|
423
|
+
self.origin_repository = origin_repository
|
|
424
|
+
if origin_repository_url is not None:
|
|
425
|
+
self.origin_repository_url = origin_repository_url
|
|
426
|
+
if osi_approved is not None:
|
|
427
|
+
self.osi_approved = osi_approved
|
|
428
|
+
if package_type is not None:
|
|
429
|
+
self.package_type = package_type
|
|
430
|
+
if policy_violated is not None:
|
|
431
|
+
self.policy_violated = policy_violated
|
|
432
|
+
if raw_license is not None:
|
|
433
|
+
self.raw_license = raw_license
|
|
434
|
+
if release is not None:
|
|
435
|
+
self.release = release
|
|
436
|
+
if repository is not None:
|
|
437
|
+
self.repository = repository
|
|
438
|
+
if repository_url is not None:
|
|
439
|
+
self.repository_url = repository_url
|
|
440
|
+
if security_scan_completed_at is not None:
|
|
441
|
+
self.security_scan_completed_at = security_scan_completed_at
|
|
442
|
+
if security_scan_started_at is not None:
|
|
443
|
+
self.security_scan_started_at = security_scan_started_at
|
|
444
|
+
if security_scan_status is not None:
|
|
445
|
+
self.security_scan_status = security_scan_status
|
|
446
|
+
if security_scan_status_updated_at is not None:
|
|
447
|
+
self.security_scan_status_updated_at = security_scan_status_updated_at
|
|
448
|
+
if self_html_url is not None:
|
|
449
|
+
self.self_html_url = self_html_url
|
|
450
|
+
if self_url is not None:
|
|
451
|
+
self.self_url = self_url
|
|
452
|
+
if self_webapp_url is not None:
|
|
453
|
+
self.self_webapp_url = self_webapp_url
|
|
454
|
+
if signature_url is not None:
|
|
455
|
+
self.signature_url = signature_url
|
|
456
|
+
if size is not None:
|
|
457
|
+
self.size = size
|
|
458
|
+
if slug is not None:
|
|
459
|
+
self.slug = slug
|
|
460
|
+
if slug_perm is not None:
|
|
461
|
+
self.slug_perm = slug_perm
|
|
462
|
+
if spdx_license is not None:
|
|
463
|
+
self.spdx_license = spdx_license
|
|
464
|
+
if stage is not None:
|
|
465
|
+
self.stage = stage
|
|
466
|
+
if stage_str is not None:
|
|
467
|
+
self.stage_str = stage_str
|
|
468
|
+
if stage_updated_at is not None:
|
|
469
|
+
self.stage_updated_at = stage_updated_at
|
|
470
|
+
if status is not None:
|
|
471
|
+
self.status = status
|
|
472
|
+
if status_reason is not None:
|
|
473
|
+
self.status_reason = status_reason
|
|
474
|
+
if status_str is not None:
|
|
475
|
+
self.status_str = status_str
|
|
476
|
+
if status_updated_at is not None:
|
|
477
|
+
self.status_updated_at = status_updated_at
|
|
478
|
+
if status_url is not None:
|
|
479
|
+
self.status_url = status_url
|
|
480
|
+
if store_path is not None:
|
|
481
|
+
self.store_path = store_path
|
|
482
|
+
if subtype is not None:
|
|
483
|
+
self.subtype = subtype
|
|
484
|
+
if summary is not None:
|
|
485
|
+
self.summary = summary
|
|
486
|
+
if sync_finished_at is not None:
|
|
487
|
+
self.sync_finished_at = sync_finished_at
|
|
488
|
+
if sync_progress is not None:
|
|
489
|
+
self.sync_progress = sync_progress
|
|
490
|
+
if tags is not None:
|
|
491
|
+
self.tags = tags
|
|
492
|
+
if tags_automatic is not None:
|
|
493
|
+
self.tags_automatic = tags_automatic
|
|
494
|
+
if tags_immutable is not None:
|
|
495
|
+
self.tags_immutable = tags_immutable
|
|
496
|
+
if tags_static is not None:
|
|
497
|
+
self.tags_static = tags_static
|
|
498
|
+
if type_display is not None:
|
|
499
|
+
self.type_display = type_display
|
|
500
|
+
if uploaded_at is not None:
|
|
501
|
+
self.uploaded_at = uploaded_at
|
|
502
|
+
if uploader is not None:
|
|
503
|
+
self.uploader = uploader
|
|
504
|
+
if uploader_url is not None:
|
|
505
|
+
self.uploader_url = uploader_url
|
|
506
|
+
if version is not None:
|
|
507
|
+
self.version = version
|
|
508
|
+
if version_orig is not None:
|
|
509
|
+
self.version_orig = version_orig
|
|
510
|
+
if vulnerability_counts is not None:
|
|
511
|
+
self.vulnerability_counts = vulnerability_counts
|
|
512
|
+
if vulnerability_scan_results_url is not None:
|
|
513
|
+
self.vulnerability_scan_results_url = vulnerability_scan_results_url
|
|
514
|
+
|
|
515
|
+
@property
|
|
516
|
+
def architectures(self):
|
|
517
|
+
"""Gets the architectures of this PackageDetail.
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
:return: The architectures of this PackageDetail.
|
|
521
|
+
:rtype: list[Architecture]
|
|
522
|
+
"""
|
|
523
|
+
return self._architectures
|
|
524
|
+
|
|
525
|
+
@architectures.setter
|
|
526
|
+
def architectures(self, architectures):
|
|
527
|
+
"""Sets the architectures of this PackageDetail.
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
:param architectures: The architectures of this PackageDetail.
|
|
531
|
+
:type: list[Architecture]
|
|
532
|
+
"""
|
|
533
|
+
|
|
534
|
+
self._architectures = architectures
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
def cdn_url(self):
|
|
538
|
+
"""Gets the cdn_url of this PackageDetail.
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
:return: The cdn_url of this PackageDetail.
|
|
542
|
+
:rtype: str
|
|
543
|
+
"""
|
|
544
|
+
return self._cdn_url
|
|
545
|
+
|
|
546
|
+
@cdn_url.setter
|
|
547
|
+
def cdn_url(self, cdn_url):
|
|
548
|
+
"""Sets the cdn_url of this PackageDetail.
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
:param cdn_url: The cdn_url of this PackageDetail.
|
|
552
|
+
:type: str
|
|
553
|
+
"""
|
|
554
|
+
|
|
555
|
+
self._cdn_url = cdn_url
|
|
556
|
+
|
|
557
|
+
@property
|
|
558
|
+
def checksum_md5(self):
|
|
559
|
+
"""Gets the checksum_md5 of this PackageDetail.
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
:return: The checksum_md5 of this PackageDetail.
|
|
563
|
+
:rtype: str
|
|
564
|
+
"""
|
|
565
|
+
return self._checksum_md5
|
|
566
|
+
|
|
567
|
+
@checksum_md5.setter
|
|
568
|
+
def checksum_md5(self, checksum_md5):
|
|
569
|
+
"""Sets the checksum_md5 of this PackageDetail.
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
:param checksum_md5: The checksum_md5 of this PackageDetail.
|
|
573
|
+
:type: str
|
|
574
|
+
"""
|
|
575
|
+
|
|
576
|
+
self._checksum_md5 = checksum_md5
|
|
577
|
+
|
|
578
|
+
@property
|
|
579
|
+
def checksum_sha1(self):
|
|
580
|
+
"""Gets the checksum_sha1 of this PackageDetail.
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
:return: The checksum_sha1 of this PackageDetail.
|
|
584
|
+
:rtype: str
|
|
585
|
+
"""
|
|
586
|
+
return self._checksum_sha1
|
|
587
|
+
|
|
588
|
+
@checksum_sha1.setter
|
|
589
|
+
def checksum_sha1(self, checksum_sha1):
|
|
590
|
+
"""Sets the checksum_sha1 of this PackageDetail.
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
:param checksum_sha1: The checksum_sha1 of this PackageDetail.
|
|
594
|
+
:type: str
|
|
595
|
+
"""
|
|
596
|
+
|
|
597
|
+
self._checksum_sha1 = checksum_sha1
|
|
598
|
+
|
|
599
|
+
@property
|
|
600
|
+
def checksum_sha256(self):
|
|
601
|
+
"""Gets the checksum_sha256 of this PackageDetail.
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
:return: The checksum_sha256 of this PackageDetail.
|
|
605
|
+
:rtype: str
|
|
606
|
+
"""
|
|
607
|
+
return self._checksum_sha256
|
|
608
|
+
|
|
609
|
+
@checksum_sha256.setter
|
|
610
|
+
def checksum_sha256(self, checksum_sha256):
|
|
611
|
+
"""Sets the checksum_sha256 of this PackageDetail.
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
:param checksum_sha256: The checksum_sha256 of this PackageDetail.
|
|
615
|
+
:type: str
|
|
616
|
+
"""
|
|
617
|
+
|
|
618
|
+
self._checksum_sha256 = checksum_sha256
|
|
619
|
+
|
|
620
|
+
@property
|
|
621
|
+
def checksum_sha512(self):
|
|
622
|
+
"""Gets the checksum_sha512 of this PackageDetail.
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
:return: The checksum_sha512 of this PackageDetail.
|
|
626
|
+
:rtype: str
|
|
627
|
+
"""
|
|
628
|
+
return self._checksum_sha512
|
|
629
|
+
|
|
630
|
+
@checksum_sha512.setter
|
|
631
|
+
def checksum_sha512(self, checksum_sha512):
|
|
632
|
+
"""Sets the checksum_sha512 of this PackageDetail.
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
:param checksum_sha512: The checksum_sha512 of this PackageDetail.
|
|
636
|
+
:type: str
|
|
637
|
+
"""
|
|
638
|
+
|
|
639
|
+
self._checksum_sha512 = checksum_sha512
|
|
640
|
+
|
|
641
|
+
@property
|
|
642
|
+
def dependencies_checksum_md5(self):
|
|
643
|
+
"""Gets the dependencies_checksum_md5 of this PackageDetail.
|
|
644
|
+
|
|
645
|
+
A checksum of all of the package's dependencies.
|
|
646
|
+
|
|
647
|
+
:return: The dependencies_checksum_md5 of this PackageDetail.
|
|
648
|
+
:rtype: str
|
|
649
|
+
"""
|
|
650
|
+
return self._dependencies_checksum_md5
|
|
651
|
+
|
|
652
|
+
@dependencies_checksum_md5.setter
|
|
653
|
+
def dependencies_checksum_md5(self, dependencies_checksum_md5):
|
|
654
|
+
"""Sets the dependencies_checksum_md5 of this PackageDetail.
|
|
655
|
+
|
|
656
|
+
A checksum of all of the package's dependencies.
|
|
657
|
+
|
|
658
|
+
:param dependencies_checksum_md5: The dependencies_checksum_md5 of this PackageDetail.
|
|
659
|
+
:type: str
|
|
660
|
+
"""
|
|
661
|
+
|
|
662
|
+
self._dependencies_checksum_md5 = dependencies_checksum_md5
|
|
663
|
+
|
|
664
|
+
@property
|
|
665
|
+
def dependencies_url(self):
|
|
666
|
+
"""Gets the dependencies_url of this PackageDetail.
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
:return: The dependencies_url of this PackageDetail.
|
|
670
|
+
:rtype: str
|
|
671
|
+
"""
|
|
672
|
+
return self._dependencies_url
|
|
673
|
+
|
|
674
|
+
@dependencies_url.setter
|
|
675
|
+
def dependencies_url(self, dependencies_url):
|
|
676
|
+
"""Sets the dependencies_url of this PackageDetail.
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
:param dependencies_url: The dependencies_url of this PackageDetail.
|
|
680
|
+
:type: str
|
|
681
|
+
"""
|
|
682
|
+
|
|
683
|
+
self._dependencies_url = dependencies_url
|
|
684
|
+
|
|
685
|
+
@property
|
|
686
|
+
def description(self):
|
|
687
|
+
"""Gets the description of this PackageDetail.
|
|
688
|
+
|
|
689
|
+
A textual description of this package.
|
|
690
|
+
|
|
691
|
+
:return: The description of this PackageDetail.
|
|
692
|
+
:rtype: str
|
|
693
|
+
"""
|
|
694
|
+
return self._description
|
|
695
|
+
|
|
696
|
+
@description.setter
|
|
697
|
+
def description(self, description):
|
|
698
|
+
"""Sets the description of this PackageDetail.
|
|
699
|
+
|
|
700
|
+
A textual description of this package.
|
|
701
|
+
|
|
702
|
+
:param description: The description of this PackageDetail.
|
|
703
|
+
:type: str
|
|
704
|
+
"""
|
|
705
|
+
|
|
706
|
+
self._description = description
|
|
707
|
+
|
|
708
|
+
@property
|
|
709
|
+
def display_name(self):
|
|
710
|
+
"""Gets the display_name of this PackageDetail.
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
:return: The display_name of this PackageDetail.
|
|
714
|
+
:rtype: str
|
|
715
|
+
"""
|
|
716
|
+
return self._display_name
|
|
717
|
+
|
|
718
|
+
@display_name.setter
|
|
719
|
+
def display_name(self, display_name):
|
|
720
|
+
"""Sets the display_name of this PackageDetail.
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
:param display_name: The display_name of this PackageDetail.
|
|
724
|
+
:type: str
|
|
725
|
+
"""
|
|
726
|
+
|
|
727
|
+
self._display_name = display_name
|
|
728
|
+
|
|
729
|
+
@property
|
|
730
|
+
def distro(self):
|
|
731
|
+
"""Gets the distro of this PackageDetail.
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
:return: The distro of this PackageDetail.
|
|
735
|
+
:rtype: Distribution
|
|
736
|
+
"""
|
|
737
|
+
return self._distro
|
|
738
|
+
|
|
739
|
+
@distro.setter
|
|
740
|
+
def distro(self, distro):
|
|
741
|
+
"""Sets the distro of this PackageDetail.
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
:param distro: The distro of this PackageDetail.
|
|
745
|
+
:type: Distribution
|
|
746
|
+
"""
|
|
747
|
+
|
|
748
|
+
self._distro = distro
|
|
749
|
+
|
|
750
|
+
@property
|
|
751
|
+
def distro_version(self):
|
|
752
|
+
"""Gets the distro_version of this PackageDetail.
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
:return: The distro_version of this PackageDetail.
|
|
756
|
+
:rtype: DistributionVersion
|
|
757
|
+
"""
|
|
758
|
+
return self._distro_version
|
|
759
|
+
|
|
760
|
+
@distro_version.setter
|
|
761
|
+
def distro_version(self, distro_version):
|
|
762
|
+
"""Sets the distro_version of this PackageDetail.
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
:param distro_version: The distro_version of this PackageDetail.
|
|
766
|
+
:type: DistributionVersion
|
|
767
|
+
"""
|
|
768
|
+
|
|
769
|
+
self._distro_version = distro_version
|
|
770
|
+
|
|
771
|
+
@property
|
|
772
|
+
def downloads(self):
|
|
773
|
+
"""Gets the downloads of this PackageDetail.
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
:return: The downloads of this PackageDetail.
|
|
777
|
+
:rtype: int
|
|
778
|
+
"""
|
|
779
|
+
return self._downloads
|
|
780
|
+
|
|
781
|
+
@downloads.setter
|
|
782
|
+
def downloads(self, downloads):
|
|
783
|
+
"""Sets the downloads of this PackageDetail.
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
:param downloads: The downloads of this PackageDetail.
|
|
787
|
+
:type: int
|
|
788
|
+
"""
|
|
789
|
+
|
|
790
|
+
self._downloads = downloads
|
|
791
|
+
|
|
792
|
+
@property
|
|
793
|
+
def epoch(self):
|
|
794
|
+
"""Gets the epoch of this PackageDetail.
|
|
795
|
+
|
|
796
|
+
The epoch of the package version (if any).
|
|
797
|
+
|
|
798
|
+
:return: The epoch of this PackageDetail.
|
|
799
|
+
:rtype: int
|
|
800
|
+
"""
|
|
801
|
+
return self._epoch
|
|
802
|
+
|
|
803
|
+
@epoch.setter
|
|
804
|
+
def epoch(self, epoch):
|
|
805
|
+
"""Sets the epoch of this PackageDetail.
|
|
806
|
+
|
|
807
|
+
The epoch of the package version (if any).
|
|
808
|
+
|
|
809
|
+
:param epoch: The epoch of this PackageDetail.
|
|
810
|
+
:type: int
|
|
811
|
+
"""
|
|
812
|
+
|
|
813
|
+
self._epoch = epoch
|
|
814
|
+
|
|
815
|
+
@property
|
|
816
|
+
def extension(self):
|
|
817
|
+
"""Gets the extension of this PackageDetail.
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
:return: The extension of this PackageDetail.
|
|
821
|
+
:rtype: str
|
|
822
|
+
"""
|
|
823
|
+
return self._extension
|
|
824
|
+
|
|
825
|
+
@extension.setter
|
|
826
|
+
def extension(self, extension):
|
|
827
|
+
"""Sets the extension of this PackageDetail.
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
:param extension: The extension of this PackageDetail.
|
|
831
|
+
:type: str
|
|
832
|
+
"""
|
|
833
|
+
|
|
834
|
+
self._extension = extension
|
|
835
|
+
|
|
836
|
+
@property
|
|
837
|
+
def filename(self):
|
|
838
|
+
"""Gets the filename of this PackageDetail.
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
:return: The filename of this PackageDetail.
|
|
842
|
+
:rtype: str
|
|
843
|
+
"""
|
|
844
|
+
return self._filename
|
|
845
|
+
|
|
846
|
+
@filename.setter
|
|
847
|
+
def filename(self, filename):
|
|
848
|
+
"""Sets the filename of this PackageDetail.
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
:param filename: The filename of this PackageDetail.
|
|
852
|
+
:type: str
|
|
853
|
+
"""
|
|
854
|
+
if (self._configuration.client_side_validation and
|
|
855
|
+
filename is not None and len(filename) < 1):
|
|
856
|
+
raise ValueError("Invalid value for `filename`, length must be greater than or equal to `1`") # noqa: E501
|
|
857
|
+
|
|
858
|
+
self._filename = filename
|
|
859
|
+
|
|
860
|
+
@property
|
|
861
|
+
def filepath(self):
|
|
862
|
+
"""Gets the filepath of this PackageDetail.
|
|
863
|
+
|
|
864
|
+
Full path to the file, including filename e.g. bin/utils/tool.tar.gz
|
|
865
|
+
|
|
866
|
+
:return: The filepath of this PackageDetail.
|
|
867
|
+
:rtype: str
|
|
868
|
+
"""
|
|
869
|
+
return self._filepath
|
|
870
|
+
|
|
871
|
+
@filepath.setter
|
|
872
|
+
def filepath(self, filepath):
|
|
873
|
+
"""Sets the filepath of this PackageDetail.
|
|
874
|
+
|
|
875
|
+
Full path to the file, including filename e.g. bin/utils/tool.tar.gz
|
|
876
|
+
|
|
877
|
+
:param filepath: The filepath of this PackageDetail.
|
|
878
|
+
:type: str
|
|
879
|
+
"""
|
|
880
|
+
if (self._configuration.client_side_validation and
|
|
881
|
+
filepath is not None and len(filepath) < 1):
|
|
882
|
+
raise ValueError("Invalid value for `filepath`, length must be greater than or equal to `1`") # noqa: E501
|
|
883
|
+
|
|
884
|
+
self._filepath = filepath
|
|
885
|
+
|
|
886
|
+
@property
|
|
887
|
+
def files(self):
|
|
888
|
+
"""Gets the files of this PackageDetail.
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
:return: The files of this PackageDetail.
|
|
892
|
+
:rtype: list[PackageFile]
|
|
893
|
+
"""
|
|
894
|
+
return self._files
|
|
895
|
+
|
|
896
|
+
@files.setter
|
|
897
|
+
def files(self, files):
|
|
898
|
+
"""Sets the files of this PackageDetail.
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
:param files: The files of this PackageDetail.
|
|
902
|
+
:type: list[PackageFile]
|
|
903
|
+
"""
|
|
904
|
+
|
|
905
|
+
self._files = files
|
|
906
|
+
|
|
907
|
+
@property
|
|
908
|
+
def format(self):
|
|
909
|
+
"""Gets the format of this PackageDetail.
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
:return: The format of this PackageDetail.
|
|
913
|
+
:rtype: str
|
|
914
|
+
"""
|
|
915
|
+
return self._format
|
|
916
|
+
|
|
917
|
+
@format.setter
|
|
918
|
+
def format(self, format):
|
|
919
|
+
"""Sets the format of this PackageDetail.
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
:param format: The format of this PackageDetail.
|
|
923
|
+
:type: str
|
|
924
|
+
"""
|
|
925
|
+
if (self._configuration.client_side_validation and
|
|
926
|
+
format is not None and len(format) < 1):
|
|
927
|
+
raise ValueError("Invalid value for `format`, length must be greater than or equal to `1`") # noqa: E501
|
|
928
|
+
|
|
929
|
+
self._format = format
|
|
930
|
+
|
|
931
|
+
@property
|
|
932
|
+
def format_url(self):
|
|
933
|
+
"""Gets the format_url of this PackageDetail.
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
:return: The format_url of this PackageDetail.
|
|
937
|
+
:rtype: str
|
|
938
|
+
"""
|
|
939
|
+
return self._format_url
|
|
940
|
+
|
|
941
|
+
@format_url.setter
|
|
942
|
+
def format_url(self, format_url):
|
|
943
|
+
"""Sets the format_url of this PackageDetail.
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
:param format_url: The format_url of this PackageDetail.
|
|
947
|
+
:type: str
|
|
948
|
+
"""
|
|
949
|
+
|
|
950
|
+
self._format_url = format_url
|
|
951
|
+
|
|
952
|
+
@property
|
|
953
|
+
def freeable_storage(self):
|
|
954
|
+
"""Gets the freeable_storage of this PackageDetail.
|
|
955
|
+
|
|
956
|
+
Amount of storage that will be freed if this package is deleted
|
|
957
|
+
|
|
958
|
+
:return: The freeable_storage of this PackageDetail.
|
|
959
|
+
:rtype: int
|
|
960
|
+
"""
|
|
961
|
+
return self._freeable_storage
|
|
962
|
+
|
|
963
|
+
@freeable_storage.setter
|
|
964
|
+
def freeable_storage(self, freeable_storage):
|
|
965
|
+
"""Sets the freeable_storage of this PackageDetail.
|
|
966
|
+
|
|
967
|
+
Amount of storage that will be freed if this package is deleted
|
|
968
|
+
|
|
969
|
+
:param freeable_storage: The freeable_storage of this PackageDetail.
|
|
970
|
+
:type: int
|
|
971
|
+
"""
|
|
972
|
+
|
|
973
|
+
self._freeable_storage = freeable_storage
|
|
974
|
+
|
|
975
|
+
@property
|
|
976
|
+
def fully_qualified_name(self):
|
|
977
|
+
"""Gets the fully_qualified_name of this PackageDetail.
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
:return: The fully_qualified_name of this PackageDetail.
|
|
981
|
+
:rtype: str
|
|
982
|
+
"""
|
|
983
|
+
return self._fully_qualified_name
|
|
984
|
+
|
|
985
|
+
@fully_qualified_name.setter
|
|
986
|
+
def fully_qualified_name(self, fully_qualified_name):
|
|
987
|
+
"""Sets the fully_qualified_name of this PackageDetail.
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
:param fully_qualified_name: The fully_qualified_name of this PackageDetail.
|
|
991
|
+
:type: str
|
|
992
|
+
"""
|
|
993
|
+
if (self._configuration.client_side_validation and
|
|
994
|
+
fully_qualified_name is not None and len(fully_qualified_name) < 1):
|
|
995
|
+
raise ValueError("Invalid value for `fully_qualified_name`, length must be greater than or equal to `1`") # noqa: E501
|
|
996
|
+
|
|
997
|
+
self._fully_qualified_name = fully_qualified_name
|
|
998
|
+
|
|
999
|
+
@property
|
|
1000
|
+
def has_dependencies(self):
|
|
1001
|
+
"""Gets the has_dependencies of this PackageDetail.
|
|
1002
|
+
|
|
1003
|
+
Whether the package has any dependencies (top-level or from its SBOM).
|
|
1004
|
+
|
|
1005
|
+
:return: The has_dependencies of this PackageDetail.
|
|
1006
|
+
:rtype: bool
|
|
1007
|
+
"""
|
|
1008
|
+
return self._has_dependencies
|
|
1009
|
+
|
|
1010
|
+
@has_dependencies.setter
|
|
1011
|
+
def has_dependencies(self, has_dependencies):
|
|
1012
|
+
"""Sets the has_dependencies of this PackageDetail.
|
|
1013
|
+
|
|
1014
|
+
Whether the package has any dependencies (top-level or from its SBOM).
|
|
1015
|
+
|
|
1016
|
+
:param has_dependencies: The has_dependencies of this PackageDetail.
|
|
1017
|
+
:type: bool
|
|
1018
|
+
"""
|
|
1019
|
+
|
|
1020
|
+
self._has_dependencies = has_dependencies
|
|
1021
|
+
|
|
1022
|
+
@property
|
|
1023
|
+
def identifier_perm(self):
|
|
1024
|
+
"""Gets the identifier_perm of this PackageDetail.
|
|
1025
|
+
|
|
1026
|
+
Unique and permanent identifier for the package.
|
|
1027
|
+
|
|
1028
|
+
:return: The identifier_perm of this PackageDetail.
|
|
1029
|
+
:rtype: str
|
|
1030
|
+
"""
|
|
1031
|
+
return self._identifier_perm
|
|
1032
|
+
|
|
1033
|
+
@identifier_perm.setter
|
|
1034
|
+
def identifier_perm(self, identifier_perm):
|
|
1035
|
+
"""Sets the identifier_perm of this PackageDetail.
|
|
1036
|
+
|
|
1037
|
+
Unique and permanent identifier for the package.
|
|
1038
|
+
|
|
1039
|
+
:param identifier_perm: The identifier_perm of this PackageDetail.
|
|
1040
|
+
:type: str
|
|
1041
|
+
"""
|
|
1042
|
+
if (self._configuration.client_side_validation and
|
|
1043
|
+
identifier_perm is not None and len(identifier_perm) < 1):
|
|
1044
|
+
raise ValueError("Invalid value for `identifier_perm`, length must be greater than or equal to `1`") # noqa: E501
|
|
1045
|
+
|
|
1046
|
+
self._identifier_perm = identifier_perm
|
|
1047
|
+
|
|
1048
|
+
@property
|
|
1049
|
+
def identifiers(self):
|
|
1050
|
+
"""Gets the identifiers of this PackageDetail.
|
|
1051
|
+
|
|
1052
|
+
Return a map of identifier field names and their values.
|
|
1053
|
+
|
|
1054
|
+
:return: The identifiers of this PackageDetail.
|
|
1055
|
+
:rtype: dict(str, str)
|
|
1056
|
+
"""
|
|
1057
|
+
return self._identifiers
|
|
1058
|
+
|
|
1059
|
+
@identifiers.setter
|
|
1060
|
+
def identifiers(self, identifiers):
|
|
1061
|
+
"""Sets the identifiers of this PackageDetail.
|
|
1062
|
+
|
|
1063
|
+
Return a map of identifier field names and their values.
|
|
1064
|
+
|
|
1065
|
+
:param identifiers: The identifiers of this PackageDetail.
|
|
1066
|
+
:type: dict(str, str)
|
|
1067
|
+
"""
|
|
1068
|
+
|
|
1069
|
+
self._identifiers = identifiers
|
|
1070
|
+
|
|
1071
|
+
@property
|
|
1072
|
+
def indexed(self):
|
|
1073
|
+
"""Gets the indexed of this PackageDetail.
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
:return: The indexed of this PackageDetail.
|
|
1077
|
+
:rtype: bool
|
|
1078
|
+
"""
|
|
1079
|
+
return self._indexed
|
|
1080
|
+
|
|
1081
|
+
@indexed.setter
|
|
1082
|
+
def indexed(self, indexed):
|
|
1083
|
+
"""Sets the indexed of this PackageDetail.
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
:param indexed: The indexed of this PackageDetail.
|
|
1087
|
+
:type: bool
|
|
1088
|
+
"""
|
|
1089
|
+
|
|
1090
|
+
self._indexed = indexed
|
|
1091
|
+
|
|
1092
|
+
@property
|
|
1093
|
+
def is_cancellable(self):
|
|
1094
|
+
"""Gets the is_cancellable of this PackageDetail.
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
:return: The is_cancellable of this PackageDetail.
|
|
1098
|
+
:rtype: bool
|
|
1099
|
+
"""
|
|
1100
|
+
return self._is_cancellable
|
|
1101
|
+
|
|
1102
|
+
@is_cancellable.setter
|
|
1103
|
+
def is_cancellable(self, is_cancellable):
|
|
1104
|
+
"""Sets the is_cancellable of this PackageDetail.
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
:param is_cancellable: The is_cancellable of this PackageDetail.
|
|
1108
|
+
:type: bool
|
|
1109
|
+
"""
|
|
1110
|
+
|
|
1111
|
+
self._is_cancellable = is_cancellable
|
|
1112
|
+
|
|
1113
|
+
@property
|
|
1114
|
+
def is_copyable(self):
|
|
1115
|
+
"""Gets the is_copyable of this PackageDetail.
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
:return: The is_copyable of this PackageDetail.
|
|
1119
|
+
:rtype: bool
|
|
1120
|
+
"""
|
|
1121
|
+
return self._is_copyable
|
|
1122
|
+
|
|
1123
|
+
@is_copyable.setter
|
|
1124
|
+
def is_copyable(self, is_copyable):
|
|
1125
|
+
"""Sets the is_copyable of this PackageDetail.
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
:param is_copyable: The is_copyable of this PackageDetail.
|
|
1129
|
+
:type: bool
|
|
1130
|
+
"""
|
|
1131
|
+
|
|
1132
|
+
self._is_copyable = is_copyable
|
|
1133
|
+
|
|
1134
|
+
@property
|
|
1135
|
+
def is_deleteable(self):
|
|
1136
|
+
"""Gets the is_deleteable of this PackageDetail.
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
:return: The is_deleteable of this PackageDetail.
|
|
1140
|
+
:rtype: bool
|
|
1141
|
+
"""
|
|
1142
|
+
return self._is_deleteable
|
|
1143
|
+
|
|
1144
|
+
@is_deleteable.setter
|
|
1145
|
+
def is_deleteable(self, is_deleteable):
|
|
1146
|
+
"""Sets the is_deleteable of this PackageDetail.
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
:param is_deleteable: The is_deleteable of this PackageDetail.
|
|
1150
|
+
:type: bool
|
|
1151
|
+
"""
|
|
1152
|
+
|
|
1153
|
+
self._is_deleteable = is_deleteable
|
|
1154
|
+
|
|
1155
|
+
@property
|
|
1156
|
+
def is_downloadable(self):
|
|
1157
|
+
"""Gets the is_downloadable of this PackageDetail.
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
:return: The is_downloadable of this PackageDetail.
|
|
1161
|
+
:rtype: bool
|
|
1162
|
+
"""
|
|
1163
|
+
return self._is_downloadable
|
|
1164
|
+
|
|
1165
|
+
@is_downloadable.setter
|
|
1166
|
+
def is_downloadable(self, is_downloadable):
|
|
1167
|
+
"""Sets the is_downloadable of this PackageDetail.
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
:param is_downloadable: The is_downloadable of this PackageDetail.
|
|
1171
|
+
:type: bool
|
|
1172
|
+
"""
|
|
1173
|
+
|
|
1174
|
+
self._is_downloadable = is_downloadable
|
|
1175
|
+
|
|
1176
|
+
@property
|
|
1177
|
+
def is_hidden(self):
|
|
1178
|
+
"""Gets the is_hidden of this PackageDetail.
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
:return: The is_hidden of this PackageDetail.
|
|
1182
|
+
:rtype: bool
|
|
1183
|
+
"""
|
|
1184
|
+
return self._is_hidden
|
|
1185
|
+
|
|
1186
|
+
@is_hidden.setter
|
|
1187
|
+
def is_hidden(self, is_hidden):
|
|
1188
|
+
"""Sets the is_hidden of this PackageDetail.
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
:param is_hidden: The is_hidden of this PackageDetail.
|
|
1192
|
+
:type: bool
|
|
1193
|
+
"""
|
|
1194
|
+
|
|
1195
|
+
self._is_hidden = is_hidden
|
|
1196
|
+
|
|
1197
|
+
@property
|
|
1198
|
+
def is_malware_detected(self):
|
|
1199
|
+
"""Gets the is_malware_detected of this PackageDetail.
|
|
1200
|
+
|
|
1201
|
+
Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
1202
|
+
|
|
1203
|
+
:return: The is_malware_detected of this PackageDetail.
|
|
1204
|
+
:rtype: bool
|
|
1205
|
+
"""
|
|
1206
|
+
return self._is_malware_detected
|
|
1207
|
+
|
|
1208
|
+
@is_malware_detected.setter
|
|
1209
|
+
def is_malware_detected(self, is_malware_detected):
|
|
1210
|
+
"""Sets the is_malware_detected of this PackageDetail.
|
|
1211
|
+
|
|
1212
|
+
Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
1213
|
+
|
|
1214
|
+
:param is_malware_detected: The is_malware_detected of this PackageDetail.
|
|
1215
|
+
:type: bool
|
|
1216
|
+
"""
|
|
1217
|
+
|
|
1218
|
+
self._is_malware_detected = is_malware_detected
|
|
1219
|
+
|
|
1220
|
+
@property
|
|
1221
|
+
def is_moveable(self):
|
|
1222
|
+
"""Gets the is_moveable of this PackageDetail.
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
:return: The is_moveable of this PackageDetail.
|
|
1226
|
+
:rtype: bool
|
|
1227
|
+
"""
|
|
1228
|
+
return self._is_moveable
|
|
1229
|
+
|
|
1230
|
+
@is_moveable.setter
|
|
1231
|
+
def is_moveable(self, is_moveable):
|
|
1232
|
+
"""Sets the is_moveable of this PackageDetail.
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
:param is_moveable: The is_moveable of this PackageDetail.
|
|
1236
|
+
:type: bool
|
|
1237
|
+
"""
|
|
1238
|
+
|
|
1239
|
+
self._is_moveable = is_moveable
|
|
1240
|
+
|
|
1241
|
+
@property
|
|
1242
|
+
def is_quarantinable(self):
|
|
1243
|
+
"""Gets the is_quarantinable of this PackageDetail.
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
:return: The is_quarantinable of this PackageDetail.
|
|
1247
|
+
:rtype: bool
|
|
1248
|
+
"""
|
|
1249
|
+
return self._is_quarantinable
|
|
1250
|
+
|
|
1251
|
+
@is_quarantinable.setter
|
|
1252
|
+
def is_quarantinable(self, is_quarantinable):
|
|
1253
|
+
"""Sets the is_quarantinable of this PackageDetail.
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
:param is_quarantinable: The is_quarantinable of this PackageDetail.
|
|
1257
|
+
:type: bool
|
|
1258
|
+
"""
|
|
1259
|
+
|
|
1260
|
+
self._is_quarantinable = is_quarantinable
|
|
1261
|
+
|
|
1262
|
+
@property
|
|
1263
|
+
def is_quarantined(self):
|
|
1264
|
+
"""Gets the is_quarantined of this PackageDetail.
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
:return: The is_quarantined of this PackageDetail.
|
|
1268
|
+
:rtype: bool
|
|
1269
|
+
"""
|
|
1270
|
+
return self._is_quarantined
|
|
1271
|
+
|
|
1272
|
+
@is_quarantined.setter
|
|
1273
|
+
def is_quarantined(self, is_quarantined):
|
|
1274
|
+
"""Sets the is_quarantined of this PackageDetail.
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
:param is_quarantined: The is_quarantined of this PackageDetail.
|
|
1278
|
+
:type: bool
|
|
1279
|
+
"""
|
|
1280
|
+
|
|
1281
|
+
self._is_quarantined = is_quarantined
|
|
1282
|
+
|
|
1283
|
+
@property
|
|
1284
|
+
def is_resyncable(self):
|
|
1285
|
+
"""Gets the is_resyncable of this PackageDetail.
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
:return: The is_resyncable of this PackageDetail.
|
|
1289
|
+
:rtype: bool
|
|
1290
|
+
"""
|
|
1291
|
+
return self._is_resyncable
|
|
1292
|
+
|
|
1293
|
+
@is_resyncable.setter
|
|
1294
|
+
def is_resyncable(self, is_resyncable):
|
|
1295
|
+
"""Sets the is_resyncable of this PackageDetail.
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
:param is_resyncable: The is_resyncable of this PackageDetail.
|
|
1299
|
+
:type: bool
|
|
1300
|
+
"""
|
|
1301
|
+
|
|
1302
|
+
self._is_resyncable = is_resyncable
|
|
1303
|
+
|
|
1304
|
+
@property
|
|
1305
|
+
def is_security_scannable(self):
|
|
1306
|
+
"""Gets the is_security_scannable of this PackageDetail.
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
:return: The is_security_scannable of this PackageDetail.
|
|
1310
|
+
:rtype: bool
|
|
1311
|
+
"""
|
|
1312
|
+
return self._is_security_scannable
|
|
1313
|
+
|
|
1314
|
+
@is_security_scannable.setter
|
|
1315
|
+
def is_security_scannable(self, is_security_scannable):
|
|
1316
|
+
"""Sets the is_security_scannable of this PackageDetail.
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
:param is_security_scannable: The is_security_scannable of this PackageDetail.
|
|
1320
|
+
:type: bool
|
|
1321
|
+
"""
|
|
1322
|
+
|
|
1323
|
+
self._is_security_scannable = is_security_scannable
|
|
1324
|
+
|
|
1325
|
+
@property
|
|
1326
|
+
def is_sync_awaiting(self):
|
|
1327
|
+
"""Gets the is_sync_awaiting of this PackageDetail.
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
:return: The is_sync_awaiting of this PackageDetail.
|
|
1331
|
+
:rtype: bool
|
|
1332
|
+
"""
|
|
1333
|
+
return self._is_sync_awaiting
|
|
1334
|
+
|
|
1335
|
+
@is_sync_awaiting.setter
|
|
1336
|
+
def is_sync_awaiting(self, is_sync_awaiting):
|
|
1337
|
+
"""Sets the is_sync_awaiting of this PackageDetail.
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
:param is_sync_awaiting: The is_sync_awaiting of this PackageDetail.
|
|
1341
|
+
:type: bool
|
|
1342
|
+
"""
|
|
1343
|
+
|
|
1344
|
+
self._is_sync_awaiting = is_sync_awaiting
|
|
1345
|
+
|
|
1346
|
+
@property
|
|
1347
|
+
def is_sync_completed(self):
|
|
1348
|
+
"""Gets the is_sync_completed of this PackageDetail.
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
:return: The is_sync_completed of this PackageDetail.
|
|
1352
|
+
:rtype: bool
|
|
1353
|
+
"""
|
|
1354
|
+
return self._is_sync_completed
|
|
1355
|
+
|
|
1356
|
+
@is_sync_completed.setter
|
|
1357
|
+
def is_sync_completed(self, is_sync_completed):
|
|
1358
|
+
"""Sets the is_sync_completed of this PackageDetail.
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
:param is_sync_completed: The is_sync_completed of this PackageDetail.
|
|
1362
|
+
:type: bool
|
|
1363
|
+
"""
|
|
1364
|
+
|
|
1365
|
+
self._is_sync_completed = is_sync_completed
|
|
1366
|
+
|
|
1367
|
+
@property
|
|
1368
|
+
def is_sync_failed(self):
|
|
1369
|
+
"""Gets the is_sync_failed of this PackageDetail.
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
:return: The is_sync_failed of this PackageDetail.
|
|
1373
|
+
:rtype: bool
|
|
1374
|
+
"""
|
|
1375
|
+
return self._is_sync_failed
|
|
1376
|
+
|
|
1377
|
+
@is_sync_failed.setter
|
|
1378
|
+
def is_sync_failed(self, is_sync_failed):
|
|
1379
|
+
"""Sets the is_sync_failed of this PackageDetail.
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
:param is_sync_failed: The is_sync_failed of this PackageDetail.
|
|
1383
|
+
:type: bool
|
|
1384
|
+
"""
|
|
1385
|
+
|
|
1386
|
+
self._is_sync_failed = is_sync_failed
|
|
1387
|
+
|
|
1388
|
+
@property
|
|
1389
|
+
def is_sync_in_flight(self):
|
|
1390
|
+
"""Gets the is_sync_in_flight of this PackageDetail.
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
:return: The is_sync_in_flight of this PackageDetail.
|
|
1394
|
+
:rtype: bool
|
|
1395
|
+
"""
|
|
1396
|
+
return self._is_sync_in_flight
|
|
1397
|
+
|
|
1398
|
+
@is_sync_in_flight.setter
|
|
1399
|
+
def is_sync_in_flight(self, is_sync_in_flight):
|
|
1400
|
+
"""Sets the is_sync_in_flight of this PackageDetail.
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
:param is_sync_in_flight: The is_sync_in_flight of this PackageDetail.
|
|
1404
|
+
:type: bool
|
|
1405
|
+
"""
|
|
1406
|
+
|
|
1407
|
+
self._is_sync_in_flight = is_sync_in_flight
|
|
1408
|
+
|
|
1409
|
+
@property
|
|
1410
|
+
def is_sync_in_progress(self):
|
|
1411
|
+
"""Gets the is_sync_in_progress of this PackageDetail.
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
:return: The is_sync_in_progress of this PackageDetail.
|
|
1415
|
+
:rtype: bool
|
|
1416
|
+
"""
|
|
1417
|
+
return self._is_sync_in_progress
|
|
1418
|
+
|
|
1419
|
+
@is_sync_in_progress.setter
|
|
1420
|
+
def is_sync_in_progress(self, is_sync_in_progress):
|
|
1421
|
+
"""Sets the is_sync_in_progress of this PackageDetail.
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
:param is_sync_in_progress: The is_sync_in_progress of this PackageDetail.
|
|
1425
|
+
:type: bool
|
|
1426
|
+
"""
|
|
1427
|
+
|
|
1428
|
+
self._is_sync_in_progress = is_sync_in_progress
|
|
1429
|
+
|
|
1430
|
+
@property
|
|
1431
|
+
def license(self):
|
|
1432
|
+
"""Gets the license of this PackageDetail.
|
|
1433
|
+
|
|
1434
|
+
The license of this package.
|
|
1435
|
+
|
|
1436
|
+
:return: The license of this PackageDetail.
|
|
1437
|
+
:rtype: str
|
|
1438
|
+
"""
|
|
1439
|
+
return self._license
|
|
1440
|
+
|
|
1441
|
+
@license.setter
|
|
1442
|
+
def license(self, license):
|
|
1443
|
+
"""Sets the license of this PackageDetail.
|
|
1444
|
+
|
|
1445
|
+
The license of this package.
|
|
1446
|
+
|
|
1447
|
+
:param license: The license of this PackageDetail.
|
|
1448
|
+
:type: str
|
|
1449
|
+
"""
|
|
1450
|
+
|
|
1451
|
+
self._license = license
|
|
1452
|
+
|
|
1453
|
+
@property
|
|
1454
|
+
def name(self):
|
|
1455
|
+
"""Gets the name of this PackageDetail.
|
|
1456
|
+
|
|
1457
|
+
The name of this package.
|
|
1458
|
+
|
|
1459
|
+
:return: The name of this PackageDetail.
|
|
1460
|
+
:rtype: str
|
|
1461
|
+
"""
|
|
1462
|
+
return self._name
|
|
1463
|
+
|
|
1464
|
+
@name.setter
|
|
1465
|
+
def name(self, name):
|
|
1466
|
+
"""Sets the name of this PackageDetail.
|
|
1467
|
+
|
|
1468
|
+
The name of this package.
|
|
1469
|
+
|
|
1470
|
+
:param name: The name of this PackageDetail.
|
|
1471
|
+
:type: str
|
|
1472
|
+
"""
|
|
1473
|
+
|
|
1474
|
+
self._name = name
|
|
1475
|
+
|
|
1476
|
+
@property
|
|
1477
|
+
def namespace(self):
|
|
1478
|
+
"""Gets the namespace of this PackageDetail.
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
:return: The namespace of this PackageDetail.
|
|
1482
|
+
:rtype: str
|
|
1483
|
+
"""
|
|
1484
|
+
return self._namespace
|
|
1485
|
+
|
|
1486
|
+
@namespace.setter
|
|
1487
|
+
def namespace(self, namespace):
|
|
1488
|
+
"""Sets the namespace of this PackageDetail.
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
:param namespace: The namespace of this PackageDetail.
|
|
1492
|
+
:type: str
|
|
1493
|
+
"""
|
|
1494
|
+
if (self._configuration.client_side_validation and
|
|
1495
|
+
namespace is not None and len(namespace) < 1):
|
|
1496
|
+
raise ValueError("Invalid value for `namespace`, length must be greater than or equal to `1`") # noqa: E501
|
|
1497
|
+
|
|
1498
|
+
self._namespace = namespace
|
|
1499
|
+
|
|
1500
|
+
@property
|
|
1501
|
+
def namespace_url(self):
|
|
1502
|
+
"""Gets the namespace_url of this PackageDetail.
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
:return: The namespace_url of this PackageDetail.
|
|
1506
|
+
:rtype: str
|
|
1507
|
+
"""
|
|
1508
|
+
return self._namespace_url
|
|
1509
|
+
|
|
1510
|
+
@namespace_url.setter
|
|
1511
|
+
def namespace_url(self, namespace_url):
|
|
1512
|
+
"""Sets the namespace_url of this PackageDetail.
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
:param namespace_url: The namespace_url of this PackageDetail.
|
|
1516
|
+
:type: str
|
|
1517
|
+
"""
|
|
1518
|
+
|
|
1519
|
+
self._namespace_url = namespace_url
|
|
1520
|
+
|
|
1521
|
+
@property
|
|
1522
|
+
def num_files(self):
|
|
1523
|
+
"""Gets the num_files of this PackageDetail.
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
:return: The num_files of this PackageDetail.
|
|
1527
|
+
:rtype: int
|
|
1528
|
+
"""
|
|
1529
|
+
return self._num_files
|
|
1530
|
+
|
|
1531
|
+
@num_files.setter
|
|
1532
|
+
def num_files(self, num_files):
|
|
1533
|
+
"""Sets the num_files of this PackageDetail.
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
:param num_files: The num_files of this PackageDetail.
|
|
1537
|
+
:type: int
|
|
1538
|
+
"""
|
|
1539
|
+
|
|
1540
|
+
self._num_files = num_files
|
|
1541
|
+
|
|
1542
|
+
@property
|
|
1543
|
+
def origin_repository(self):
|
|
1544
|
+
"""Gets the origin_repository of this PackageDetail.
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
:return: The origin_repository of this PackageDetail.
|
|
1548
|
+
:rtype: str
|
|
1549
|
+
"""
|
|
1550
|
+
return self._origin_repository
|
|
1551
|
+
|
|
1552
|
+
@origin_repository.setter
|
|
1553
|
+
def origin_repository(self, origin_repository):
|
|
1554
|
+
"""Sets the origin_repository of this PackageDetail.
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
:param origin_repository: The origin_repository of this PackageDetail.
|
|
1558
|
+
:type: str
|
|
1559
|
+
"""
|
|
1560
|
+
if (self._configuration.client_side_validation and
|
|
1561
|
+
origin_repository is not None and len(origin_repository) < 1):
|
|
1562
|
+
raise ValueError("Invalid value for `origin_repository`, length must be greater than or equal to `1`") # noqa: E501
|
|
1563
|
+
|
|
1564
|
+
self._origin_repository = origin_repository
|
|
1565
|
+
|
|
1566
|
+
@property
|
|
1567
|
+
def origin_repository_url(self):
|
|
1568
|
+
"""Gets the origin_repository_url of this PackageDetail.
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
:return: The origin_repository_url of this PackageDetail.
|
|
1572
|
+
:rtype: str
|
|
1573
|
+
"""
|
|
1574
|
+
return self._origin_repository_url
|
|
1575
|
+
|
|
1576
|
+
@origin_repository_url.setter
|
|
1577
|
+
def origin_repository_url(self, origin_repository_url):
|
|
1578
|
+
"""Sets the origin_repository_url of this PackageDetail.
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
:param origin_repository_url: The origin_repository_url of this PackageDetail.
|
|
1582
|
+
:type: str
|
|
1583
|
+
"""
|
|
1584
|
+
|
|
1585
|
+
self._origin_repository_url = origin_repository_url
|
|
1586
|
+
|
|
1587
|
+
@property
|
|
1588
|
+
def osi_approved(self):
|
|
1589
|
+
"""Gets the osi_approved of this PackageDetail.
|
|
1590
|
+
|
|
1591
|
+
Whether the package's SPDX license is OSI-approved.
|
|
1592
|
+
|
|
1593
|
+
:return: The osi_approved of this PackageDetail.
|
|
1594
|
+
:rtype: bool
|
|
1595
|
+
"""
|
|
1596
|
+
return self._osi_approved
|
|
1597
|
+
|
|
1598
|
+
@osi_approved.setter
|
|
1599
|
+
def osi_approved(self, osi_approved):
|
|
1600
|
+
"""Sets the osi_approved of this PackageDetail.
|
|
1601
|
+
|
|
1602
|
+
Whether the package's SPDX license is OSI-approved.
|
|
1603
|
+
|
|
1604
|
+
:param osi_approved: The osi_approved of this PackageDetail.
|
|
1605
|
+
:type: bool
|
|
1606
|
+
"""
|
|
1607
|
+
|
|
1608
|
+
self._osi_approved = osi_approved
|
|
1609
|
+
|
|
1610
|
+
@property
|
|
1611
|
+
def package_type(self):
|
|
1612
|
+
"""Gets the package_type of this PackageDetail.
|
|
1613
|
+
|
|
1614
|
+
The type of package contents.
|
|
1615
|
+
|
|
1616
|
+
:return: The package_type of this PackageDetail.
|
|
1617
|
+
:rtype: int
|
|
1618
|
+
"""
|
|
1619
|
+
return self._package_type
|
|
1620
|
+
|
|
1621
|
+
@package_type.setter
|
|
1622
|
+
def package_type(self, package_type):
|
|
1623
|
+
"""Sets the package_type of this PackageDetail.
|
|
1624
|
+
|
|
1625
|
+
The type of package contents.
|
|
1626
|
+
|
|
1627
|
+
:param package_type: The package_type of this PackageDetail.
|
|
1628
|
+
:type: int
|
|
1629
|
+
"""
|
|
1630
|
+
|
|
1631
|
+
self._package_type = package_type
|
|
1632
|
+
|
|
1633
|
+
@property
|
|
1634
|
+
def policy_violated(self):
|
|
1635
|
+
"""Gets the policy_violated of this PackageDetail.
|
|
1636
|
+
|
|
1637
|
+
Whether or not the package has violated any policy.
|
|
1638
|
+
|
|
1639
|
+
:return: The policy_violated of this PackageDetail.
|
|
1640
|
+
:rtype: bool
|
|
1641
|
+
"""
|
|
1642
|
+
return self._policy_violated
|
|
1643
|
+
|
|
1644
|
+
@policy_violated.setter
|
|
1645
|
+
def policy_violated(self, policy_violated):
|
|
1646
|
+
"""Sets the policy_violated of this PackageDetail.
|
|
1647
|
+
|
|
1648
|
+
Whether or not the package has violated any policy.
|
|
1649
|
+
|
|
1650
|
+
:param policy_violated: The policy_violated of this PackageDetail.
|
|
1651
|
+
:type: bool
|
|
1652
|
+
"""
|
|
1653
|
+
|
|
1654
|
+
self._policy_violated = policy_violated
|
|
1655
|
+
|
|
1656
|
+
@property
|
|
1657
|
+
def raw_license(self):
|
|
1658
|
+
"""Gets the raw_license of this PackageDetail.
|
|
1659
|
+
|
|
1660
|
+
The raw license string.
|
|
1661
|
+
|
|
1662
|
+
:return: The raw_license of this PackageDetail.
|
|
1663
|
+
:rtype: str
|
|
1664
|
+
"""
|
|
1665
|
+
return self._raw_license
|
|
1666
|
+
|
|
1667
|
+
@raw_license.setter
|
|
1668
|
+
def raw_license(self, raw_license):
|
|
1669
|
+
"""Sets the raw_license of this PackageDetail.
|
|
1670
|
+
|
|
1671
|
+
The raw license string.
|
|
1672
|
+
|
|
1673
|
+
:param raw_license: The raw_license of this PackageDetail.
|
|
1674
|
+
:type: str
|
|
1675
|
+
"""
|
|
1676
|
+
if (self._configuration.client_side_validation and
|
|
1677
|
+
raw_license is not None and len(raw_license) < 1):
|
|
1678
|
+
raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501
|
|
1679
|
+
|
|
1680
|
+
self._raw_license = raw_license
|
|
1681
|
+
|
|
1682
|
+
@property
|
|
1683
|
+
def release(self):
|
|
1684
|
+
"""Gets the release of this PackageDetail.
|
|
1685
|
+
|
|
1686
|
+
The release of the package version (if any).
|
|
1687
|
+
|
|
1688
|
+
:return: The release of this PackageDetail.
|
|
1689
|
+
:rtype: str
|
|
1690
|
+
"""
|
|
1691
|
+
return self._release
|
|
1692
|
+
|
|
1693
|
+
@release.setter
|
|
1694
|
+
def release(self, release):
|
|
1695
|
+
"""Sets the release of this PackageDetail.
|
|
1696
|
+
|
|
1697
|
+
The release of the package version (if any).
|
|
1698
|
+
|
|
1699
|
+
:param release: The release of this PackageDetail.
|
|
1700
|
+
:type: str
|
|
1701
|
+
"""
|
|
1702
|
+
|
|
1703
|
+
self._release = release
|
|
1704
|
+
|
|
1705
|
+
@property
|
|
1706
|
+
def repository(self):
|
|
1707
|
+
"""Gets the repository of this PackageDetail.
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
:return: The repository of this PackageDetail.
|
|
1711
|
+
:rtype: str
|
|
1712
|
+
"""
|
|
1713
|
+
return self._repository
|
|
1714
|
+
|
|
1715
|
+
@repository.setter
|
|
1716
|
+
def repository(self, repository):
|
|
1717
|
+
"""Sets the repository of this PackageDetail.
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
:param repository: The repository of this PackageDetail.
|
|
1721
|
+
:type: str
|
|
1722
|
+
"""
|
|
1723
|
+
if (self._configuration.client_side_validation and
|
|
1724
|
+
repository is not None and len(repository) < 1):
|
|
1725
|
+
raise ValueError("Invalid value for `repository`, length must be greater than or equal to `1`") # noqa: E501
|
|
1726
|
+
|
|
1727
|
+
self._repository = repository
|
|
1728
|
+
|
|
1729
|
+
@property
|
|
1730
|
+
def repository_url(self):
|
|
1731
|
+
"""Gets the repository_url of this PackageDetail.
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
:return: The repository_url of this PackageDetail.
|
|
1735
|
+
:rtype: str
|
|
1736
|
+
"""
|
|
1737
|
+
return self._repository_url
|
|
1738
|
+
|
|
1739
|
+
@repository_url.setter
|
|
1740
|
+
def repository_url(self, repository_url):
|
|
1741
|
+
"""Sets the repository_url of this PackageDetail.
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
:param repository_url: The repository_url of this PackageDetail.
|
|
1745
|
+
:type: str
|
|
1746
|
+
"""
|
|
1747
|
+
|
|
1748
|
+
self._repository_url = repository_url
|
|
1749
|
+
|
|
1750
|
+
@property
|
|
1751
|
+
def security_scan_completed_at(self):
|
|
1752
|
+
"""Gets the security_scan_completed_at of this PackageDetail.
|
|
1753
|
+
|
|
1754
|
+
The datetime the security scanning was completed.
|
|
1755
|
+
|
|
1756
|
+
:return: The security_scan_completed_at of this PackageDetail.
|
|
1757
|
+
:rtype: datetime
|
|
1758
|
+
"""
|
|
1759
|
+
return self._security_scan_completed_at
|
|
1760
|
+
|
|
1761
|
+
@security_scan_completed_at.setter
|
|
1762
|
+
def security_scan_completed_at(self, security_scan_completed_at):
|
|
1763
|
+
"""Sets the security_scan_completed_at of this PackageDetail.
|
|
1764
|
+
|
|
1765
|
+
The datetime the security scanning was completed.
|
|
1766
|
+
|
|
1767
|
+
:param security_scan_completed_at: The security_scan_completed_at of this PackageDetail.
|
|
1768
|
+
:type: datetime
|
|
1769
|
+
"""
|
|
1770
|
+
|
|
1771
|
+
self._security_scan_completed_at = security_scan_completed_at
|
|
1772
|
+
|
|
1773
|
+
@property
|
|
1774
|
+
def security_scan_started_at(self):
|
|
1775
|
+
"""Gets the security_scan_started_at of this PackageDetail.
|
|
1776
|
+
|
|
1777
|
+
The datetime the security scanning was started.
|
|
1778
|
+
|
|
1779
|
+
:return: The security_scan_started_at of this PackageDetail.
|
|
1780
|
+
:rtype: datetime
|
|
1781
|
+
"""
|
|
1782
|
+
return self._security_scan_started_at
|
|
1783
|
+
|
|
1784
|
+
@security_scan_started_at.setter
|
|
1785
|
+
def security_scan_started_at(self, security_scan_started_at):
|
|
1786
|
+
"""Sets the security_scan_started_at of this PackageDetail.
|
|
1787
|
+
|
|
1788
|
+
The datetime the security scanning was started.
|
|
1789
|
+
|
|
1790
|
+
:param security_scan_started_at: The security_scan_started_at of this PackageDetail.
|
|
1791
|
+
:type: datetime
|
|
1792
|
+
"""
|
|
1793
|
+
|
|
1794
|
+
self._security_scan_started_at = security_scan_started_at
|
|
1795
|
+
|
|
1796
|
+
@property
|
|
1797
|
+
def security_scan_status(self):
|
|
1798
|
+
"""Gets the security_scan_status of this PackageDetail.
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
:return: The security_scan_status of this PackageDetail.
|
|
1802
|
+
:rtype: str
|
|
1803
|
+
"""
|
|
1804
|
+
return self._security_scan_status
|
|
1805
|
+
|
|
1806
|
+
@security_scan_status.setter
|
|
1807
|
+
def security_scan_status(self, security_scan_status):
|
|
1808
|
+
"""Sets the security_scan_status of this PackageDetail.
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
:param security_scan_status: The security_scan_status of this PackageDetail.
|
|
1812
|
+
:type: str
|
|
1813
|
+
"""
|
|
1814
|
+
allowed_values = ["Awaiting Security Scan", "Security Scanning in Progress", "Scan Detected Vulnerabilities", "Scan Detected No Vulnerabilities", "Security Scanning Disabled", "Security Scanning Failed", "Security Scanning Skipped", "Security Scanning Not Supported"] # noqa: E501
|
|
1815
|
+
if (self._configuration.client_side_validation and
|
|
1816
|
+
security_scan_status not in allowed_values):
|
|
1817
|
+
raise ValueError(
|
|
1818
|
+
"Invalid value for `security_scan_status` ({0}), must be one of {1}" # noqa: E501
|
|
1819
|
+
.format(security_scan_status, allowed_values)
|
|
1820
|
+
)
|
|
1821
|
+
|
|
1822
|
+
self._security_scan_status = security_scan_status
|
|
1823
|
+
|
|
1824
|
+
@property
|
|
1825
|
+
def security_scan_status_updated_at(self):
|
|
1826
|
+
"""Gets the security_scan_status_updated_at of this PackageDetail.
|
|
1827
|
+
|
|
1828
|
+
The datetime the security scanning status was updated.
|
|
1829
|
+
|
|
1830
|
+
:return: The security_scan_status_updated_at of this PackageDetail.
|
|
1831
|
+
:rtype: datetime
|
|
1832
|
+
"""
|
|
1833
|
+
return self._security_scan_status_updated_at
|
|
1834
|
+
|
|
1835
|
+
@security_scan_status_updated_at.setter
|
|
1836
|
+
def security_scan_status_updated_at(self, security_scan_status_updated_at):
|
|
1837
|
+
"""Sets the security_scan_status_updated_at of this PackageDetail.
|
|
1838
|
+
|
|
1839
|
+
The datetime the security scanning status was updated.
|
|
1840
|
+
|
|
1841
|
+
:param security_scan_status_updated_at: The security_scan_status_updated_at of this PackageDetail.
|
|
1842
|
+
:type: datetime
|
|
1843
|
+
"""
|
|
1844
|
+
|
|
1845
|
+
self._security_scan_status_updated_at = security_scan_status_updated_at
|
|
1846
|
+
|
|
1847
|
+
@property
|
|
1848
|
+
def self_html_url(self):
|
|
1849
|
+
"""Gets the self_html_url of this PackageDetail.
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
:return: The self_html_url of this PackageDetail.
|
|
1853
|
+
:rtype: str
|
|
1854
|
+
"""
|
|
1855
|
+
return self._self_html_url
|
|
1856
|
+
|
|
1857
|
+
@self_html_url.setter
|
|
1858
|
+
def self_html_url(self, self_html_url):
|
|
1859
|
+
"""Sets the self_html_url of this PackageDetail.
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
:param self_html_url: The self_html_url of this PackageDetail.
|
|
1863
|
+
:type: str
|
|
1864
|
+
"""
|
|
1865
|
+
if (self._configuration.client_side_validation and
|
|
1866
|
+
self_html_url is not None and len(self_html_url) < 1):
|
|
1867
|
+
raise ValueError("Invalid value for `self_html_url`, length must be greater than or equal to `1`") # noqa: E501
|
|
1868
|
+
|
|
1869
|
+
self._self_html_url = self_html_url
|
|
1870
|
+
|
|
1871
|
+
@property
|
|
1872
|
+
def self_url(self):
|
|
1873
|
+
"""Gets the self_url of this PackageDetail.
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
:return: The self_url of this PackageDetail.
|
|
1877
|
+
:rtype: str
|
|
1878
|
+
"""
|
|
1879
|
+
return self._self_url
|
|
1880
|
+
|
|
1881
|
+
@self_url.setter
|
|
1882
|
+
def self_url(self, self_url):
|
|
1883
|
+
"""Sets the self_url of this PackageDetail.
|
|
1884
|
+
|
|
1885
|
+
|
|
1886
|
+
:param self_url: The self_url of this PackageDetail.
|
|
1887
|
+
:type: str
|
|
1888
|
+
"""
|
|
1889
|
+
|
|
1890
|
+
self._self_url = self_url
|
|
1891
|
+
|
|
1892
|
+
@property
|
|
1893
|
+
def self_webapp_url(self):
|
|
1894
|
+
"""Gets the self_webapp_url of this PackageDetail.
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
:return: The self_webapp_url of this PackageDetail.
|
|
1898
|
+
:rtype: str
|
|
1899
|
+
"""
|
|
1900
|
+
return self._self_webapp_url
|
|
1901
|
+
|
|
1902
|
+
@self_webapp_url.setter
|
|
1903
|
+
def self_webapp_url(self, self_webapp_url):
|
|
1904
|
+
"""Sets the self_webapp_url of this PackageDetail.
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
:param self_webapp_url: The self_webapp_url of this PackageDetail.
|
|
1908
|
+
:type: str
|
|
1909
|
+
"""
|
|
1910
|
+
if (self._configuration.client_side_validation and
|
|
1911
|
+
self_webapp_url is not None and len(self_webapp_url) < 1):
|
|
1912
|
+
raise ValueError("Invalid value for `self_webapp_url`, length must be greater than or equal to `1`") # noqa: E501
|
|
1913
|
+
|
|
1914
|
+
self._self_webapp_url = self_webapp_url
|
|
1915
|
+
|
|
1916
|
+
@property
|
|
1917
|
+
def signature_url(self):
|
|
1918
|
+
"""Gets the signature_url of this PackageDetail.
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
:return: The signature_url of this PackageDetail.
|
|
1922
|
+
:rtype: str
|
|
1923
|
+
"""
|
|
1924
|
+
return self._signature_url
|
|
1925
|
+
|
|
1926
|
+
@signature_url.setter
|
|
1927
|
+
def signature_url(self, signature_url):
|
|
1928
|
+
"""Sets the signature_url of this PackageDetail.
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
:param signature_url: The signature_url of this PackageDetail.
|
|
1932
|
+
:type: str
|
|
1933
|
+
"""
|
|
1934
|
+
|
|
1935
|
+
self._signature_url = signature_url
|
|
1936
|
+
|
|
1937
|
+
@property
|
|
1938
|
+
def size(self):
|
|
1939
|
+
"""Gets the size of this PackageDetail.
|
|
1940
|
+
|
|
1941
|
+
The calculated size of the package.
|
|
1942
|
+
|
|
1943
|
+
:return: The size of this PackageDetail.
|
|
1944
|
+
:rtype: int
|
|
1945
|
+
"""
|
|
1946
|
+
return self._size
|
|
1947
|
+
|
|
1948
|
+
@size.setter
|
|
1949
|
+
def size(self, size):
|
|
1950
|
+
"""Sets the size of this PackageDetail.
|
|
1951
|
+
|
|
1952
|
+
The calculated size of the package.
|
|
1953
|
+
|
|
1954
|
+
:param size: The size of this PackageDetail.
|
|
1955
|
+
:type: int
|
|
1956
|
+
"""
|
|
1957
|
+
|
|
1958
|
+
self._size = size
|
|
1959
|
+
|
|
1960
|
+
@property
|
|
1961
|
+
def slug(self):
|
|
1962
|
+
"""Gets the slug of this PackageDetail.
|
|
1963
|
+
|
|
1964
|
+
The public unique identifier for the package.
|
|
1965
|
+
|
|
1966
|
+
:return: The slug of this PackageDetail.
|
|
1967
|
+
:rtype: str
|
|
1968
|
+
"""
|
|
1969
|
+
return self._slug
|
|
1970
|
+
|
|
1971
|
+
@slug.setter
|
|
1972
|
+
def slug(self, slug):
|
|
1973
|
+
"""Sets the slug of this PackageDetail.
|
|
1974
|
+
|
|
1975
|
+
The public unique identifier for the package.
|
|
1976
|
+
|
|
1977
|
+
:param slug: The slug of this PackageDetail.
|
|
1978
|
+
:type: str
|
|
1979
|
+
"""
|
|
1980
|
+
if (self._configuration.client_side_validation and
|
|
1981
|
+
slug is not None and len(slug) < 1):
|
|
1982
|
+
raise ValueError("Invalid value for `slug`, length must be greater than or equal to `1`") # noqa: E501
|
|
1983
|
+
if (self._configuration.client_side_validation and
|
|
1984
|
+
slug is not None and not re.search('^[-a-zA-Z0-9_]+$', slug)): # noqa: E501
|
|
1985
|
+
raise ValueError(r"Invalid value for `slug`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
|
|
1986
|
+
|
|
1987
|
+
self._slug = slug
|
|
1988
|
+
|
|
1989
|
+
@property
|
|
1990
|
+
def slug_perm(self):
|
|
1991
|
+
"""Gets the slug_perm of this PackageDetail.
|
|
1992
|
+
|
|
1993
|
+
|
|
1994
|
+
:return: The slug_perm of this PackageDetail.
|
|
1995
|
+
:rtype: str
|
|
1996
|
+
"""
|
|
1997
|
+
return self._slug_perm
|
|
1998
|
+
|
|
1999
|
+
@slug_perm.setter
|
|
2000
|
+
def slug_perm(self, slug_perm):
|
|
2001
|
+
"""Sets the slug_perm of this PackageDetail.
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
:param slug_perm: The slug_perm of this PackageDetail.
|
|
2005
|
+
:type: str
|
|
2006
|
+
"""
|
|
2007
|
+
if (self._configuration.client_side_validation and
|
|
2008
|
+
slug_perm is not None and len(slug_perm) < 1):
|
|
2009
|
+
raise ValueError("Invalid value for `slug_perm`, length must be greater than or equal to `1`") # noqa: E501
|
|
2010
|
+
if (self._configuration.client_side_validation and
|
|
2011
|
+
slug_perm is not None and not re.search('^[-a-zA-Z0-9_]+$', slug_perm)): # noqa: E501
|
|
2012
|
+
raise ValueError(r"Invalid value for `slug_perm`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
|
|
2013
|
+
|
|
2014
|
+
self._slug_perm = slug_perm
|
|
2015
|
+
|
|
2016
|
+
@property
|
|
2017
|
+
def spdx_license(self):
|
|
2018
|
+
"""Gets the spdx_license of this PackageDetail.
|
|
2019
|
+
|
|
2020
|
+
The SPDX license identifier for this package.
|
|
2021
|
+
|
|
2022
|
+
:return: The spdx_license of this PackageDetail.
|
|
2023
|
+
:rtype: str
|
|
2024
|
+
"""
|
|
2025
|
+
return self._spdx_license
|
|
2026
|
+
|
|
2027
|
+
@spdx_license.setter
|
|
2028
|
+
def spdx_license(self, spdx_license):
|
|
2029
|
+
"""Sets the spdx_license of this PackageDetail.
|
|
2030
|
+
|
|
2031
|
+
The SPDX license identifier for this package.
|
|
2032
|
+
|
|
2033
|
+
:param spdx_license: The spdx_license of this PackageDetail.
|
|
2034
|
+
:type: str
|
|
2035
|
+
"""
|
|
2036
|
+
if (self._configuration.client_side_validation and
|
|
2037
|
+
spdx_license is not None and len(spdx_license) < 1):
|
|
2038
|
+
raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501
|
|
2039
|
+
|
|
2040
|
+
self._spdx_license = spdx_license
|
|
2041
|
+
|
|
2042
|
+
@property
|
|
2043
|
+
def stage(self):
|
|
2044
|
+
"""Gets the stage of this PackageDetail.
|
|
2045
|
+
|
|
2046
|
+
The synchronisation (in progress) stage of the package.
|
|
2047
|
+
|
|
2048
|
+
:return: The stage of this PackageDetail.
|
|
2049
|
+
:rtype: int
|
|
2050
|
+
"""
|
|
2051
|
+
return self._stage
|
|
2052
|
+
|
|
2053
|
+
@stage.setter
|
|
2054
|
+
def stage(self, stage):
|
|
2055
|
+
"""Sets the stage of this PackageDetail.
|
|
2056
|
+
|
|
2057
|
+
The synchronisation (in progress) stage of the package.
|
|
2058
|
+
|
|
2059
|
+
:param stage: The stage of this PackageDetail.
|
|
2060
|
+
:type: int
|
|
2061
|
+
"""
|
|
2062
|
+
|
|
2063
|
+
self._stage = stage
|
|
2064
|
+
|
|
2065
|
+
@property
|
|
2066
|
+
def stage_str(self):
|
|
2067
|
+
"""Gets the stage_str of this PackageDetail.
|
|
2068
|
+
|
|
2069
|
+
|
|
2070
|
+
:return: The stage_str of this PackageDetail.
|
|
2071
|
+
:rtype: str
|
|
2072
|
+
"""
|
|
2073
|
+
return self._stage_str
|
|
2074
|
+
|
|
2075
|
+
@stage_str.setter
|
|
2076
|
+
def stage_str(self, stage_str):
|
|
2077
|
+
"""Sets the stage_str of this PackageDetail.
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
:param stage_str: The stage_str of this PackageDetail.
|
|
2081
|
+
:type: str
|
|
2082
|
+
"""
|
|
2083
|
+
|
|
2084
|
+
self._stage_str = stage_str
|
|
2085
|
+
|
|
2086
|
+
@property
|
|
2087
|
+
def stage_updated_at(self):
|
|
2088
|
+
"""Gets the stage_updated_at of this PackageDetail.
|
|
2089
|
+
|
|
2090
|
+
The datetime the package stage was updated at.
|
|
2091
|
+
|
|
2092
|
+
:return: The stage_updated_at of this PackageDetail.
|
|
2093
|
+
:rtype: datetime
|
|
2094
|
+
"""
|
|
2095
|
+
return self._stage_updated_at
|
|
2096
|
+
|
|
2097
|
+
@stage_updated_at.setter
|
|
2098
|
+
def stage_updated_at(self, stage_updated_at):
|
|
2099
|
+
"""Sets the stage_updated_at of this PackageDetail.
|
|
2100
|
+
|
|
2101
|
+
The datetime the package stage was updated at.
|
|
2102
|
+
|
|
2103
|
+
:param stage_updated_at: The stage_updated_at of this PackageDetail.
|
|
2104
|
+
:type: datetime
|
|
2105
|
+
"""
|
|
2106
|
+
|
|
2107
|
+
self._stage_updated_at = stage_updated_at
|
|
2108
|
+
|
|
2109
|
+
@property
|
|
2110
|
+
def status(self):
|
|
2111
|
+
"""Gets the status of this PackageDetail.
|
|
2112
|
+
|
|
2113
|
+
The synchronisation status of the package.
|
|
2114
|
+
|
|
2115
|
+
:return: The status of this PackageDetail.
|
|
2116
|
+
:rtype: int
|
|
2117
|
+
"""
|
|
2118
|
+
return self._status
|
|
2119
|
+
|
|
2120
|
+
@status.setter
|
|
2121
|
+
def status(self, status):
|
|
2122
|
+
"""Sets the status of this PackageDetail.
|
|
2123
|
+
|
|
2124
|
+
The synchronisation status of the package.
|
|
2125
|
+
|
|
2126
|
+
:param status: The status of this PackageDetail.
|
|
2127
|
+
:type: int
|
|
2128
|
+
"""
|
|
2129
|
+
|
|
2130
|
+
self._status = status
|
|
2131
|
+
|
|
2132
|
+
@property
|
|
2133
|
+
def status_reason(self):
|
|
2134
|
+
"""Gets the status_reason of this PackageDetail.
|
|
2135
|
+
|
|
2136
|
+
A textual description for the synchronous status reason (if any
|
|
2137
|
+
|
|
2138
|
+
:return: The status_reason of this PackageDetail.
|
|
2139
|
+
:rtype: str
|
|
2140
|
+
"""
|
|
2141
|
+
return self._status_reason
|
|
2142
|
+
|
|
2143
|
+
@status_reason.setter
|
|
2144
|
+
def status_reason(self, status_reason):
|
|
2145
|
+
"""Sets the status_reason of this PackageDetail.
|
|
2146
|
+
|
|
2147
|
+
A textual description for the synchronous status reason (if any
|
|
2148
|
+
|
|
2149
|
+
:param status_reason: The status_reason of this PackageDetail.
|
|
2150
|
+
:type: str
|
|
2151
|
+
"""
|
|
2152
|
+
|
|
2153
|
+
self._status_reason = status_reason
|
|
2154
|
+
|
|
2155
|
+
@property
|
|
2156
|
+
def status_str(self):
|
|
2157
|
+
"""Gets the status_str of this PackageDetail.
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
:return: The status_str of this PackageDetail.
|
|
2161
|
+
:rtype: str
|
|
2162
|
+
"""
|
|
2163
|
+
return self._status_str
|
|
2164
|
+
|
|
2165
|
+
@status_str.setter
|
|
2166
|
+
def status_str(self, status_str):
|
|
2167
|
+
"""Sets the status_str of this PackageDetail.
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
:param status_str: The status_str of this PackageDetail.
|
|
2171
|
+
:type: str
|
|
2172
|
+
"""
|
|
2173
|
+
|
|
2174
|
+
self._status_str = status_str
|
|
2175
|
+
|
|
2176
|
+
@property
|
|
2177
|
+
def status_updated_at(self):
|
|
2178
|
+
"""Gets the status_updated_at of this PackageDetail.
|
|
2179
|
+
|
|
2180
|
+
The datetime the package status was updated at.
|
|
2181
|
+
|
|
2182
|
+
:return: The status_updated_at of this PackageDetail.
|
|
2183
|
+
:rtype: datetime
|
|
2184
|
+
"""
|
|
2185
|
+
return self._status_updated_at
|
|
2186
|
+
|
|
2187
|
+
@status_updated_at.setter
|
|
2188
|
+
def status_updated_at(self, status_updated_at):
|
|
2189
|
+
"""Sets the status_updated_at of this PackageDetail.
|
|
2190
|
+
|
|
2191
|
+
The datetime the package status was updated at.
|
|
2192
|
+
|
|
2193
|
+
:param status_updated_at: The status_updated_at of this PackageDetail.
|
|
2194
|
+
:type: datetime
|
|
2195
|
+
"""
|
|
2196
|
+
|
|
2197
|
+
self._status_updated_at = status_updated_at
|
|
2198
|
+
|
|
2199
|
+
@property
|
|
2200
|
+
def status_url(self):
|
|
2201
|
+
"""Gets the status_url of this PackageDetail.
|
|
2202
|
+
|
|
2203
|
+
|
|
2204
|
+
:return: The status_url of this PackageDetail.
|
|
2205
|
+
:rtype: str
|
|
2206
|
+
"""
|
|
2207
|
+
return self._status_url
|
|
2208
|
+
|
|
2209
|
+
@status_url.setter
|
|
2210
|
+
def status_url(self, status_url):
|
|
2211
|
+
"""Sets the status_url of this PackageDetail.
|
|
2212
|
+
|
|
2213
|
+
|
|
2214
|
+
:param status_url: The status_url of this PackageDetail.
|
|
2215
|
+
:type: str
|
|
2216
|
+
"""
|
|
2217
|
+
|
|
2218
|
+
self._status_url = status_url
|
|
2219
|
+
|
|
2220
|
+
@property
|
|
2221
|
+
def store_path(self):
|
|
2222
|
+
"""Gets the store_path of this PackageDetail.
|
|
2223
|
+
|
|
2224
|
+
Absolute store path for the package, including store hash and name.
|
|
2225
|
+
|
|
2226
|
+
:return: The store_path of this PackageDetail.
|
|
2227
|
+
:rtype: str
|
|
2228
|
+
"""
|
|
2229
|
+
return self._store_path
|
|
2230
|
+
|
|
2231
|
+
@store_path.setter
|
|
2232
|
+
def store_path(self, store_path):
|
|
2233
|
+
"""Sets the store_path of this PackageDetail.
|
|
2234
|
+
|
|
2235
|
+
Absolute store path for the package, including store hash and name.
|
|
2236
|
+
|
|
2237
|
+
:param store_path: The store_path of this PackageDetail.
|
|
2238
|
+
:type: str
|
|
2239
|
+
"""
|
|
2240
|
+
if (self._configuration.client_side_validation and
|
|
2241
|
+
store_path is not None and len(store_path) < 1):
|
|
2242
|
+
raise ValueError("Invalid value for `store_path`, length must be greater than or equal to `1`") # noqa: E501
|
|
2243
|
+
|
|
2244
|
+
self._store_path = store_path
|
|
2245
|
+
|
|
2246
|
+
@property
|
|
2247
|
+
def subtype(self):
|
|
2248
|
+
"""Gets the subtype of this PackageDetail.
|
|
2249
|
+
|
|
2250
|
+
|
|
2251
|
+
:return: The subtype of this PackageDetail.
|
|
2252
|
+
:rtype: str
|
|
2253
|
+
"""
|
|
2254
|
+
return self._subtype
|
|
2255
|
+
|
|
2256
|
+
@subtype.setter
|
|
2257
|
+
def subtype(self, subtype):
|
|
2258
|
+
"""Sets the subtype of this PackageDetail.
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
:param subtype: The subtype of this PackageDetail.
|
|
2262
|
+
:type: str
|
|
2263
|
+
"""
|
|
2264
|
+
|
|
2265
|
+
self._subtype = subtype
|
|
2266
|
+
|
|
2267
|
+
@property
|
|
2268
|
+
def summary(self):
|
|
2269
|
+
"""Gets the summary of this PackageDetail.
|
|
2270
|
+
|
|
2271
|
+
A one-liner synopsis of this package.
|
|
2272
|
+
|
|
2273
|
+
:return: The summary of this PackageDetail.
|
|
2274
|
+
:rtype: str
|
|
2275
|
+
"""
|
|
2276
|
+
return self._summary
|
|
2277
|
+
|
|
2278
|
+
@summary.setter
|
|
2279
|
+
def summary(self, summary):
|
|
2280
|
+
"""Sets the summary of this PackageDetail.
|
|
2281
|
+
|
|
2282
|
+
A one-liner synopsis of this package.
|
|
2283
|
+
|
|
2284
|
+
:param summary: The summary of this PackageDetail.
|
|
2285
|
+
:type: str
|
|
2286
|
+
"""
|
|
2287
|
+
|
|
2288
|
+
self._summary = summary
|
|
2289
|
+
|
|
2290
|
+
@property
|
|
2291
|
+
def sync_finished_at(self):
|
|
2292
|
+
"""Gets the sync_finished_at of this PackageDetail.
|
|
2293
|
+
|
|
2294
|
+
The datetime the package sync was finished at.
|
|
2295
|
+
|
|
2296
|
+
:return: The sync_finished_at of this PackageDetail.
|
|
2297
|
+
:rtype: datetime
|
|
2298
|
+
"""
|
|
2299
|
+
return self._sync_finished_at
|
|
2300
|
+
|
|
2301
|
+
@sync_finished_at.setter
|
|
2302
|
+
def sync_finished_at(self, sync_finished_at):
|
|
2303
|
+
"""Sets the sync_finished_at of this PackageDetail.
|
|
2304
|
+
|
|
2305
|
+
The datetime the package sync was finished at.
|
|
2306
|
+
|
|
2307
|
+
:param sync_finished_at: The sync_finished_at of this PackageDetail.
|
|
2308
|
+
:type: datetime
|
|
2309
|
+
"""
|
|
2310
|
+
|
|
2311
|
+
self._sync_finished_at = sync_finished_at
|
|
2312
|
+
|
|
2313
|
+
@property
|
|
2314
|
+
def sync_progress(self):
|
|
2315
|
+
"""Gets the sync_progress of this PackageDetail.
|
|
2316
|
+
|
|
2317
|
+
Synchronisation progress (from 0-100)
|
|
2318
|
+
|
|
2319
|
+
:return: The sync_progress of this PackageDetail.
|
|
2320
|
+
:rtype: int
|
|
2321
|
+
"""
|
|
2322
|
+
return self._sync_progress
|
|
2323
|
+
|
|
2324
|
+
@sync_progress.setter
|
|
2325
|
+
def sync_progress(self, sync_progress):
|
|
2326
|
+
"""Sets the sync_progress of this PackageDetail.
|
|
2327
|
+
|
|
2328
|
+
Synchronisation progress (from 0-100)
|
|
2329
|
+
|
|
2330
|
+
:param sync_progress: The sync_progress of this PackageDetail.
|
|
2331
|
+
:type: int
|
|
2332
|
+
"""
|
|
2333
|
+
|
|
2334
|
+
self._sync_progress = sync_progress
|
|
2335
|
+
|
|
2336
|
+
@property
|
|
2337
|
+
def tags(self):
|
|
2338
|
+
"""Gets the tags of this PackageDetail.
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
:return: The tags of this PackageDetail.
|
|
2342
|
+
:rtype: Tags
|
|
2343
|
+
"""
|
|
2344
|
+
return self._tags
|
|
2345
|
+
|
|
2346
|
+
@tags.setter
|
|
2347
|
+
def tags(self, tags):
|
|
2348
|
+
"""Sets the tags of this PackageDetail.
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
:param tags: The tags of this PackageDetail.
|
|
2352
|
+
:type: Tags
|
|
2353
|
+
"""
|
|
2354
|
+
|
|
2355
|
+
self._tags = tags
|
|
2356
|
+
|
|
2357
|
+
@property
|
|
2358
|
+
def tags_automatic(self):
|
|
2359
|
+
"""Gets the tags_automatic of this PackageDetail.
|
|
2360
|
+
|
|
2361
|
+
|
|
2362
|
+
:return: The tags_automatic of this PackageDetail.
|
|
2363
|
+
:rtype: Tags
|
|
2364
|
+
"""
|
|
2365
|
+
return self._tags_automatic
|
|
2366
|
+
|
|
2367
|
+
@tags_automatic.setter
|
|
2368
|
+
def tags_automatic(self, tags_automatic):
|
|
2369
|
+
"""Sets the tags_automatic of this PackageDetail.
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
:param tags_automatic: The tags_automatic of this PackageDetail.
|
|
2373
|
+
:type: Tags
|
|
2374
|
+
"""
|
|
2375
|
+
|
|
2376
|
+
self._tags_automatic = tags_automatic
|
|
2377
|
+
|
|
2378
|
+
@property
|
|
2379
|
+
def tags_immutable(self):
|
|
2380
|
+
"""Gets the tags_immutable of this PackageDetail.
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
:return: The tags_immutable of this PackageDetail.
|
|
2384
|
+
:rtype: Tags
|
|
2385
|
+
"""
|
|
2386
|
+
return self._tags_immutable
|
|
2387
|
+
|
|
2388
|
+
@tags_immutable.setter
|
|
2389
|
+
def tags_immutable(self, tags_immutable):
|
|
2390
|
+
"""Sets the tags_immutable of this PackageDetail.
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
:param tags_immutable: The tags_immutable of this PackageDetail.
|
|
2394
|
+
:type: Tags
|
|
2395
|
+
"""
|
|
2396
|
+
|
|
2397
|
+
self._tags_immutable = tags_immutable
|
|
2398
|
+
|
|
2399
|
+
@property
|
|
2400
|
+
def tags_static(self):
|
|
2401
|
+
"""Gets the tags_static of this PackageDetail.
|
|
2402
|
+
|
|
2403
|
+
All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
|
|
2404
|
+
|
|
2405
|
+
:return: The tags_static of this PackageDetail.
|
|
2406
|
+
:rtype: dict(str, list[str])
|
|
2407
|
+
"""
|
|
2408
|
+
return self._tags_static
|
|
2409
|
+
|
|
2410
|
+
@tags_static.setter
|
|
2411
|
+
def tags_static(self, tags_static):
|
|
2412
|
+
"""Sets the tags_static of this PackageDetail.
|
|
2413
|
+
|
|
2414
|
+
All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension.
|
|
2415
|
+
|
|
2416
|
+
:param tags_static: The tags_static of this PackageDetail.
|
|
2417
|
+
:type: dict(str, list[str])
|
|
2418
|
+
"""
|
|
2419
|
+
|
|
2420
|
+
self._tags_static = tags_static
|
|
2421
|
+
|
|
2422
|
+
@property
|
|
2423
|
+
def type_display(self):
|
|
2424
|
+
"""Gets the type_display of this PackageDetail.
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
:return: The type_display of this PackageDetail.
|
|
2428
|
+
:rtype: str
|
|
2429
|
+
"""
|
|
2430
|
+
return self._type_display
|
|
2431
|
+
|
|
2432
|
+
@type_display.setter
|
|
2433
|
+
def type_display(self, type_display):
|
|
2434
|
+
"""Sets the type_display of this PackageDetail.
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
:param type_display: The type_display of this PackageDetail.
|
|
2438
|
+
:type: str
|
|
2439
|
+
"""
|
|
2440
|
+
|
|
2441
|
+
self._type_display = type_display
|
|
2442
|
+
|
|
2443
|
+
@property
|
|
2444
|
+
def uploaded_at(self):
|
|
2445
|
+
"""Gets the uploaded_at of this PackageDetail.
|
|
2446
|
+
|
|
2447
|
+
The date this package was uploaded.
|
|
2448
|
+
|
|
2449
|
+
:return: The uploaded_at of this PackageDetail.
|
|
2450
|
+
:rtype: datetime
|
|
2451
|
+
"""
|
|
2452
|
+
return self._uploaded_at
|
|
2453
|
+
|
|
2454
|
+
@uploaded_at.setter
|
|
2455
|
+
def uploaded_at(self, uploaded_at):
|
|
2456
|
+
"""Sets the uploaded_at of this PackageDetail.
|
|
2457
|
+
|
|
2458
|
+
The date this package was uploaded.
|
|
2459
|
+
|
|
2460
|
+
:param uploaded_at: The uploaded_at of this PackageDetail.
|
|
2461
|
+
:type: datetime
|
|
2462
|
+
"""
|
|
2463
|
+
|
|
2464
|
+
self._uploaded_at = uploaded_at
|
|
2465
|
+
|
|
2466
|
+
@property
|
|
2467
|
+
def uploader(self):
|
|
2468
|
+
"""Gets the uploader of this PackageDetail.
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
:return: The uploader of this PackageDetail.
|
|
2472
|
+
:rtype: str
|
|
2473
|
+
"""
|
|
2474
|
+
return self._uploader
|
|
2475
|
+
|
|
2476
|
+
@uploader.setter
|
|
2477
|
+
def uploader(self, uploader):
|
|
2478
|
+
"""Sets the uploader of this PackageDetail.
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
:param uploader: The uploader of this PackageDetail.
|
|
2482
|
+
:type: str
|
|
2483
|
+
"""
|
|
2484
|
+
if (self._configuration.client_side_validation and
|
|
2485
|
+
uploader is not None and len(uploader) < 1):
|
|
2486
|
+
raise ValueError("Invalid value for `uploader`, length must be greater than or equal to `1`") # noqa: E501
|
|
2487
|
+
|
|
2488
|
+
self._uploader = uploader
|
|
2489
|
+
|
|
2490
|
+
@property
|
|
2491
|
+
def uploader_url(self):
|
|
2492
|
+
"""Gets the uploader_url of this PackageDetail.
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
:return: The uploader_url of this PackageDetail.
|
|
2496
|
+
:rtype: str
|
|
2497
|
+
"""
|
|
2498
|
+
return self._uploader_url
|
|
2499
|
+
|
|
2500
|
+
@uploader_url.setter
|
|
2501
|
+
def uploader_url(self, uploader_url):
|
|
2502
|
+
"""Sets the uploader_url of this PackageDetail.
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
:param uploader_url: The uploader_url of this PackageDetail.
|
|
2506
|
+
:type: str
|
|
2507
|
+
"""
|
|
2508
|
+
|
|
2509
|
+
self._uploader_url = uploader_url
|
|
2510
|
+
|
|
2511
|
+
@property
|
|
2512
|
+
def version(self):
|
|
2513
|
+
"""Gets the version of this PackageDetail.
|
|
2514
|
+
|
|
2515
|
+
The raw version for this package.
|
|
2516
|
+
|
|
2517
|
+
:return: The version of this PackageDetail.
|
|
2518
|
+
:rtype: str
|
|
2519
|
+
"""
|
|
2520
|
+
return self._version
|
|
2521
|
+
|
|
2522
|
+
@version.setter
|
|
2523
|
+
def version(self, version):
|
|
2524
|
+
"""Sets the version of this PackageDetail.
|
|
2525
|
+
|
|
2526
|
+
The raw version for this package.
|
|
2527
|
+
|
|
2528
|
+
:param version: The version of this PackageDetail.
|
|
2529
|
+
:type: str
|
|
2530
|
+
"""
|
|
2531
|
+
|
|
2532
|
+
self._version = version
|
|
2533
|
+
|
|
2534
|
+
@property
|
|
2535
|
+
def version_orig(self):
|
|
2536
|
+
"""Gets the version_orig of this PackageDetail.
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
:return: The version_orig of this PackageDetail.
|
|
2540
|
+
:rtype: str
|
|
2541
|
+
"""
|
|
2542
|
+
return self._version_orig
|
|
2543
|
+
|
|
2544
|
+
@version_orig.setter
|
|
2545
|
+
def version_orig(self, version_orig):
|
|
2546
|
+
"""Sets the version_orig of this PackageDetail.
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
:param version_orig: The version_orig of this PackageDetail.
|
|
2550
|
+
:type: str
|
|
2551
|
+
"""
|
|
2552
|
+
|
|
2553
|
+
self._version_orig = version_orig
|
|
2554
|
+
|
|
2555
|
+
@property
|
|
2556
|
+
def vulnerability_counts(self):
|
|
2557
|
+
"""Gets the vulnerability_counts of this PackageDetail.
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
:return: The vulnerability_counts of this PackageDetail.
|
|
2561
|
+
:rtype: WebOSVSeverityCounts
|
|
2562
|
+
"""
|
|
2563
|
+
return self._vulnerability_counts
|
|
2564
|
+
|
|
2565
|
+
@vulnerability_counts.setter
|
|
2566
|
+
def vulnerability_counts(self, vulnerability_counts):
|
|
2567
|
+
"""Sets the vulnerability_counts of this PackageDetail.
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
:param vulnerability_counts: The vulnerability_counts of this PackageDetail.
|
|
2571
|
+
:type: WebOSVSeverityCounts
|
|
2572
|
+
"""
|
|
2573
|
+
|
|
2574
|
+
self._vulnerability_counts = vulnerability_counts
|
|
2575
|
+
|
|
2576
|
+
@property
|
|
2577
|
+
def vulnerability_scan_results_url(self):
|
|
2578
|
+
"""Gets the vulnerability_scan_results_url of this PackageDetail.
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
:return: The vulnerability_scan_results_url of this PackageDetail.
|
|
2582
|
+
:rtype: str
|
|
2583
|
+
"""
|
|
2584
|
+
return self._vulnerability_scan_results_url
|
|
2585
|
+
|
|
2586
|
+
@vulnerability_scan_results_url.setter
|
|
2587
|
+
def vulnerability_scan_results_url(self, vulnerability_scan_results_url):
|
|
2588
|
+
"""Sets the vulnerability_scan_results_url of this PackageDetail.
|
|
2589
|
+
|
|
2590
|
+
|
|
2591
|
+
:param vulnerability_scan_results_url: The vulnerability_scan_results_url of this PackageDetail.
|
|
2592
|
+
:type: str
|
|
2593
|
+
"""
|
|
2594
|
+
|
|
2595
|
+
self._vulnerability_scan_results_url = vulnerability_scan_results_url
|
|
2596
|
+
|
|
2597
|
+
def to_dict(self):
|
|
2598
|
+
"""Returns the model properties as a dict"""
|
|
2599
|
+
result = {}
|
|
2600
|
+
|
|
2601
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
2602
|
+
value = getattr(self, attr)
|
|
2603
|
+
if isinstance(value, list):
|
|
2604
|
+
result[attr] = list(map(
|
|
2605
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
2606
|
+
value
|
|
2607
|
+
))
|
|
2608
|
+
elif hasattr(value, "to_dict"):
|
|
2609
|
+
result[attr] = value.to_dict()
|
|
2610
|
+
elif isinstance(value, dict):
|
|
2611
|
+
result[attr] = dict(map(
|
|
2612
|
+
lambda item: (item[0], item[1].to_dict())
|
|
2613
|
+
if hasattr(item[1], "to_dict") else item,
|
|
2614
|
+
value.items()
|
|
2615
|
+
))
|
|
2616
|
+
else:
|
|
2617
|
+
result[attr] = value
|
|
2618
|
+
if issubclass(PackageDetail, dict):
|
|
2619
|
+
for key, value in self.items():
|
|
2620
|
+
result[key] = value
|
|
2621
|
+
|
|
2622
|
+
return result
|
|
2623
|
+
|
|
2624
|
+
def to_str(self):
|
|
2625
|
+
"""Returns the string representation of the model"""
|
|
2626
|
+
return pprint.pformat(self.to_dict())
|
|
2627
|
+
|
|
2628
|
+
def __repr__(self):
|
|
2629
|
+
"""For `print` and `pprint`"""
|
|
2630
|
+
return self.to_str()
|
|
2631
|
+
|
|
2632
|
+
def __eq__(self, other):
|
|
2633
|
+
"""Returns true if both objects are equal"""
|
|
2634
|
+
if not isinstance(other, PackageDetail):
|
|
2635
|
+
return False
|
|
2636
|
+
|
|
2637
|
+
return self.to_dict() == other.to_dict()
|
|
2638
|
+
|
|
2639
|
+
def __ne__(self, other):
|
|
2640
|
+
"""Returns true if both objects are not equal"""
|
|
2641
|
+
if not isinstance(other, PackageDetail):
|
|
2642
|
+
return True
|
|
2643
|
+
|
|
2644
|
+
return self.to_dict() != other.to_dict()
|
|
2645
|
+
|