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,2572 @@
|
|
|
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 RawPackageUpload(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
|
+
'files': 'list[PackageFile]',
|
|
53
|
+
'format': 'str',
|
|
54
|
+
'format_url': 'str',
|
|
55
|
+
'freeable_storage': 'int',
|
|
56
|
+
'fully_qualified_name': 'str',
|
|
57
|
+
'identifier_perm': 'str',
|
|
58
|
+
'identifiers': 'dict(str, str)',
|
|
59
|
+
'indexed': 'bool',
|
|
60
|
+
'is_cancellable': 'bool',
|
|
61
|
+
'is_copyable': 'bool',
|
|
62
|
+
'is_deleteable': 'bool',
|
|
63
|
+
'is_downloadable': 'bool',
|
|
64
|
+
'is_hidden': 'bool',
|
|
65
|
+
'is_malware_detected': 'bool',
|
|
66
|
+
'is_moveable': 'bool',
|
|
67
|
+
'is_quarantinable': 'bool',
|
|
68
|
+
'is_quarantined': 'bool',
|
|
69
|
+
'is_resyncable': 'bool',
|
|
70
|
+
'is_security_scannable': 'bool',
|
|
71
|
+
'is_sync_awaiting': 'bool',
|
|
72
|
+
'is_sync_completed': 'bool',
|
|
73
|
+
'is_sync_failed': 'bool',
|
|
74
|
+
'is_sync_in_flight': 'bool',
|
|
75
|
+
'is_sync_in_progress': 'bool',
|
|
76
|
+
'license': 'str',
|
|
77
|
+
'name': 'str',
|
|
78
|
+
'namespace': 'str',
|
|
79
|
+
'namespace_url': 'str',
|
|
80
|
+
'num_files': 'int',
|
|
81
|
+
'origin_repository': 'str',
|
|
82
|
+
'origin_repository_url': 'str',
|
|
83
|
+
'osi_approved': 'bool',
|
|
84
|
+
'package_type': 'int',
|
|
85
|
+
'policy_violated': 'bool',
|
|
86
|
+
'raw_license': 'str',
|
|
87
|
+
'release': 'str',
|
|
88
|
+
'repository': 'str',
|
|
89
|
+
'repository_url': 'str',
|
|
90
|
+
'security_scan_completed_at': 'datetime',
|
|
91
|
+
'security_scan_started_at': 'datetime',
|
|
92
|
+
'security_scan_status': 'str',
|
|
93
|
+
'security_scan_status_updated_at': 'datetime',
|
|
94
|
+
'self_html_url': 'str',
|
|
95
|
+
'self_url': 'str',
|
|
96
|
+
'self_webapp_url': 'str',
|
|
97
|
+
'signature_url': 'str',
|
|
98
|
+
'size': 'int',
|
|
99
|
+
'slug': 'str',
|
|
100
|
+
'slug_perm': 'str',
|
|
101
|
+
'spdx_license': 'str',
|
|
102
|
+
'stage': 'int',
|
|
103
|
+
'stage_str': 'str',
|
|
104
|
+
'stage_updated_at': 'datetime',
|
|
105
|
+
'status': 'int',
|
|
106
|
+
'status_reason': 'str',
|
|
107
|
+
'status_str': 'str',
|
|
108
|
+
'status_updated_at': 'datetime',
|
|
109
|
+
'status_url': 'str',
|
|
110
|
+
'store_path': 'str',
|
|
111
|
+
'subtype': 'str',
|
|
112
|
+
'summary': 'str',
|
|
113
|
+
'sync_finished_at': 'datetime',
|
|
114
|
+
'sync_progress': 'int',
|
|
115
|
+
'tags_automatic': 'Tags',
|
|
116
|
+
'tags_immutable': 'Tags',
|
|
117
|
+
'tags_static': 'dict(str, list[str])',
|
|
118
|
+
'type_display': 'str',
|
|
119
|
+
'uploaded_at': 'datetime',
|
|
120
|
+
'uploader': 'str',
|
|
121
|
+
'uploader_url': 'str',
|
|
122
|
+
'version': 'str',
|
|
123
|
+
'version_orig': 'str',
|
|
124
|
+
'vulnerability_counts': 'WebOSVSeverityCounts',
|
|
125
|
+
'vulnerability_scan_results_url': 'str'
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
attribute_map = {
|
|
129
|
+
'architectures': 'architectures',
|
|
130
|
+
'cdn_url': 'cdn_url',
|
|
131
|
+
'checksum_md5': 'checksum_md5',
|
|
132
|
+
'checksum_sha1': 'checksum_sha1',
|
|
133
|
+
'checksum_sha256': 'checksum_sha256',
|
|
134
|
+
'checksum_sha512': 'checksum_sha512',
|
|
135
|
+
'dependencies_checksum_md5': 'dependencies_checksum_md5',
|
|
136
|
+
'dependencies_url': 'dependencies_url',
|
|
137
|
+
'description': 'description',
|
|
138
|
+
'display_name': 'display_name',
|
|
139
|
+
'distro': 'distro',
|
|
140
|
+
'distro_version': 'distro_version',
|
|
141
|
+
'downloads': 'downloads',
|
|
142
|
+
'epoch': 'epoch',
|
|
143
|
+
'extension': 'extension',
|
|
144
|
+
'filename': 'filename',
|
|
145
|
+
'files': 'files',
|
|
146
|
+
'format': 'format',
|
|
147
|
+
'format_url': 'format_url',
|
|
148
|
+
'freeable_storage': 'freeable_storage',
|
|
149
|
+
'fully_qualified_name': 'fully_qualified_name',
|
|
150
|
+
'identifier_perm': 'identifier_perm',
|
|
151
|
+
'identifiers': 'identifiers',
|
|
152
|
+
'indexed': 'indexed',
|
|
153
|
+
'is_cancellable': 'is_cancellable',
|
|
154
|
+
'is_copyable': 'is_copyable',
|
|
155
|
+
'is_deleteable': 'is_deleteable',
|
|
156
|
+
'is_downloadable': 'is_downloadable',
|
|
157
|
+
'is_hidden': 'is_hidden',
|
|
158
|
+
'is_malware_detected': 'is_malware_detected',
|
|
159
|
+
'is_moveable': 'is_moveable',
|
|
160
|
+
'is_quarantinable': 'is_quarantinable',
|
|
161
|
+
'is_quarantined': 'is_quarantined',
|
|
162
|
+
'is_resyncable': 'is_resyncable',
|
|
163
|
+
'is_security_scannable': 'is_security_scannable',
|
|
164
|
+
'is_sync_awaiting': 'is_sync_awaiting',
|
|
165
|
+
'is_sync_completed': 'is_sync_completed',
|
|
166
|
+
'is_sync_failed': 'is_sync_failed',
|
|
167
|
+
'is_sync_in_flight': 'is_sync_in_flight',
|
|
168
|
+
'is_sync_in_progress': 'is_sync_in_progress',
|
|
169
|
+
'license': 'license',
|
|
170
|
+
'name': 'name',
|
|
171
|
+
'namespace': 'namespace',
|
|
172
|
+
'namespace_url': 'namespace_url',
|
|
173
|
+
'num_files': 'num_files',
|
|
174
|
+
'origin_repository': 'origin_repository',
|
|
175
|
+
'origin_repository_url': 'origin_repository_url',
|
|
176
|
+
'osi_approved': 'osi_approved',
|
|
177
|
+
'package_type': 'package_type',
|
|
178
|
+
'policy_violated': 'policy_violated',
|
|
179
|
+
'raw_license': 'raw_license',
|
|
180
|
+
'release': 'release',
|
|
181
|
+
'repository': 'repository',
|
|
182
|
+
'repository_url': 'repository_url',
|
|
183
|
+
'security_scan_completed_at': 'security_scan_completed_at',
|
|
184
|
+
'security_scan_started_at': 'security_scan_started_at',
|
|
185
|
+
'security_scan_status': 'security_scan_status',
|
|
186
|
+
'security_scan_status_updated_at': 'security_scan_status_updated_at',
|
|
187
|
+
'self_html_url': 'self_html_url',
|
|
188
|
+
'self_url': 'self_url',
|
|
189
|
+
'self_webapp_url': 'self_webapp_url',
|
|
190
|
+
'signature_url': 'signature_url',
|
|
191
|
+
'size': 'size',
|
|
192
|
+
'slug': 'slug',
|
|
193
|
+
'slug_perm': 'slug_perm',
|
|
194
|
+
'spdx_license': 'spdx_license',
|
|
195
|
+
'stage': 'stage',
|
|
196
|
+
'stage_str': 'stage_str',
|
|
197
|
+
'stage_updated_at': 'stage_updated_at',
|
|
198
|
+
'status': 'status',
|
|
199
|
+
'status_reason': 'status_reason',
|
|
200
|
+
'status_str': 'status_str',
|
|
201
|
+
'status_updated_at': 'status_updated_at',
|
|
202
|
+
'status_url': 'status_url',
|
|
203
|
+
'store_path': 'store_path',
|
|
204
|
+
'subtype': 'subtype',
|
|
205
|
+
'summary': 'summary',
|
|
206
|
+
'sync_finished_at': 'sync_finished_at',
|
|
207
|
+
'sync_progress': 'sync_progress',
|
|
208
|
+
'tags_automatic': 'tags_automatic',
|
|
209
|
+
'tags_immutable': 'tags_immutable',
|
|
210
|
+
'tags_static': 'tags_static',
|
|
211
|
+
'type_display': 'type_display',
|
|
212
|
+
'uploaded_at': 'uploaded_at',
|
|
213
|
+
'uploader': 'uploader',
|
|
214
|
+
'uploader_url': 'uploader_url',
|
|
215
|
+
'version': 'version',
|
|
216
|
+
'version_orig': 'version_orig',
|
|
217
|
+
'vulnerability_counts': 'vulnerability_counts',
|
|
218
|
+
'vulnerability_scan_results_url': 'vulnerability_scan_results_url'
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
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, files=None, format=None, format_url=None, freeable_storage=None, fully_qualified_name=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_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
|
|
222
|
+
"""RawPackageUpload - a model defined in Swagger""" # noqa: E501
|
|
223
|
+
if _configuration is None:
|
|
224
|
+
_configuration = Configuration()
|
|
225
|
+
self._configuration = _configuration
|
|
226
|
+
|
|
227
|
+
self._architectures = None
|
|
228
|
+
self._cdn_url = None
|
|
229
|
+
self._checksum_md5 = None
|
|
230
|
+
self._checksum_sha1 = None
|
|
231
|
+
self._checksum_sha256 = None
|
|
232
|
+
self._checksum_sha512 = None
|
|
233
|
+
self._dependencies_checksum_md5 = None
|
|
234
|
+
self._dependencies_url = None
|
|
235
|
+
self._description = None
|
|
236
|
+
self._display_name = None
|
|
237
|
+
self._distro = None
|
|
238
|
+
self._distro_version = None
|
|
239
|
+
self._downloads = None
|
|
240
|
+
self._epoch = None
|
|
241
|
+
self._extension = None
|
|
242
|
+
self._filename = None
|
|
243
|
+
self._files = None
|
|
244
|
+
self._format = None
|
|
245
|
+
self._format_url = None
|
|
246
|
+
self._freeable_storage = None
|
|
247
|
+
self._fully_qualified_name = None
|
|
248
|
+
self._identifier_perm = None
|
|
249
|
+
self._identifiers = None
|
|
250
|
+
self._indexed = None
|
|
251
|
+
self._is_cancellable = None
|
|
252
|
+
self._is_copyable = None
|
|
253
|
+
self._is_deleteable = None
|
|
254
|
+
self._is_downloadable = None
|
|
255
|
+
self._is_hidden = None
|
|
256
|
+
self._is_malware_detected = None
|
|
257
|
+
self._is_moveable = None
|
|
258
|
+
self._is_quarantinable = None
|
|
259
|
+
self._is_quarantined = None
|
|
260
|
+
self._is_resyncable = None
|
|
261
|
+
self._is_security_scannable = None
|
|
262
|
+
self._is_sync_awaiting = None
|
|
263
|
+
self._is_sync_completed = None
|
|
264
|
+
self._is_sync_failed = None
|
|
265
|
+
self._is_sync_in_flight = None
|
|
266
|
+
self._is_sync_in_progress = None
|
|
267
|
+
self._license = None
|
|
268
|
+
self._name = None
|
|
269
|
+
self._namespace = None
|
|
270
|
+
self._namespace_url = None
|
|
271
|
+
self._num_files = None
|
|
272
|
+
self._origin_repository = None
|
|
273
|
+
self._origin_repository_url = None
|
|
274
|
+
self._osi_approved = None
|
|
275
|
+
self._package_type = None
|
|
276
|
+
self._policy_violated = None
|
|
277
|
+
self._raw_license = None
|
|
278
|
+
self._release = None
|
|
279
|
+
self._repository = None
|
|
280
|
+
self._repository_url = None
|
|
281
|
+
self._security_scan_completed_at = None
|
|
282
|
+
self._security_scan_started_at = None
|
|
283
|
+
self._security_scan_status = None
|
|
284
|
+
self._security_scan_status_updated_at = None
|
|
285
|
+
self._self_html_url = None
|
|
286
|
+
self._self_url = None
|
|
287
|
+
self._self_webapp_url = None
|
|
288
|
+
self._signature_url = None
|
|
289
|
+
self._size = None
|
|
290
|
+
self._slug = None
|
|
291
|
+
self._slug_perm = None
|
|
292
|
+
self._spdx_license = None
|
|
293
|
+
self._stage = None
|
|
294
|
+
self._stage_str = None
|
|
295
|
+
self._stage_updated_at = None
|
|
296
|
+
self._status = None
|
|
297
|
+
self._status_reason = None
|
|
298
|
+
self._status_str = None
|
|
299
|
+
self._status_updated_at = None
|
|
300
|
+
self._status_url = None
|
|
301
|
+
self._store_path = None
|
|
302
|
+
self._subtype = None
|
|
303
|
+
self._summary = None
|
|
304
|
+
self._sync_finished_at = None
|
|
305
|
+
self._sync_progress = None
|
|
306
|
+
self._tags_automatic = None
|
|
307
|
+
self._tags_immutable = None
|
|
308
|
+
self._tags_static = None
|
|
309
|
+
self._type_display = None
|
|
310
|
+
self._uploaded_at = None
|
|
311
|
+
self._uploader = None
|
|
312
|
+
self._uploader_url = None
|
|
313
|
+
self._version = None
|
|
314
|
+
self._version_orig = None
|
|
315
|
+
self._vulnerability_counts = None
|
|
316
|
+
self._vulnerability_scan_results_url = None
|
|
317
|
+
self.discriminator = None
|
|
318
|
+
|
|
319
|
+
if architectures is not None:
|
|
320
|
+
self.architectures = architectures
|
|
321
|
+
if cdn_url is not None:
|
|
322
|
+
self.cdn_url = cdn_url
|
|
323
|
+
if checksum_md5 is not None:
|
|
324
|
+
self.checksum_md5 = checksum_md5
|
|
325
|
+
if checksum_sha1 is not None:
|
|
326
|
+
self.checksum_sha1 = checksum_sha1
|
|
327
|
+
if checksum_sha256 is not None:
|
|
328
|
+
self.checksum_sha256 = checksum_sha256
|
|
329
|
+
if checksum_sha512 is not None:
|
|
330
|
+
self.checksum_sha512 = checksum_sha512
|
|
331
|
+
if dependencies_checksum_md5 is not None:
|
|
332
|
+
self.dependencies_checksum_md5 = dependencies_checksum_md5
|
|
333
|
+
if dependencies_url is not None:
|
|
334
|
+
self.dependencies_url = dependencies_url
|
|
335
|
+
if description is not None:
|
|
336
|
+
self.description = description
|
|
337
|
+
if display_name is not None:
|
|
338
|
+
self.display_name = display_name
|
|
339
|
+
if distro is not None:
|
|
340
|
+
self.distro = distro
|
|
341
|
+
if distro_version is not None:
|
|
342
|
+
self.distro_version = distro_version
|
|
343
|
+
if downloads is not None:
|
|
344
|
+
self.downloads = downloads
|
|
345
|
+
if epoch is not None:
|
|
346
|
+
self.epoch = epoch
|
|
347
|
+
if extension is not None:
|
|
348
|
+
self.extension = extension
|
|
349
|
+
if filename is not None:
|
|
350
|
+
self.filename = filename
|
|
351
|
+
if files is not None:
|
|
352
|
+
self.files = files
|
|
353
|
+
if format is not None:
|
|
354
|
+
self.format = format
|
|
355
|
+
if format_url is not None:
|
|
356
|
+
self.format_url = format_url
|
|
357
|
+
if freeable_storage is not None:
|
|
358
|
+
self.freeable_storage = freeable_storage
|
|
359
|
+
if fully_qualified_name is not None:
|
|
360
|
+
self.fully_qualified_name = fully_qualified_name
|
|
361
|
+
if identifier_perm is not None:
|
|
362
|
+
self.identifier_perm = identifier_perm
|
|
363
|
+
if identifiers is not None:
|
|
364
|
+
self.identifiers = identifiers
|
|
365
|
+
if indexed is not None:
|
|
366
|
+
self.indexed = indexed
|
|
367
|
+
if is_cancellable is not None:
|
|
368
|
+
self.is_cancellable = is_cancellable
|
|
369
|
+
if is_copyable is not None:
|
|
370
|
+
self.is_copyable = is_copyable
|
|
371
|
+
if is_deleteable is not None:
|
|
372
|
+
self.is_deleteable = is_deleteable
|
|
373
|
+
if is_downloadable is not None:
|
|
374
|
+
self.is_downloadable = is_downloadable
|
|
375
|
+
if is_hidden is not None:
|
|
376
|
+
self.is_hidden = is_hidden
|
|
377
|
+
if is_malware_detected is not None:
|
|
378
|
+
self.is_malware_detected = is_malware_detected
|
|
379
|
+
if is_moveable is not None:
|
|
380
|
+
self.is_moveable = is_moveable
|
|
381
|
+
if is_quarantinable is not None:
|
|
382
|
+
self.is_quarantinable = is_quarantinable
|
|
383
|
+
if is_quarantined is not None:
|
|
384
|
+
self.is_quarantined = is_quarantined
|
|
385
|
+
if is_resyncable is not None:
|
|
386
|
+
self.is_resyncable = is_resyncable
|
|
387
|
+
if is_security_scannable is not None:
|
|
388
|
+
self.is_security_scannable = is_security_scannable
|
|
389
|
+
if is_sync_awaiting is not None:
|
|
390
|
+
self.is_sync_awaiting = is_sync_awaiting
|
|
391
|
+
if is_sync_completed is not None:
|
|
392
|
+
self.is_sync_completed = is_sync_completed
|
|
393
|
+
if is_sync_failed is not None:
|
|
394
|
+
self.is_sync_failed = is_sync_failed
|
|
395
|
+
if is_sync_in_flight is not None:
|
|
396
|
+
self.is_sync_in_flight = is_sync_in_flight
|
|
397
|
+
if is_sync_in_progress is not None:
|
|
398
|
+
self.is_sync_in_progress = is_sync_in_progress
|
|
399
|
+
if license is not None:
|
|
400
|
+
self.license = license
|
|
401
|
+
if name is not None:
|
|
402
|
+
self.name = name
|
|
403
|
+
if namespace is not None:
|
|
404
|
+
self.namespace = namespace
|
|
405
|
+
if namespace_url is not None:
|
|
406
|
+
self.namespace_url = namespace_url
|
|
407
|
+
if num_files is not None:
|
|
408
|
+
self.num_files = num_files
|
|
409
|
+
if origin_repository is not None:
|
|
410
|
+
self.origin_repository = origin_repository
|
|
411
|
+
if origin_repository_url is not None:
|
|
412
|
+
self.origin_repository_url = origin_repository_url
|
|
413
|
+
if osi_approved is not None:
|
|
414
|
+
self.osi_approved = osi_approved
|
|
415
|
+
if package_type is not None:
|
|
416
|
+
self.package_type = package_type
|
|
417
|
+
if policy_violated is not None:
|
|
418
|
+
self.policy_violated = policy_violated
|
|
419
|
+
if raw_license is not None:
|
|
420
|
+
self.raw_license = raw_license
|
|
421
|
+
if release is not None:
|
|
422
|
+
self.release = release
|
|
423
|
+
if repository is not None:
|
|
424
|
+
self.repository = repository
|
|
425
|
+
if repository_url is not None:
|
|
426
|
+
self.repository_url = repository_url
|
|
427
|
+
if security_scan_completed_at is not None:
|
|
428
|
+
self.security_scan_completed_at = security_scan_completed_at
|
|
429
|
+
if security_scan_started_at is not None:
|
|
430
|
+
self.security_scan_started_at = security_scan_started_at
|
|
431
|
+
if security_scan_status is not None:
|
|
432
|
+
self.security_scan_status = security_scan_status
|
|
433
|
+
if security_scan_status_updated_at is not None:
|
|
434
|
+
self.security_scan_status_updated_at = security_scan_status_updated_at
|
|
435
|
+
if self_html_url is not None:
|
|
436
|
+
self.self_html_url = self_html_url
|
|
437
|
+
if self_url is not None:
|
|
438
|
+
self.self_url = self_url
|
|
439
|
+
if self_webapp_url is not None:
|
|
440
|
+
self.self_webapp_url = self_webapp_url
|
|
441
|
+
if signature_url is not None:
|
|
442
|
+
self.signature_url = signature_url
|
|
443
|
+
if size is not None:
|
|
444
|
+
self.size = size
|
|
445
|
+
if slug is not None:
|
|
446
|
+
self.slug = slug
|
|
447
|
+
if slug_perm is not None:
|
|
448
|
+
self.slug_perm = slug_perm
|
|
449
|
+
if spdx_license is not None:
|
|
450
|
+
self.spdx_license = spdx_license
|
|
451
|
+
if stage is not None:
|
|
452
|
+
self.stage = stage
|
|
453
|
+
if stage_str is not None:
|
|
454
|
+
self.stage_str = stage_str
|
|
455
|
+
if stage_updated_at is not None:
|
|
456
|
+
self.stage_updated_at = stage_updated_at
|
|
457
|
+
if status is not None:
|
|
458
|
+
self.status = status
|
|
459
|
+
if status_reason is not None:
|
|
460
|
+
self.status_reason = status_reason
|
|
461
|
+
if status_str is not None:
|
|
462
|
+
self.status_str = status_str
|
|
463
|
+
if status_updated_at is not None:
|
|
464
|
+
self.status_updated_at = status_updated_at
|
|
465
|
+
if status_url is not None:
|
|
466
|
+
self.status_url = status_url
|
|
467
|
+
if store_path is not None:
|
|
468
|
+
self.store_path = store_path
|
|
469
|
+
if subtype is not None:
|
|
470
|
+
self.subtype = subtype
|
|
471
|
+
if summary is not None:
|
|
472
|
+
self.summary = summary
|
|
473
|
+
if sync_finished_at is not None:
|
|
474
|
+
self.sync_finished_at = sync_finished_at
|
|
475
|
+
if sync_progress is not None:
|
|
476
|
+
self.sync_progress = sync_progress
|
|
477
|
+
if tags_automatic is not None:
|
|
478
|
+
self.tags_automatic = tags_automatic
|
|
479
|
+
if tags_immutable is not None:
|
|
480
|
+
self.tags_immutable = tags_immutable
|
|
481
|
+
if tags_static is not None:
|
|
482
|
+
self.tags_static = tags_static
|
|
483
|
+
if type_display is not None:
|
|
484
|
+
self.type_display = type_display
|
|
485
|
+
if uploaded_at is not None:
|
|
486
|
+
self.uploaded_at = uploaded_at
|
|
487
|
+
if uploader is not None:
|
|
488
|
+
self.uploader = uploader
|
|
489
|
+
if uploader_url is not None:
|
|
490
|
+
self.uploader_url = uploader_url
|
|
491
|
+
if version is not None:
|
|
492
|
+
self.version = version
|
|
493
|
+
if version_orig is not None:
|
|
494
|
+
self.version_orig = version_orig
|
|
495
|
+
if vulnerability_counts is not None:
|
|
496
|
+
self.vulnerability_counts = vulnerability_counts
|
|
497
|
+
if vulnerability_scan_results_url is not None:
|
|
498
|
+
self.vulnerability_scan_results_url = vulnerability_scan_results_url
|
|
499
|
+
|
|
500
|
+
@property
|
|
501
|
+
def architectures(self):
|
|
502
|
+
"""Gets the architectures of this RawPackageUpload.
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
:return: The architectures of this RawPackageUpload.
|
|
506
|
+
:rtype: list[Architecture]
|
|
507
|
+
"""
|
|
508
|
+
return self._architectures
|
|
509
|
+
|
|
510
|
+
@architectures.setter
|
|
511
|
+
def architectures(self, architectures):
|
|
512
|
+
"""Sets the architectures of this RawPackageUpload.
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
:param architectures: The architectures of this RawPackageUpload.
|
|
516
|
+
:type: list[Architecture]
|
|
517
|
+
"""
|
|
518
|
+
|
|
519
|
+
self._architectures = architectures
|
|
520
|
+
|
|
521
|
+
@property
|
|
522
|
+
def cdn_url(self):
|
|
523
|
+
"""Gets the cdn_url of this RawPackageUpload.
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
:return: The cdn_url of this RawPackageUpload.
|
|
527
|
+
:rtype: str
|
|
528
|
+
"""
|
|
529
|
+
return self._cdn_url
|
|
530
|
+
|
|
531
|
+
@cdn_url.setter
|
|
532
|
+
def cdn_url(self, cdn_url):
|
|
533
|
+
"""Sets the cdn_url of this RawPackageUpload.
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
:param cdn_url: The cdn_url of this RawPackageUpload.
|
|
537
|
+
:type: str
|
|
538
|
+
"""
|
|
539
|
+
|
|
540
|
+
self._cdn_url = cdn_url
|
|
541
|
+
|
|
542
|
+
@property
|
|
543
|
+
def checksum_md5(self):
|
|
544
|
+
"""Gets the checksum_md5 of this RawPackageUpload.
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
:return: The checksum_md5 of this RawPackageUpload.
|
|
548
|
+
:rtype: str
|
|
549
|
+
"""
|
|
550
|
+
return self._checksum_md5
|
|
551
|
+
|
|
552
|
+
@checksum_md5.setter
|
|
553
|
+
def checksum_md5(self, checksum_md5):
|
|
554
|
+
"""Sets the checksum_md5 of this RawPackageUpload.
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
:param checksum_md5: The checksum_md5 of this RawPackageUpload.
|
|
558
|
+
:type: str
|
|
559
|
+
"""
|
|
560
|
+
|
|
561
|
+
self._checksum_md5 = checksum_md5
|
|
562
|
+
|
|
563
|
+
@property
|
|
564
|
+
def checksum_sha1(self):
|
|
565
|
+
"""Gets the checksum_sha1 of this RawPackageUpload.
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
:return: The checksum_sha1 of this RawPackageUpload.
|
|
569
|
+
:rtype: str
|
|
570
|
+
"""
|
|
571
|
+
return self._checksum_sha1
|
|
572
|
+
|
|
573
|
+
@checksum_sha1.setter
|
|
574
|
+
def checksum_sha1(self, checksum_sha1):
|
|
575
|
+
"""Sets the checksum_sha1 of this RawPackageUpload.
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
:param checksum_sha1: The checksum_sha1 of this RawPackageUpload.
|
|
579
|
+
:type: str
|
|
580
|
+
"""
|
|
581
|
+
|
|
582
|
+
self._checksum_sha1 = checksum_sha1
|
|
583
|
+
|
|
584
|
+
@property
|
|
585
|
+
def checksum_sha256(self):
|
|
586
|
+
"""Gets the checksum_sha256 of this RawPackageUpload.
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
:return: The checksum_sha256 of this RawPackageUpload.
|
|
590
|
+
:rtype: str
|
|
591
|
+
"""
|
|
592
|
+
return self._checksum_sha256
|
|
593
|
+
|
|
594
|
+
@checksum_sha256.setter
|
|
595
|
+
def checksum_sha256(self, checksum_sha256):
|
|
596
|
+
"""Sets the checksum_sha256 of this RawPackageUpload.
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
:param checksum_sha256: The checksum_sha256 of this RawPackageUpload.
|
|
600
|
+
:type: str
|
|
601
|
+
"""
|
|
602
|
+
|
|
603
|
+
self._checksum_sha256 = checksum_sha256
|
|
604
|
+
|
|
605
|
+
@property
|
|
606
|
+
def checksum_sha512(self):
|
|
607
|
+
"""Gets the checksum_sha512 of this RawPackageUpload.
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
:return: The checksum_sha512 of this RawPackageUpload.
|
|
611
|
+
:rtype: str
|
|
612
|
+
"""
|
|
613
|
+
return self._checksum_sha512
|
|
614
|
+
|
|
615
|
+
@checksum_sha512.setter
|
|
616
|
+
def checksum_sha512(self, checksum_sha512):
|
|
617
|
+
"""Sets the checksum_sha512 of this RawPackageUpload.
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
:param checksum_sha512: The checksum_sha512 of this RawPackageUpload.
|
|
621
|
+
:type: str
|
|
622
|
+
"""
|
|
623
|
+
|
|
624
|
+
self._checksum_sha512 = checksum_sha512
|
|
625
|
+
|
|
626
|
+
@property
|
|
627
|
+
def dependencies_checksum_md5(self):
|
|
628
|
+
"""Gets the dependencies_checksum_md5 of this RawPackageUpload.
|
|
629
|
+
|
|
630
|
+
A checksum of all of the package's dependencies.
|
|
631
|
+
|
|
632
|
+
:return: The dependencies_checksum_md5 of this RawPackageUpload.
|
|
633
|
+
:rtype: str
|
|
634
|
+
"""
|
|
635
|
+
return self._dependencies_checksum_md5
|
|
636
|
+
|
|
637
|
+
@dependencies_checksum_md5.setter
|
|
638
|
+
def dependencies_checksum_md5(self, dependencies_checksum_md5):
|
|
639
|
+
"""Sets the dependencies_checksum_md5 of this RawPackageUpload.
|
|
640
|
+
|
|
641
|
+
A checksum of all of the package's dependencies.
|
|
642
|
+
|
|
643
|
+
:param dependencies_checksum_md5: The dependencies_checksum_md5 of this RawPackageUpload.
|
|
644
|
+
:type: str
|
|
645
|
+
"""
|
|
646
|
+
|
|
647
|
+
self._dependencies_checksum_md5 = dependencies_checksum_md5
|
|
648
|
+
|
|
649
|
+
@property
|
|
650
|
+
def dependencies_url(self):
|
|
651
|
+
"""Gets the dependencies_url of this RawPackageUpload.
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
:return: The dependencies_url of this RawPackageUpload.
|
|
655
|
+
:rtype: str
|
|
656
|
+
"""
|
|
657
|
+
return self._dependencies_url
|
|
658
|
+
|
|
659
|
+
@dependencies_url.setter
|
|
660
|
+
def dependencies_url(self, dependencies_url):
|
|
661
|
+
"""Sets the dependencies_url of this RawPackageUpload.
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
:param dependencies_url: The dependencies_url of this RawPackageUpload.
|
|
665
|
+
:type: str
|
|
666
|
+
"""
|
|
667
|
+
|
|
668
|
+
self._dependencies_url = dependencies_url
|
|
669
|
+
|
|
670
|
+
@property
|
|
671
|
+
def description(self):
|
|
672
|
+
"""Gets the description of this RawPackageUpload.
|
|
673
|
+
|
|
674
|
+
A textual description of this package.
|
|
675
|
+
|
|
676
|
+
:return: The description of this RawPackageUpload.
|
|
677
|
+
:rtype: str
|
|
678
|
+
"""
|
|
679
|
+
return self._description
|
|
680
|
+
|
|
681
|
+
@description.setter
|
|
682
|
+
def description(self, description):
|
|
683
|
+
"""Sets the description of this RawPackageUpload.
|
|
684
|
+
|
|
685
|
+
A textual description of this package.
|
|
686
|
+
|
|
687
|
+
:param description: The description of this RawPackageUpload.
|
|
688
|
+
:type: str
|
|
689
|
+
"""
|
|
690
|
+
if (self._configuration.client_side_validation and
|
|
691
|
+
description is not None and len(description) > 12288):
|
|
692
|
+
raise ValueError("Invalid value for `description`, length must be less than or equal to `12288`") # noqa: E501
|
|
693
|
+
|
|
694
|
+
self._description = description
|
|
695
|
+
|
|
696
|
+
@property
|
|
697
|
+
def display_name(self):
|
|
698
|
+
"""Gets the display_name of this RawPackageUpload.
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
:return: The display_name of this RawPackageUpload.
|
|
702
|
+
:rtype: str
|
|
703
|
+
"""
|
|
704
|
+
return self._display_name
|
|
705
|
+
|
|
706
|
+
@display_name.setter
|
|
707
|
+
def display_name(self, display_name):
|
|
708
|
+
"""Sets the display_name of this RawPackageUpload.
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
:param display_name: The display_name of this RawPackageUpload.
|
|
712
|
+
:type: str
|
|
713
|
+
"""
|
|
714
|
+
|
|
715
|
+
self._display_name = display_name
|
|
716
|
+
|
|
717
|
+
@property
|
|
718
|
+
def distro(self):
|
|
719
|
+
"""Gets the distro of this RawPackageUpload.
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
:return: The distro of this RawPackageUpload.
|
|
723
|
+
:rtype: Distribution
|
|
724
|
+
"""
|
|
725
|
+
return self._distro
|
|
726
|
+
|
|
727
|
+
@distro.setter
|
|
728
|
+
def distro(self, distro):
|
|
729
|
+
"""Sets the distro of this RawPackageUpload.
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
:param distro: The distro of this RawPackageUpload.
|
|
733
|
+
:type: Distribution
|
|
734
|
+
"""
|
|
735
|
+
|
|
736
|
+
self._distro = distro
|
|
737
|
+
|
|
738
|
+
@property
|
|
739
|
+
def distro_version(self):
|
|
740
|
+
"""Gets the distro_version of this RawPackageUpload.
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
:return: The distro_version of this RawPackageUpload.
|
|
744
|
+
:rtype: DistributionVersion
|
|
745
|
+
"""
|
|
746
|
+
return self._distro_version
|
|
747
|
+
|
|
748
|
+
@distro_version.setter
|
|
749
|
+
def distro_version(self, distro_version):
|
|
750
|
+
"""Sets the distro_version of this RawPackageUpload.
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
:param distro_version: The distro_version of this RawPackageUpload.
|
|
754
|
+
:type: DistributionVersion
|
|
755
|
+
"""
|
|
756
|
+
|
|
757
|
+
self._distro_version = distro_version
|
|
758
|
+
|
|
759
|
+
@property
|
|
760
|
+
def downloads(self):
|
|
761
|
+
"""Gets the downloads of this RawPackageUpload.
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
:return: The downloads of this RawPackageUpload.
|
|
765
|
+
:rtype: int
|
|
766
|
+
"""
|
|
767
|
+
return self._downloads
|
|
768
|
+
|
|
769
|
+
@downloads.setter
|
|
770
|
+
def downloads(self, downloads):
|
|
771
|
+
"""Sets the downloads of this RawPackageUpload.
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
:param downloads: The downloads of this RawPackageUpload.
|
|
775
|
+
:type: int
|
|
776
|
+
"""
|
|
777
|
+
|
|
778
|
+
self._downloads = downloads
|
|
779
|
+
|
|
780
|
+
@property
|
|
781
|
+
def epoch(self):
|
|
782
|
+
"""Gets the epoch of this RawPackageUpload.
|
|
783
|
+
|
|
784
|
+
The epoch of the package version (if any).
|
|
785
|
+
|
|
786
|
+
:return: The epoch of this RawPackageUpload.
|
|
787
|
+
:rtype: int
|
|
788
|
+
"""
|
|
789
|
+
return self._epoch
|
|
790
|
+
|
|
791
|
+
@epoch.setter
|
|
792
|
+
def epoch(self, epoch):
|
|
793
|
+
"""Sets the epoch of this RawPackageUpload.
|
|
794
|
+
|
|
795
|
+
The epoch of the package version (if any).
|
|
796
|
+
|
|
797
|
+
:param epoch: The epoch of this RawPackageUpload.
|
|
798
|
+
:type: int
|
|
799
|
+
"""
|
|
800
|
+
|
|
801
|
+
self._epoch = epoch
|
|
802
|
+
|
|
803
|
+
@property
|
|
804
|
+
def extension(self):
|
|
805
|
+
"""Gets the extension of this RawPackageUpload.
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
:return: The extension of this RawPackageUpload.
|
|
809
|
+
:rtype: str
|
|
810
|
+
"""
|
|
811
|
+
return self._extension
|
|
812
|
+
|
|
813
|
+
@extension.setter
|
|
814
|
+
def extension(self, extension):
|
|
815
|
+
"""Sets the extension of this RawPackageUpload.
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
:param extension: The extension of this RawPackageUpload.
|
|
819
|
+
:type: str
|
|
820
|
+
"""
|
|
821
|
+
|
|
822
|
+
self._extension = extension
|
|
823
|
+
|
|
824
|
+
@property
|
|
825
|
+
def filename(self):
|
|
826
|
+
"""Gets the filename of this RawPackageUpload.
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
:return: The filename of this RawPackageUpload.
|
|
830
|
+
:rtype: str
|
|
831
|
+
"""
|
|
832
|
+
return self._filename
|
|
833
|
+
|
|
834
|
+
@filename.setter
|
|
835
|
+
def filename(self, filename):
|
|
836
|
+
"""Sets the filename of this RawPackageUpload.
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
:param filename: The filename of this RawPackageUpload.
|
|
840
|
+
:type: str
|
|
841
|
+
"""
|
|
842
|
+
if (self._configuration.client_side_validation and
|
|
843
|
+
filename is not None and len(filename) < 1):
|
|
844
|
+
raise ValueError("Invalid value for `filename`, length must be greater than or equal to `1`") # noqa: E501
|
|
845
|
+
|
|
846
|
+
self._filename = filename
|
|
847
|
+
|
|
848
|
+
@property
|
|
849
|
+
def files(self):
|
|
850
|
+
"""Gets the files of this RawPackageUpload.
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
:return: The files of this RawPackageUpload.
|
|
854
|
+
:rtype: list[PackageFile]
|
|
855
|
+
"""
|
|
856
|
+
return self._files
|
|
857
|
+
|
|
858
|
+
@files.setter
|
|
859
|
+
def files(self, files):
|
|
860
|
+
"""Sets the files of this RawPackageUpload.
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
:param files: The files of this RawPackageUpload.
|
|
864
|
+
:type: list[PackageFile]
|
|
865
|
+
"""
|
|
866
|
+
|
|
867
|
+
self._files = files
|
|
868
|
+
|
|
869
|
+
@property
|
|
870
|
+
def format(self):
|
|
871
|
+
"""Gets the format of this RawPackageUpload.
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
:return: The format of this RawPackageUpload.
|
|
875
|
+
:rtype: str
|
|
876
|
+
"""
|
|
877
|
+
return self._format
|
|
878
|
+
|
|
879
|
+
@format.setter
|
|
880
|
+
def format(self, format):
|
|
881
|
+
"""Sets the format of this RawPackageUpload.
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
:param format: The format of this RawPackageUpload.
|
|
885
|
+
:type: str
|
|
886
|
+
"""
|
|
887
|
+
if (self._configuration.client_side_validation and
|
|
888
|
+
format is not None and len(format) < 1):
|
|
889
|
+
raise ValueError("Invalid value for `format`, length must be greater than or equal to `1`") # noqa: E501
|
|
890
|
+
|
|
891
|
+
self._format = format
|
|
892
|
+
|
|
893
|
+
@property
|
|
894
|
+
def format_url(self):
|
|
895
|
+
"""Gets the format_url of this RawPackageUpload.
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
:return: The format_url of this RawPackageUpload.
|
|
899
|
+
:rtype: str
|
|
900
|
+
"""
|
|
901
|
+
return self._format_url
|
|
902
|
+
|
|
903
|
+
@format_url.setter
|
|
904
|
+
def format_url(self, format_url):
|
|
905
|
+
"""Sets the format_url of this RawPackageUpload.
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
:param format_url: The format_url of this RawPackageUpload.
|
|
909
|
+
:type: str
|
|
910
|
+
"""
|
|
911
|
+
|
|
912
|
+
self._format_url = format_url
|
|
913
|
+
|
|
914
|
+
@property
|
|
915
|
+
def freeable_storage(self):
|
|
916
|
+
"""Gets the freeable_storage of this RawPackageUpload.
|
|
917
|
+
|
|
918
|
+
Amount of storage that will be freed if this package is deleted
|
|
919
|
+
|
|
920
|
+
:return: The freeable_storage of this RawPackageUpload.
|
|
921
|
+
:rtype: int
|
|
922
|
+
"""
|
|
923
|
+
return self._freeable_storage
|
|
924
|
+
|
|
925
|
+
@freeable_storage.setter
|
|
926
|
+
def freeable_storage(self, freeable_storage):
|
|
927
|
+
"""Sets the freeable_storage of this RawPackageUpload.
|
|
928
|
+
|
|
929
|
+
Amount of storage that will be freed if this package is deleted
|
|
930
|
+
|
|
931
|
+
:param freeable_storage: The freeable_storage of this RawPackageUpload.
|
|
932
|
+
:type: int
|
|
933
|
+
"""
|
|
934
|
+
|
|
935
|
+
self._freeable_storage = freeable_storage
|
|
936
|
+
|
|
937
|
+
@property
|
|
938
|
+
def fully_qualified_name(self):
|
|
939
|
+
"""Gets the fully_qualified_name of this RawPackageUpload.
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
:return: The fully_qualified_name of this RawPackageUpload.
|
|
943
|
+
:rtype: str
|
|
944
|
+
"""
|
|
945
|
+
return self._fully_qualified_name
|
|
946
|
+
|
|
947
|
+
@fully_qualified_name.setter
|
|
948
|
+
def fully_qualified_name(self, fully_qualified_name):
|
|
949
|
+
"""Sets the fully_qualified_name of this RawPackageUpload.
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
:param fully_qualified_name: The fully_qualified_name of this RawPackageUpload.
|
|
953
|
+
:type: str
|
|
954
|
+
"""
|
|
955
|
+
if (self._configuration.client_side_validation and
|
|
956
|
+
fully_qualified_name is not None and len(fully_qualified_name) < 1):
|
|
957
|
+
raise ValueError("Invalid value for `fully_qualified_name`, length must be greater than or equal to `1`") # noqa: E501
|
|
958
|
+
|
|
959
|
+
self._fully_qualified_name = fully_qualified_name
|
|
960
|
+
|
|
961
|
+
@property
|
|
962
|
+
def identifier_perm(self):
|
|
963
|
+
"""Gets the identifier_perm of this RawPackageUpload.
|
|
964
|
+
|
|
965
|
+
Unique and permanent identifier for the package.
|
|
966
|
+
|
|
967
|
+
:return: The identifier_perm of this RawPackageUpload.
|
|
968
|
+
:rtype: str
|
|
969
|
+
"""
|
|
970
|
+
return self._identifier_perm
|
|
971
|
+
|
|
972
|
+
@identifier_perm.setter
|
|
973
|
+
def identifier_perm(self, identifier_perm):
|
|
974
|
+
"""Sets the identifier_perm of this RawPackageUpload.
|
|
975
|
+
|
|
976
|
+
Unique and permanent identifier for the package.
|
|
977
|
+
|
|
978
|
+
:param identifier_perm: The identifier_perm of this RawPackageUpload.
|
|
979
|
+
:type: str
|
|
980
|
+
"""
|
|
981
|
+
if (self._configuration.client_side_validation and
|
|
982
|
+
identifier_perm is not None and len(identifier_perm) < 1):
|
|
983
|
+
raise ValueError("Invalid value for `identifier_perm`, length must be greater than or equal to `1`") # noqa: E501
|
|
984
|
+
|
|
985
|
+
self._identifier_perm = identifier_perm
|
|
986
|
+
|
|
987
|
+
@property
|
|
988
|
+
def identifiers(self):
|
|
989
|
+
"""Gets the identifiers of this RawPackageUpload.
|
|
990
|
+
|
|
991
|
+
Return a map of identifier field names and their values.
|
|
992
|
+
|
|
993
|
+
:return: The identifiers of this RawPackageUpload.
|
|
994
|
+
:rtype: dict(str, str)
|
|
995
|
+
"""
|
|
996
|
+
return self._identifiers
|
|
997
|
+
|
|
998
|
+
@identifiers.setter
|
|
999
|
+
def identifiers(self, identifiers):
|
|
1000
|
+
"""Sets the identifiers of this RawPackageUpload.
|
|
1001
|
+
|
|
1002
|
+
Return a map of identifier field names and their values.
|
|
1003
|
+
|
|
1004
|
+
:param identifiers: The identifiers of this RawPackageUpload.
|
|
1005
|
+
:type: dict(str, str)
|
|
1006
|
+
"""
|
|
1007
|
+
|
|
1008
|
+
self._identifiers = identifiers
|
|
1009
|
+
|
|
1010
|
+
@property
|
|
1011
|
+
def indexed(self):
|
|
1012
|
+
"""Gets the indexed of this RawPackageUpload.
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
:return: The indexed of this RawPackageUpload.
|
|
1016
|
+
:rtype: bool
|
|
1017
|
+
"""
|
|
1018
|
+
return self._indexed
|
|
1019
|
+
|
|
1020
|
+
@indexed.setter
|
|
1021
|
+
def indexed(self, indexed):
|
|
1022
|
+
"""Sets the indexed of this RawPackageUpload.
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
:param indexed: The indexed of this RawPackageUpload.
|
|
1026
|
+
:type: bool
|
|
1027
|
+
"""
|
|
1028
|
+
|
|
1029
|
+
self._indexed = indexed
|
|
1030
|
+
|
|
1031
|
+
@property
|
|
1032
|
+
def is_cancellable(self):
|
|
1033
|
+
"""Gets the is_cancellable of this RawPackageUpload.
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
:return: The is_cancellable of this RawPackageUpload.
|
|
1037
|
+
:rtype: bool
|
|
1038
|
+
"""
|
|
1039
|
+
return self._is_cancellable
|
|
1040
|
+
|
|
1041
|
+
@is_cancellable.setter
|
|
1042
|
+
def is_cancellable(self, is_cancellable):
|
|
1043
|
+
"""Sets the is_cancellable of this RawPackageUpload.
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
:param is_cancellable: The is_cancellable of this RawPackageUpload.
|
|
1047
|
+
:type: bool
|
|
1048
|
+
"""
|
|
1049
|
+
|
|
1050
|
+
self._is_cancellable = is_cancellable
|
|
1051
|
+
|
|
1052
|
+
@property
|
|
1053
|
+
def is_copyable(self):
|
|
1054
|
+
"""Gets the is_copyable of this RawPackageUpload.
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
:return: The is_copyable of this RawPackageUpload.
|
|
1058
|
+
:rtype: bool
|
|
1059
|
+
"""
|
|
1060
|
+
return self._is_copyable
|
|
1061
|
+
|
|
1062
|
+
@is_copyable.setter
|
|
1063
|
+
def is_copyable(self, is_copyable):
|
|
1064
|
+
"""Sets the is_copyable of this RawPackageUpload.
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
:param is_copyable: The is_copyable of this RawPackageUpload.
|
|
1068
|
+
:type: bool
|
|
1069
|
+
"""
|
|
1070
|
+
|
|
1071
|
+
self._is_copyable = is_copyable
|
|
1072
|
+
|
|
1073
|
+
@property
|
|
1074
|
+
def is_deleteable(self):
|
|
1075
|
+
"""Gets the is_deleteable of this RawPackageUpload.
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
:return: The is_deleteable of this RawPackageUpload.
|
|
1079
|
+
:rtype: bool
|
|
1080
|
+
"""
|
|
1081
|
+
return self._is_deleteable
|
|
1082
|
+
|
|
1083
|
+
@is_deleteable.setter
|
|
1084
|
+
def is_deleteable(self, is_deleteable):
|
|
1085
|
+
"""Sets the is_deleteable of this RawPackageUpload.
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
:param is_deleteable: The is_deleteable of this RawPackageUpload.
|
|
1089
|
+
:type: bool
|
|
1090
|
+
"""
|
|
1091
|
+
|
|
1092
|
+
self._is_deleteable = is_deleteable
|
|
1093
|
+
|
|
1094
|
+
@property
|
|
1095
|
+
def is_downloadable(self):
|
|
1096
|
+
"""Gets the is_downloadable of this RawPackageUpload.
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
:return: The is_downloadable of this RawPackageUpload.
|
|
1100
|
+
:rtype: bool
|
|
1101
|
+
"""
|
|
1102
|
+
return self._is_downloadable
|
|
1103
|
+
|
|
1104
|
+
@is_downloadable.setter
|
|
1105
|
+
def is_downloadable(self, is_downloadable):
|
|
1106
|
+
"""Sets the is_downloadable of this RawPackageUpload.
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
:param is_downloadable: The is_downloadable of this RawPackageUpload.
|
|
1110
|
+
:type: bool
|
|
1111
|
+
"""
|
|
1112
|
+
|
|
1113
|
+
self._is_downloadable = is_downloadable
|
|
1114
|
+
|
|
1115
|
+
@property
|
|
1116
|
+
def is_hidden(self):
|
|
1117
|
+
"""Gets the is_hidden of this RawPackageUpload.
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
:return: The is_hidden of this RawPackageUpload.
|
|
1121
|
+
:rtype: bool
|
|
1122
|
+
"""
|
|
1123
|
+
return self._is_hidden
|
|
1124
|
+
|
|
1125
|
+
@is_hidden.setter
|
|
1126
|
+
def is_hidden(self, is_hidden):
|
|
1127
|
+
"""Sets the is_hidden of this RawPackageUpload.
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
:param is_hidden: The is_hidden of this RawPackageUpload.
|
|
1131
|
+
:type: bool
|
|
1132
|
+
"""
|
|
1133
|
+
|
|
1134
|
+
self._is_hidden = is_hidden
|
|
1135
|
+
|
|
1136
|
+
@property
|
|
1137
|
+
def is_malware_detected(self):
|
|
1138
|
+
"""Gets the is_malware_detected of this RawPackageUpload.
|
|
1139
|
+
|
|
1140
|
+
Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
1141
|
+
|
|
1142
|
+
:return: The is_malware_detected of this RawPackageUpload.
|
|
1143
|
+
:rtype: bool
|
|
1144
|
+
"""
|
|
1145
|
+
return self._is_malware_detected
|
|
1146
|
+
|
|
1147
|
+
@is_malware_detected.setter
|
|
1148
|
+
def is_malware_detected(self, is_malware_detected):
|
|
1149
|
+
"""Sets the is_malware_detected of this RawPackageUpload.
|
|
1150
|
+
|
|
1151
|
+
Whether the package has been detected as containing malware. Requires Ultra plan.
|
|
1152
|
+
|
|
1153
|
+
:param is_malware_detected: The is_malware_detected of this RawPackageUpload.
|
|
1154
|
+
:type: bool
|
|
1155
|
+
"""
|
|
1156
|
+
|
|
1157
|
+
self._is_malware_detected = is_malware_detected
|
|
1158
|
+
|
|
1159
|
+
@property
|
|
1160
|
+
def is_moveable(self):
|
|
1161
|
+
"""Gets the is_moveable of this RawPackageUpload.
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
:return: The is_moveable of this RawPackageUpload.
|
|
1165
|
+
:rtype: bool
|
|
1166
|
+
"""
|
|
1167
|
+
return self._is_moveable
|
|
1168
|
+
|
|
1169
|
+
@is_moveable.setter
|
|
1170
|
+
def is_moveable(self, is_moveable):
|
|
1171
|
+
"""Sets the is_moveable of this RawPackageUpload.
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
:param is_moveable: The is_moveable of this RawPackageUpload.
|
|
1175
|
+
:type: bool
|
|
1176
|
+
"""
|
|
1177
|
+
|
|
1178
|
+
self._is_moveable = is_moveable
|
|
1179
|
+
|
|
1180
|
+
@property
|
|
1181
|
+
def is_quarantinable(self):
|
|
1182
|
+
"""Gets the is_quarantinable of this RawPackageUpload.
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
:return: The is_quarantinable of this RawPackageUpload.
|
|
1186
|
+
:rtype: bool
|
|
1187
|
+
"""
|
|
1188
|
+
return self._is_quarantinable
|
|
1189
|
+
|
|
1190
|
+
@is_quarantinable.setter
|
|
1191
|
+
def is_quarantinable(self, is_quarantinable):
|
|
1192
|
+
"""Sets the is_quarantinable of this RawPackageUpload.
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
:param is_quarantinable: The is_quarantinable of this RawPackageUpload.
|
|
1196
|
+
:type: bool
|
|
1197
|
+
"""
|
|
1198
|
+
|
|
1199
|
+
self._is_quarantinable = is_quarantinable
|
|
1200
|
+
|
|
1201
|
+
@property
|
|
1202
|
+
def is_quarantined(self):
|
|
1203
|
+
"""Gets the is_quarantined of this RawPackageUpload.
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
:return: The is_quarantined of this RawPackageUpload.
|
|
1207
|
+
:rtype: bool
|
|
1208
|
+
"""
|
|
1209
|
+
return self._is_quarantined
|
|
1210
|
+
|
|
1211
|
+
@is_quarantined.setter
|
|
1212
|
+
def is_quarantined(self, is_quarantined):
|
|
1213
|
+
"""Sets the is_quarantined of this RawPackageUpload.
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
:param is_quarantined: The is_quarantined of this RawPackageUpload.
|
|
1217
|
+
:type: bool
|
|
1218
|
+
"""
|
|
1219
|
+
|
|
1220
|
+
self._is_quarantined = is_quarantined
|
|
1221
|
+
|
|
1222
|
+
@property
|
|
1223
|
+
def is_resyncable(self):
|
|
1224
|
+
"""Gets the is_resyncable of this RawPackageUpload.
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
:return: The is_resyncable of this RawPackageUpload.
|
|
1228
|
+
:rtype: bool
|
|
1229
|
+
"""
|
|
1230
|
+
return self._is_resyncable
|
|
1231
|
+
|
|
1232
|
+
@is_resyncable.setter
|
|
1233
|
+
def is_resyncable(self, is_resyncable):
|
|
1234
|
+
"""Sets the is_resyncable of this RawPackageUpload.
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
:param is_resyncable: The is_resyncable of this RawPackageUpload.
|
|
1238
|
+
:type: bool
|
|
1239
|
+
"""
|
|
1240
|
+
|
|
1241
|
+
self._is_resyncable = is_resyncable
|
|
1242
|
+
|
|
1243
|
+
@property
|
|
1244
|
+
def is_security_scannable(self):
|
|
1245
|
+
"""Gets the is_security_scannable of this RawPackageUpload.
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
:return: The is_security_scannable of this RawPackageUpload.
|
|
1249
|
+
:rtype: bool
|
|
1250
|
+
"""
|
|
1251
|
+
return self._is_security_scannable
|
|
1252
|
+
|
|
1253
|
+
@is_security_scannable.setter
|
|
1254
|
+
def is_security_scannable(self, is_security_scannable):
|
|
1255
|
+
"""Sets the is_security_scannable of this RawPackageUpload.
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
:param is_security_scannable: The is_security_scannable of this RawPackageUpload.
|
|
1259
|
+
:type: bool
|
|
1260
|
+
"""
|
|
1261
|
+
|
|
1262
|
+
self._is_security_scannable = is_security_scannable
|
|
1263
|
+
|
|
1264
|
+
@property
|
|
1265
|
+
def is_sync_awaiting(self):
|
|
1266
|
+
"""Gets the is_sync_awaiting of this RawPackageUpload.
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
:return: The is_sync_awaiting of this RawPackageUpload.
|
|
1270
|
+
:rtype: bool
|
|
1271
|
+
"""
|
|
1272
|
+
return self._is_sync_awaiting
|
|
1273
|
+
|
|
1274
|
+
@is_sync_awaiting.setter
|
|
1275
|
+
def is_sync_awaiting(self, is_sync_awaiting):
|
|
1276
|
+
"""Sets the is_sync_awaiting of this RawPackageUpload.
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
:param is_sync_awaiting: The is_sync_awaiting of this RawPackageUpload.
|
|
1280
|
+
:type: bool
|
|
1281
|
+
"""
|
|
1282
|
+
|
|
1283
|
+
self._is_sync_awaiting = is_sync_awaiting
|
|
1284
|
+
|
|
1285
|
+
@property
|
|
1286
|
+
def is_sync_completed(self):
|
|
1287
|
+
"""Gets the is_sync_completed of this RawPackageUpload.
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
:return: The is_sync_completed of this RawPackageUpload.
|
|
1291
|
+
:rtype: bool
|
|
1292
|
+
"""
|
|
1293
|
+
return self._is_sync_completed
|
|
1294
|
+
|
|
1295
|
+
@is_sync_completed.setter
|
|
1296
|
+
def is_sync_completed(self, is_sync_completed):
|
|
1297
|
+
"""Sets the is_sync_completed of this RawPackageUpload.
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
:param is_sync_completed: The is_sync_completed of this RawPackageUpload.
|
|
1301
|
+
:type: bool
|
|
1302
|
+
"""
|
|
1303
|
+
|
|
1304
|
+
self._is_sync_completed = is_sync_completed
|
|
1305
|
+
|
|
1306
|
+
@property
|
|
1307
|
+
def is_sync_failed(self):
|
|
1308
|
+
"""Gets the is_sync_failed of this RawPackageUpload.
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
:return: The is_sync_failed of this RawPackageUpload.
|
|
1312
|
+
:rtype: bool
|
|
1313
|
+
"""
|
|
1314
|
+
return self._is_sync_failed
|
|
1315
|
+
|
|
1316
|
+
@is_sync_failed.setter
|
|
1317
|
+
def is_sync_failed(self, is_sync_failed):
|
|
1318
|
+
"""Sets the is_sync_failed of this RawPackageUpload.
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
:param is_sync_failed: The is_sync_failed of this RawPackageUpload.
|
|
1322
|
+
:type: bool
|
|
1323
|
+
"""
|
|
1324
|
+
|
|
1325
|
+
self._is_sync_failed = is_sync_failed
|
|
1326
|
+
|
|
1327
|
+
@property
|
|
1328
|
+
def is_sync_in_flight(self):
|
|
1329
|
+
"""Gets the is_sync_in_flight of this RawPackageUpload.
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
:return: The is_sync_in_flight of this RawPackageUpload.
|
|
1333
|
+
:rtype: bool
|
|
1334
|
+
"""
|
|
1335
|
+
return self._is_sync_in_flight
|
|
1336
|
+
|
|
1337
|
+
@is_sync_in_flight.setter
|
|
1338
|
+
def is_sync_in_flight(self, is_sync_in_flight):
|
|
1339
|
+
"""Sets the is_sync_in_flight of this RawPackageUpload.
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
:param is_sync_in_flight: The is_sync_in_flight of this RawPackageUpload.
|
|
1343
|
+
:type: bool
|
|
1344
|
+
"""
|
|
1345
|
+
|
|
1346
|
+
self._is_sync_in_flight = is_sync_in_flight
|
|
1347
|
+
|
|
1348
|
+
@property
|
|
1349
|
+
def is_sync_in_progress(self):
|
|
1350
|
+
"""Gets the is_sync_in_progress of this RawPackageUpload.
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
:return: The is_sync_in_progress of this RawPackageUpload.
|
|
1354
|
+
:rtype: bool
|
|
1355
|
+
"""
|
|
1356
|
+
return self._is_sync_in_progress
|
|
1357
|
+
|
|
1358
|
+
@is_sync_in_progress.setter
|
|
1359
|
+
def is_sync_in_progress(self, is_sync_in_progress):
|
|
1360
|
+
"""Sets the is_sync_in_progress of this RawPackageUpload.
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
:param is_sync_in_progress: The is_sync_in_progress of this RawPackageUpload.
|
|
1364
|
+
:type: bool
|
|
1365
|
+
"""
|
|
1366
|
+
|
|
1367
|
+
self._is_sync_in_progress = is_sync_in_progress
|
|
1368
|
+
|
|
1369
|
+
@property
|
|
1370
|
+
def license(self):
|
|
1371
|
+
"""Gets the license of this RawPackageUpload.
|
|
1372
|
+
|
|
1373
|
+
The license of this package.
|
|
1374
|
+
|
|
1375
|
+
:return: The license of this RawPackageUpload.
|
|
1376
|
+
:rtype: str
|
|
1377
|
+
"""
|
|
1378
|
+
return self._license
|
|
1379
|
+
|
|
1380
|
+
@license.setter
|
|
1381
|
+
def license(self, license):
|
|
1382
|
+
"""Sets the license of this RawPackageUpload.
|
|
1383
|
+
|
|
1384
|
+
The license of this package.
|
|
1385
|
+
|
|
1386
|
+
:param license: The license of this RawPackageUpload.
|
|
1387
|
+
:type: str
|
|
1388
|
+
"""
|
|
1389
|
+
|
|
1390
|
+
self._license = license
|
|
1391
|
+
|
|
1392
|
+
@property
|
|
1393
|
+
def name(self):
|
|
1394
|
+
"""Gets the name of this RawPackageUpload.
|
|
1395
|
+
|
|
1396
|
+
The name of this package.
|
|
1397
|
+
|
|
1398
|
+
:return: The name of this RawPackageUpload.
|
|
1399
|
+
:rtype: str
|
|
1400
|
+
"""
|
|
1401
|
+
return self._name
|
|
1402
|
+
|
|
1403
|
+
@name.setter
|
|
1404
|
+
def name(self, name):
|
|
1405
|
+
"""Sets the name of this RawPackageUpload.
|
|
1406
|
+
|
|
1407
|
+
The name of this package.
|
|
1408
|
+
|
|
1409
|
+
:param name: The name of this RawPackageUpload.
|
|
1410
|
+
:type: str
|
|
1411
|
+
"""
|
|
1412
|
+
if (self._configuration.client_side_validation and
|
|
1413
|
+
name is not None and len(name) > 200):
|
|
1414
|
+
raise ValueError("Invalid value for `name`, length must be less than or equal to `200`") # noqa: E501
|
|
1415
|
+
|
|
1416
|
+
self._name = name
|
|
1417
|
+
|
|
1418
|
+
@property
|
|
1419
|
+
def namespace(self):
|
|
1420
|
+
"""Gets the namespace of this RawPackageUpload.
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
:return: The namespace of this RawPackageUpload.
|
|
1424
|
+
:rtype: str
|
|
1425
|
+
"""
|
|
1426
|
+
return self._namespace
|
|
1427
|
+
|
|
1428
|
+
@namespace.setter
|
|
1429
|
+
def namespace(self, namespace):
|
|
1430
|
+
"""Sets the namespace of this RawPackageUpload.
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
:param namespace: The namespace of this RawPackageUpload.
|
|
1434
|
+
:type: str
|
|
1435
|
+
"""
|
|
1436
|
+
if (self._configuration.client_side_validation and
|
|
1437
|
+
namespace is not None and len(namespace) < 1):
|
|
1438
|
+
raise ValueError("Invalid value for `namespace`, length must be greater than or equal to `1`") # noqa: E501
|
|
1439
|
+
|
|
1440
|
+
self._namespace = namespace
|
|
1441
|
+
|
|
1442
|
+
@property
|
|
1443
|
+
def namespace_url(self):
|
|
1444
|
+
"""Gets the namespace_url of this RawPackageUpload.
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
:return: The namespace_url of this RawPackageUpload.
|
|
1448
|
+
:rtype: str
|
|
1449
|
+
"""
|
|
1450
|
+
return self._namespace_url
|
|
1451
|
+
|
|
1452
|
+
@namespace_url.setter
|
|
1453
|
+
def namespace_url(self, namespace_url):
|
|
1454
|
+
"""Sets the namespace_url of this RawPackageUpload.
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
:param namespace_url: The namespace_url of this RawPackageUpload.
|
|
1458
|
+
:type: str
|
|
1459
|
+
"""
|
|
1460
|
+
|
|
1461
|
+
self._namespace_url = namespace_url
|
|
1462
|
+
|
|
1463
|
+
@property
|
|
1464
|
+
def num_files(self):
|
|
1465
|
+
"""Gets the num_files of this RawPackageUpload.
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
:return: The num_files of this RawPackageUpload.
|
|
1469
|
+
:rtype: int
|
|
1470
|
+
"""
|
|
1471
|
+
return self._num_files
|
|
1472
|
+
|
|
1473
|
+
@num_files.setter
|
|
1474
|
+
def num_files(self, num_files):
|
|
1475
|
+
"""Sets the num_files of this RawPackageUpload.
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
:param num_files: The num_files of this RawPackageUpload.
|
|
1479
|
+
:type: int
|
|
1480
|
+
"""
|
|
1481
|
+
|
|
1482
|
+
self._num_files = num_files
|
|
1483
|
+
|
|
1484
|
+
@property
|
|
1485
|
+
def origin_repository(self):
|
|
1486
|
+
"""Gets the origin_repository of this RawPackageUpload.
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
:return: The origin_repository of this RawPackageUpload.
|
|
1490
|
+
:rtype: str
|
|
1491
|
+
"""
|
|
1492
|
+
return self._origin_repository
|
|
1493
|
+
|
|
1494
|
+
@origin_repository.setter
|
|
1495
|
+
def origin_repository(self, origin_repository):
|
|
1496
|
+
"""Sets the origin_repository of this RawPackageUpload.
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
:param origin_repository: The origin_repository of this RawPackageUpload.
|
|
1500
|
+
:type: str
|
|
1501
|
+
"""
|
|
1502
|
+
if (self._configuration.client_side_validation and
|
|
1503
|
+
origin_repository is not None and len(origin_repository) < 1):
|
|
1504
|
+
raise ValueError("Invalid value for `origin_repository`, length must be greater than or equal to `1`") # noqa: E501
|
|
1505
|
+
|
|
1506
|
+
self._origin_repository = origin_repository
|
|
1507
|
+
|
|
1508
|
+
@property
|
|
1509
|
+
def origin_repository_url(self):
|
|
1510
|
+
"""Gets the origin_repository_url of this RawPackageUpload.
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
:return: The origin_repository_url of this RawPackageUpload.
|
|
1514
|
+
:rtype: str
|
|
1515
|
+
"""
|
|
1516
|
+
return self._origin_repository_url
|
|
1517
|
+
|
|
1518
|
+
@origin_repository_url.setter
|
|
1519
|
+
def origin_repository_url(self, origin_repository_url):
|
|
1520
|
+
"""Sets the origin_repository_url of this RawPackageUpload.
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
:param origin_repository_url: The origin_repository_url of this RawPackageUpload.
|
|
1524
|
+
:type: str
|
|
1525
|
+
"""
|
|
1526
|
+
|
|
1527
|
+
self._origin_repository_url = origin_repository_url
|
|
1528
|
+
|
|
1529
|
+
@property
|
|
1530
|
+
def osi_approved(self):
|
|
1531
|
+
"""Gets the osi_approved of this RawPackageUpload.
|
|
1532
|
+
|
|
1533
|
+
Whether the package's SPDX license is OSI-approved.
|
|
1534
|
+
|
|
1535
|
+
:return: The osi_approved of this RawPackageUpload.
|
|
1536
|
+
:rtype: bool
|
|
1537
|
+
"""
|
|
1538
|
+
return self._osi_approved
|
|
1539
|
+
|
|
1540
|
+
@osi_approved.setter
|
|
1541
|
+
def osi_approved(self, osi_approved):
|
|
1542
|
+
"""Sets the osi_approved of this RawPackageUpload.
|
|
1543
|
+
|
|
1544
|
+
Whether the package's SPDX license is OSI-approved.
|
|
1545
|
+
|
|
1546
|
+
:param osi_approved: The osi_approved of this RawPackageUpload.
|
|
1547
|
+
:type: bool
|
|
1548
|
+
"""
|
|
1549
|
+
|
|
1550
|
+
self._osi_approved = osi_approved
|
|
1551
|
+
|
|
1552
|
+
@property
|
|
1553
|
+
def package_type(self):
|
|
1554
|
+
"""Gets the package_type of this RawPackageUpload.
|
|
1555
|
+
|
|
1556
|
+
The type of package contents.
|
|
1557
|
+
|
|
1558
|
+
:return: The package_type of this RawPackageUpload.
|
|
1559
|
+
:rtype: int
|
|
1560
|
+
"""
|
|
1561
|
+
return self._package_type
|
|
1562
|
+
|
|
1563
|
+
@package_type.setter
|
|
1564
|
+
def package_type(self, package_type):
|
|
1565
|
+
"""Sets the package_type of this RawPackageUpload.
|
|
1566
|
+
|
|
1567
|
+
The type of package contents.
|
|
1568
|
+
|
|
1569
|
+
:param package_type: The package_type of this RawPackageUpload.
|
|
1570
|
+
:type: int
|
|
1571
|
+
"""
|
|
1572
|
+
|
|
1573
|
+
self._package_type = package_type
|
|
1574
|
+
|
|
1575
|
+
@property
|
|
1576
|
+
def policy_violated(self):
|
|
1577
|
+
"""Gets the policy_violated of this RawPackageUpload.
|
|
1578
|
+
|
|
1579
|
+
Whether or not the package has violated any policy.
|
|
1580
|
+
|
|
1581
|
+
:return: The policy_violated of this RawPackageUpload.
|
|
1582
|
+
:rtype: bool
|
|
1583
|
+
"""
|
|
1584
|
+
return self._policy_violated
|
|
1585
|
+
|
|
1586
|
+
@policy_violated.setter
|
|
1587
|
+
def policy_violated(self, policy_violated):
|
|
1588
|
+
"""Sets the policy_violated of this RawPackageUpload.
|
|
1589
|
+
|
|
1590
|
+
Whether or not the package has violated any policy.
|
|
1591
|
+
|
|
1592
|
+
:param policy_violated: The policy_violated of this RawPackageUpload.
|
|
1593
|
+
:type: bool
|
|
1594
|
+
"""
|
|
1595
|
+
|
|
1596
|
+
self._policy_violated = policy_violated
|
|
1597
|
+
|
|
1598
|
+
@property
|
|
1599
|
+
def raw_license(self):
|
|
1600
|
+
"""Gets the raw_license of this RawPackageUpload.
|
|
1601
|
+
|
|
1602
|
+
The raw license string.
|
|
1603
|
+
|
|
1604
|
+
:return: The raw_license of this RawPackageUpload.
|
|
1605
|
+
:rtype: str
|
|
1606
|
+
"""
|
|
1607
|
+
return self._raw_license
|
|
1608
|
+
|
|
1609
|
+
@raw_license.setter
|
|
1610
|
+
def raw_license(self, raw_license):
|
|
1611
|
+
"""Sets the raw_license of this RawPackageUpload.
|
|
1612
|
+
|
|
1613
|
+
The raw license string.
|
|
1614
|
+
|
|
1615
|
+
:param raw_license: The raw_license of this RawPackageUpload.
|
|
1616
|
+
:type: str
|
|
1617
|
+
"""
|
|
1618
|
+
if (self._configuration.client_side_validation and
|
|
1619
|
+
raw_license is not None and len(raw_license) < 1):
|
|
1620
|
+
raise ValueError("Invalid value for `raw_license`, length must be greater than or equal to `1`") # noqa: E501
|
|
1621
|
+
|
|
1622
|
+
self._raw_license = raw_license
|
|
1623
|
+
|
|
1624
|
+
@property
|
|
1625
|
+
def release(self):
|
|
1626
|
+
"""Gets the release of this RawPackageUpload.
|
|
1627
|
+
|
|
1628
|
+
The release of the package version (if any).
|
|
1629
|
+
|
|
1630
|
+
:return: The release of this RawPackageUpload.
|
|
1631
|
+
:rtype: str
|
|
1632
|
+
"""
|
|
1633
|
+
return self._release
|
|
1634
|
+
|
|
1635
|
+
@release.setter
|
|
1636
|
+
def release(self, release):
|
|
1637
|
+
"""Sets the release of this RawPackageUpload.
|
|
1638
|
+
|
|
1639
|
+
The release of the package version (if any).
|
|
1640
|
+
|
|
1641
|
+
:param release: The release of this RawPackageUpload.
|
|
1642
|
+
:type: str
|
|
1643
|
+
"""
|
|
1644
|
+
|
|
1645
|
+
self._release = release
|
|
1646
|
+
|
|
1647
|
+
@property
|
|
1648
|
+
def repository(self):
|
|
1649
|
+
"""Gets the repository of this RawPackageUpload.
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
:return: The repository of this RawPackageUpload.
|
|
1653
|
+
:rtype: str
|
|
1654
|
+
"""
|
|
1655
|
+
return self._repository
|
|
1656
|
+
|
|
1657
|
+
@repository.setter
|
|
1658
|
+
def repository(self, repository):
|
|
1659
|
+
"""Sets the repository of this RawPackageUpload.
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
:param repository: The repository of this RawPackageUpload.
|
|
1663
|
+
:type: str
|
|
1664
|
+
"""
|
|
1665
|
+
if (self._configuration.client_side_validation and
|
|
1666
|
+
repository is not None and len(repository) < 1):
|
|
1667
|
+
raise ValueError("Invalid value for `repository`, length must be greater than or equal to `1`") # noqa: E501
|
|
1668
|
+
|
|
1669
|
+
self._repository = repository
|
|
1670
|
+
|
|
1671
|
+
@property
|
|
1672
|
+
def repository_url(self):
|
|
1673
|
+
"""Gets the repository_url of this RawPackageUpload.
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
:return: The repository_url of this RawPackageUpload.
|
|
1677
|
+
:rtype: str
|
|
1678
|
+
"""
|
|
1679
|
+
return self._repository_url
|
|
1680
|
+
|
|
1681
|
+
@repository_url.setter
|
|
1682
|
+
def repository_url(self, repository_url):
|
|
1683
|
+
"""Sets the repository_url of this RawPackageUpload.
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
:param repository_url: The repository_url of this RawPackageUpload.
|
|
1687
|
+
:type: str
|
|
1688
|
+
"""
|
|
1689
|
+
|
|
1690
|
+
self._repository_url = repository_url
|
|
1691
|
+
|
|
1692
|
+
@property
|
|
1693
|
+
def security_scan_completed_at(self):
|
|
1694
|
+
"""Gets the security_scan_completed_at of this RawPackageUpload.
|
|
1695
|
+
|
|
1696
|
+
The datetime the security scanning was completed.
|
|
1697
|
+
|
|
1698
|
+
:return: The security_scan_completed_at of this RawPackageUpload.
|
|
1699
|
+
:rtype: datetime
|
|
1700
|
+
"""
|
|
1701
|
+
return self._security_scan_completed_at
|
|
1702
|
+
|
|
1703
|
+
@security_scan_completed_at.setter
|
|
1704
|
+
def security_scan_completed_at(self, security_scan_completed_at):
|
|
1705
|
+
"""Sets the security_scan_completed_at of this RawPackageUpload.
|
|
1706
|
+
|
|
1707
|
+
The datetime the security scanning was completed.
|
|
1708
|
+
|
|
1709
|
+
:param security_scan_completed_at: The security_scan_completed_at of this RawPackageUpload.
|
|
1710
|
+
:type: datetime
|
|
1711
|
+
"""
|
|
1712
|
+
|
|
1713
|
+
self._security_scan_completed_at = security_scan_completed_at
|
|
1714
|
+
|
|
1715
|
+
@property
|
|
1716
|
+
def security_scan_started_at(self):
|
|
1717
|
+
"""Gets the security_scan_started_at of this RawPackageUpload.
|
|
1718
|
+
|
|
1719
|
+
The datetime the security scanning was started.
|
|
1720
|
+
|
|
1721
|
+
:return: The security_scan_started_at of this RawPackageUpload.
|
|
1722
|
+
:rtype: datetime
|
|
1723
|
+
"""
|
|
1724
|
+
return self._security_scan_started_at
|
|
1725
|
+
|
|
1726
|
+
@security_scan_started_at.setter
|
|
1727
|
+
def security_scan_started_at(self, security_scan_started_at):
|
|
1728
|
+
"""Sets the security_scan_started_at of this RawPackageUpload.
|
|
1729
|
+
|
|
1730
|
+
The datetime the security scanning was started.
|
|
1731
|
+
|
|
1732
|
+
:param security_scan_started_at: The security_scan_started_at of this RawPackageUpload.
|
|
1733
|
+
:type: datetime
|
|
1734
|
+
"""
|
|
1735
|
+
|
|
1736
|
+
self._security_scan_started_at = security_scan_started_at
|
|
1737
|
+
|
|
1738
|
+
@property
|
|
1739
|
+
def security_scan_status(self):
|
|
1740
|
+
"""Gets the security_scan_status of this RawPackageUpload.
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
:return: The security_scan_status of this RawPackageUpload.
|
|
1744
|
+
:rtype: str
|
|
1745
|
+
"""
|
|
1746
|
+
return self._security_scan_status
|
|
1747
|
+
|
|
1748
|
+
@security_scan_status.setter
|
|
1749
|
+
def security_scan_status(self, security_scan_status):
|
|
1750
|
+
"""Sets the security_scan_status of this RawPackageUpload.
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
:param security_scan_status: The security_scan_status of this RawPackageUpload.
|
|
1754
|
+
:type: str
|
|
1755
|
+
"""
|
|
1756
|
+
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
|
|
1757
|
+
if (self._configuration.client_side_validation and
|
|
1758
|
+
security_scan_status not in allowed_values):
|
|
1759
|
+
raise ValueError(
|
|
1760
|
+
"Invalid value for `security_scan_status` ({0}), must be one of {1}" # noqa: E501
|
|
1761
|
+
.format(security_scan_status, allowed_values)
|
|
1762
|
+
)
|
|
1763
|
+
|
|
1764
|
+
self._security_scan_status = security_scan_status
|
|
1765
|
+
|
|
1766
|
+
@property
|
|
1767
|
+
def security_scan_status_updated_at(self):
|
|
1768
|
+
"""Gets the security_scan_status_updated_at of this RawPackageUpload.
|
|
1769
|
+
|
|
1770
|
+
The datetime the security scanning status was updated.
|
|
1771
|
+
|
|
1772
|
+
:return: The security_scan_status_updated_at of this RawPackageUpload.
|
|
1773
|
+
:rtype: datetime
|
|
1774
|
+
"""
|
|
1775
|
+
return self._security_scan_status_updated_at
|
|
1776
|
+
|
|
1777
|
+
@security_scan_status_updated_at.setter
|
|
1778
|
+
def security_scan_status_updated_at(self, security_scan_status_updated_at):
|
|
1779
|
+
"""Sets the security_scan_status_updated_at of this RawPackageUpload.
|
|
1780
|
+
|
|
1781
|
+
The datetime the security scanning status was updated.
|
|
1782
|
+
|
|
1783
|
+
:param security_scan_status_updated_at: The security_scan_status_updated_at of this RawPackageUpload.
|
|
1784
|
+
:type: datetime
|
|
1785
|
+
"""
|
|
1786
|
+
|
|
1787
|
+
self._security_scan_status_updated_at = security_scan_status_updated_at
|
|
1788
|
+
|
|
1789
|
+
@property
|
|
1790
|
+
def self_html_url(self):
|
|
1791
|
+
"""Gets the self_html_url of this RawPackageUpload.
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
:return: The self_html_url of this RawPackageUpload.
|
|
1795
|
+
:rtype: str
|
|
1796
|
+
"""
|
|
1797
|
+
return self._self_html_url
|
|
1798
|
+
|
|
1799
|
+
@self_html_url.setter
|
|
1800
|
+
def self_html_url(self, self_html_url):
|
|
1801
|
+
"""Sets the self_html_url of this RawPackageUpload.
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
:param self_html_url: The self_html_url of this RawPackageUpload.
|
|
1805
|
+
:type: str
|
|
1806
|
+
"""
|
|
1807
|
+
if (self._configuration.client_side_validation and
|
|
1808
|
+
self_html_url is not None and len(self_html_url) < 1):
|
|
1809
|
+
raise ValueError("Invalid value for `self_html_url`, length must be greater than or equal to `1`") # noqa: E501
|
|
1810
|
+
|
|
1811
|
+
self._self_html_url = self_html_url
|
|
1812
|
+
|
|
1813
|
+
@property
|
|
1814
|
+
def self_url(self):
|
|
1815
|
+
"""Gets the self_url of this RawPackageUpload.
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
:return: The self_url of this RawPackageUpload.
|
|
1819
|
+
:rtype: str
|
|
1820
|
+
"""
|
|
1821
|
+
return self._self_url
|
|
1822
|
+
|
|
1823
|
+
@self_url.setter
|
|
1824
|
+
def self_url(self, self_url):
|
|
1825
|
+
"""Sets the self_url of this RawPackageUpload.
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
:param self_url: The self_url of this RawPackageUpload.
|
|
1829
|
+
:type: str
|
|
1830
|
+
"""
|
|
1831
|
+
|
|
1832
|
+
self._self_url = self_url
|
|
1833
|
+
|
|
1834
|
+
@property
|
|
1835
|
+
def self_webapp_url(self):
|
|
1836
|
+
"""Gets the self_webapp_url of this RawPackageUpload.
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
:return: The self_webapp_url of this RawPackageUpload.
|
|
1840
|
+
:rtype: str
|
|
1841
|
+
"""
|
|
1842
|
+
return self._self_webapp_url
|
|
1843
|
+
|
|
1844
|
+
@self_webapp_url.setter
|
|
1845
|
+
def self_webapp_url(self, self_webapp_url):
|
|
1846
|
+
"""Sets the self_webapp_url of this RawPackageUpload.
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
:param self_webapp_url: The self_webapp_url of this RawPackageUpload.
|
|
1850
|
+
:type: str
|
|
1851
|
+
"""
|
|
1852
|
+
if (self._configuration.client_side_validation and
|
|
1853
|
+
self_webapp_url is not None and len(self_webapp_url) < 1):
|
|
1854
|
+
raise ValueError("Invalid value for `self_webapp_url`, length must be greater than or equal to `1`") # noqa: E501
|
|
1855
|
+
|
|
1856
|
+
self._self_webapp_url = self_webapp_url
|
|
1857
|
+
|
|
1858
|
+
@property
|
|
1859
|
+
def signature_url(self):
|
|
1860
|
+
"""Gets the signature_url of this RawPackageUpload.
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
:return: The signature_url of this RawPackageUpload.
|
|
1864
|
+
:rtype: str
|
|
1865
|
+
"""
|
|
1866
|
+
return self._signature_url
|
|
1867
|
+
|
|
1868
|
+
@signature_url.setter
|
|
1869
|
+
def signature_url(self, signature_url):
|
|
1870
|
+
"""Sets the signature_url of this RawPackageUpload.
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
:param signature_url: The signature_url of this RawPackageUpload.
|
|
1874
|
+
:type: str
|
|
1875
|
+
"""
|
|
1876
|
+
|
|
1877
|
+
self._signature_url = signature_url
|
|
1878
|
+
|
|
1879
|
+
@property
|
|
1880
|
+
def size(self):
|
|
1881
|
+
"""Gets the size of this RawPackageUpload.
|
|
1882
|
+
|
|
1883
|
+
The calculated size of the package.
|
|
1884
|
+
|
|
1885
|
+
:return: The size of this RawPackageUpload.
|
|
1886
|
+
:rtype: int
|
|
1887
|
+
"""
|
|
1888
|
+
return self._size
|
|
1889
|
+
|
|
1890
|
+
@size.setter
|
|
1891
|
+
def size(self, size):
|
|
1892
|
+
"""Sets the size of this RawPackageUpload.
|
|
1893
|
+
|
|
1894
|
+
The calculated size of the package.
|
|
1895
|
+
|
|
1896
|
+
:param size: The size of this RawPackageUpload.
|
|
1897
|
+
:type: int
|
|
1898
|
+
"""
|
|
1899
|
+
|
|
1900
|
+
self._size = size
|
|
1901
|
+
|
|
1902
|
+
@property
|
|
1903
|
+
def slug(self):
|
|
1904
|
+
"""Gets the slug of this RawPackageUpload.
|
|
1905
|
+
|
|
1906
|
+
The public unique identifier for the package.
|
|
1907
|
+
|
|
1908
|
+
:return: The slug of this RawPackageUpload.
|
|
1909
|
+
:rtype: str
|
|
1910
|
+
"""
|
|
1911
|
+
return self._slug
|
|
1912
|
+
|
|
1913
|
+
@slug.setter
|
|
1914
|
+
def slug(self, slug):
|
|
1915
|
+
"""Sets the slug of this RawPackageUpload.
|
|
1916
|
+
|
|
1917
|
+
The public unique identifier for the package.
|
|
1918
|
+
|
|
1919
|
+
:param slug: The slug of this RawPackageUpload.
|
|
1920
|
+
:type: str
|
|
1921
|
+
"""
|
|
1922
|
+
if (self._configuration.client_side_validation and
|
|
1923
|
+
slug is not None and len(slug) < 1):
|
|
1924
|
+
raise ValueError("Invalid value for `slug`, length must be greater than or equal to `1`") # noqa: E501
|
|
1925
|
+
if (self._configuration.client_side_validation and
|
|
1926
|
+
slug is not None and not re.search('^[-a-zA-Z0-9_]+$', slug)): # noqa: E501
|
|
1927
|
+
raise ValueError(r"Invalid value for `slug`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
|
|
1928
|
+
|
|
1929
|
+
self._slug = slug
|
|
1930
|
+
|
|
1931
|
+
@property
|
|
1932
|
+
def slug_perm(self):
|
|
1933
|
+
"""Gets the slug_perm of this RawPackageUpload.
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
:return: The slug_perm of this RawPackageUpload.
|
|
1937
|
+
:rtype: str
|
|
1938
|
+
"""
|
|
1939
|
+
return self._slug_perm
|
|
1940
|
+
|
|
1941
|
+
@slug_perm.setter
|
|
1942
|
+
def slug_perm(self, slug_perm):
|
|
1943
|
+
"""Sets the slug_perm of this RawPackageUpload.
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
:param slug_perm: The slug_perm of this RawPackageUpload.
|
|
1947
|
+
:type: str
|
|
1948
|
+
"""
|
|
1949
|
+
if (self._configuration.client_side_validation and
|
|
1950
|
+
slug_perm is not None and len(slug_perm) < 1):
|
|
1951
|
+
raise ValueError("Invalid value for `slug_perm`, length must be greater than or equal to `1`") # noqa: E501
|
|
1952
|
+
if (self._configuration.client_side_validation and
|
|
1953
|
+
slug_perm is not None and not re.search('^[-a-zA-Z0-9_]+$', slug_perm)): # noqa: E501
|
|
1954
|
+
raise ValueError(r"Invalid value for `slug_perm`, must be a follow pattern or equal to `/^[-a-zA-Z0-9_]+$/`") # noqa: E501
|
|
1955
|
+
|
|
1956
|
+
self._slug_perm = slug_perm
|
|
1957
|
+
|
|
1958
|
+
@property
|
|
1959
|
+
def spdx_license(self):
|
|
1960
|
+
"""Gets the spdx_license of this RawPackageUpload.
|
|
1961
|
+
|
|
1962
|
+
The SPDX license identifier for this package.
|
|
1963
|
+
|
|
1964
|
+
:return: The spdx_license of this RawPackageUpload.
|
|
1965
|
+
:rtype: str
|
|
1966
|
+
"""
|
|
1967
|
+
return self._spdx_license
|
|
1968
|
+
|
|
1969
|
+
@spdx_license.setter
|
|
1970
|
+
def spdx_license(self, spdx_license):
|
|
1971
|
+
"""Sets the spdx_license of this RawPackageUpload.
|
|
1972
|
+
|
|
1973
|
+
The SPDX license identifier for this package.
|
|
1974
|
+
|
|
1975
|
+
:param spdx_license: The spdx_license of this RawPackageUpload.
|
|
1976
|
+
:type: str
|
|
1977
|
+
"""
|
|
1978
|
+
if (self._configuration.client_side_validation and
|
|
1979
|
+
spdx_license is not None and len(spdx_license) < 1):
|
|
1980
|
+
raise ValueError("Invalid value for `spdx_license`, length must be greater than or equal to `1`") # noqa: E501
|
|
1981
|
+
|
|
1982
|
+
self._spdx_license = spdx_license
|
|
1983
|
+
|
|
1984
|
+
@property
|
|
1985
|
+
def stage(self):
|
|
1986
|
+
"""Gets the stage of this RawPackageUpload.
|
|
1987
|
+
|
|
1988
|
+
The synchronisation (in progress) stage of the package.
|
|
1989
|
+
|
|
1990
|
+
:return: The stage of this RawPackageUpload.
|
|
1991
|
+
:rtype: int
|
|
1992
|
+
"""
|
|
1993
|
+
return self._stage
|
|
1994
|
+
|
|
1995
|
+
@stage.setter
|
|
1996
|
+
def stage(self, stage):
|
|
1997
|
+
"""Sets the stage of this RawPackageUpload.
|
|
1998
|
+
|
|
1999
|
+
The synchronisation (in progress) stage of the package.
|
|
2000
|
+
|
|
2001
|
+
:param stage: The stage of this RawPackageUpload.
|
|
2002
|
+
:type: int
|
|
2003
|
+
"""
|
|
2004
|
+
|
|
2005
|
+
self._stage = stage
|
|
2006
|
+
|
|
2007
|
+
@property
|
|
2008
|
+
def stage_str(self):
|
|
2009
|
+
"""Gets the stage_str of this RawPackageUpload.
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
|
+
:return: The stage_str of this RawPackageUpload.
|
|
2013
|
+
:rtype: str
|
|
2014
|
+
"""
|
|
2015
|
+
return self._stage_str
|
|
2016
|
+
|
|
2017
|
+
@stage_str.setter
|
|
2018
|
+
def stage_str(self, stage_str):
|
|
2019
|
+
"""Sets the stage_str of this RawPackageUpload.
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
:param stage_str: The stage_str of this RawPackageUpload.
|
|
2023
|
+
:type: str
|
|
2024
|
+
"""
|
|
2025
|
+
|
|
2026
|
+
self._stage_str = stage_str
|
|
2027
|
+
|
|
2028
|
+
@property
|
|
2029
|
+
def stage_updated_at(self):
|
|
2030
|
+
"""Gets the stage_updated_at of this RawPackageUpload.
|
|
2031
|
+
|
|
2032
|
+
The datetime the package stage was updated at.
|
|
2033
|
+
|
|
2034
|
+
:return: The stage_updated_at of this RawPackageUpload.
|
|
2035
|
+
:rtype: datetime
|
|
2036
|
+
"""
|
|
2037
|
+
return self._stage_updated_at
|
|
2038
|
+
|
|
2039
|
+
@stage_updated_at.setter
|
|
2040
|
+
def stage_updated_at(self, stage_updated_at):
|
|
2041
|
+
"""Sets the stage_updated_at of this RawPackageUpload.
|
|
2042
|
+
|
|
2043
|
+
The datetime the package stage was updated at.
|
|
2044
|
+
|
|
2045
|
+
:param stage_updated_at: The stage_updated_at of this RawPackageUpload.
|
|
2046
|
+
:type: datetime
|
|
2047
|
+
"""
|
|
2048
|
+
|
|
2049
|
+
self._stage_updated_at = stage_updated_at
|
|
2050
|
+
|
|
2051
|
+
@property
|
|
2052
|
+
def status(self):
|
|
2053
|
+
"""Gets the status of this RawPackageUpload.
|
|
2054
|
+
|
|
2055
|
+
The synchronisation status of the package.
|
|
2056
|
+
|
|
2057
|
+
:return: The status of this RawPackageUpload.
|
|
2058
|
+
:rtype: int
|
|
2059
|
+
"""
|
|
2060
|
+
return self._status
|
|
2061
|
+
|
|
2062
|
+
@status.setter
|
|
2063
|
+
def status(self, status):
|
|
2064
|
+
"""Sets the status of this RawPackageUpload.
|
|
2065
|
+
|
|
2066
|
+
The synchronisation status of the package.
|
|
2067
|
+
|
|
2068
|
+
:param status: The status of this RawPackageUpload.
|
|
2069
|
+
:type: int
|
|
2070
|
+
"""
|
|
2071
|
+
|
|
2072
|
+
self._status = status
|
|
2073
|
+
|
|
2074
|
+
@property
|
|
2075
|
+
def status_reason(self):
|
|
2076
|
+
"""Gets the status_reason of this RawPackageUpload.
|
|
2077
|
+
|
|
2078
|
+
A textual description for the synchronous status reason (if any
|
|
2079
|
+
|
|
2080
|
+
:return: The status_reason of this RawPackageUpload.
|
|
2081
|
+
:rtype: str
|
|
2082
|
+
"""
|
|
2083
|
+
return self._status_reason
|
|
2084
|
+
|
|
2085
|
+
@status_reason.setter
|
|
2086
|
+
def status_reason(self, status_reason):
|
|
2087
|
+
"""Sets the status_reason of this RawPackageUpload.
|
|
2088
|
+
|
|
2089
|
+
A textual description for the synchronous status reason (if any
|
|
2090
|
+
|
|
2091
|
+
:param status_reason: The status_reason of this RawPackageUpload.
|
|
2092
|
+
:type: str
|
|
2093
|
+
"""
|
|
2094
|
+
|
|
2095
|
+
self._status_reason = status_reason
|
|
2096
|
+
|
|
2097
|
+
@property
|
|
2098
|
+
def status_str(self):
|
|
2099
|
+
"""Gets the status_str of this RawPackageUpload.
|
|
2100
|
+
|
|
2101
|
+
|
|
2102
|
+
:return: The status_str of this RawPackageUpload.
|
|
2103
|
+
:rtype: str
|
|
2104
|
+
"""
|
|
2105
|
+
return self._status_str
|
|
2106
|
+
|
|
2107
|
+
@status_str.setter
|
|
2108
|
+
def status_str(self, status_str):
|
|
2109
|
+
"""Sets the status_str of this RawPackageUpload.
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
:param status_str: The status_str of this RawPackageUpload.
|
|
2113
|
+
:type: str
|
|
2114
|
+
"""
|
|
2115
|
+
|
|
2116
|
+
self._status_str = status_str
|
|
2117
|
+
|
|
2118
|
+
@property
|
|
2119
|
+
def status_updated_at(self):
|
|
2120
|
+
"""Gets the status_updated_at of this RawPackageUpload.
|
|
2121
|
+
|
|
2122
|
+
The datetime the package status was updated at.
|
|
2123
|
+
|
|
2124
|
+
:return: The status_updated_at of this RawPackageUpload.
|
|
2125
|
+
:rtype: datetime
|
|
2126
|
+
"""
|
|
2127
|
+
return self._status_updated_at
|
|
2128
|
+
|
|
2129
|
+
@status_updated_at.setter
|
|
2130
|
+
def status_updated_at(self, status_updated_at):
|
|
2131
|
+
"""Sets the status_updated_at of this RawPackageUpload.
|
|
2132
|
+
|
|
2133
|
+
The datetime the package status was updated at.
|
|
2134
|
+
|
|
2135
|
+
:param status_updated_at: The status_updated_at of this RawPackageUpload.
|
|
2136
|
+
:type: datetime
|
|
2137
|
+
"""
|
|
2138
|
+
|
|
2139
|
+
self._status_updated_at = status_updated_at
|
|
2140
|
+
|
|
2141
|
+
@property
|
|
2142
|
+
def status_url(self):
|
|
2143
|
+
"""Gets the status_url of this RawPackageUpload.
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
:return: The status_url of this RawPackageUpload.
|
|
2147
|
+
:rtype: str
|
|
2148
|
+
"""
|
|
2149
|
+
return self._status_url
|
|
2150
|
+
|
|
2151
|
+
@status_url.setter
|
|
2152
|
+
def status_url(self, status_url):
|
|
2153
|
+
"""Sets the status_url of this RawPackageUpload.
|
|
2154
|
+
|
|
2155
|
+
|
|
2156
|
+
:param status_url: The status_url of this RawPackageUpload.
|
|
2157
|
+
:type: str
|
|
2158
|
+
"""
|
|
2159
|
+
|
|
2160
|
+
self._status_url = status_url
|
|
2161
|
+
|
|
2162
|
+
@property
|
|
2163
|
+
def store_path(self):
|
|
2164
|
+
"""Gets the store_path of this RawPackageUpload.
|
|
2165
|
+
|
|
2166
|
+
Absolute store path for the package, including store hash and name.
|
|
2167
|
+
|
|
2168
|
+
:return: The store_path of this RawPackageUpload.
|
|
2169
|
+
:rtype: str
|
|
2170
|
+
"""
|
|
2171
|
+
return self._store_path
|
|
2172
|
+
|
|
2173
|
+
@store_path.setter
|
|
2174
|
+
def store_path(self, store_path):
|
|
2175
|
+
"""Sets the store_path of this RawPackageUpload.
|
|
2176
|
+
|
|
2177
|
+
Absolute store path for the package, including store hash and name.
|
|
2178
|
+
|
|
2179
|
+
:param store_path: The store_path of this RawPackageUpload.
|
|
2180
|
+
:type: str
|
|
2181
|
+
"""
|
|
2182
|
+
if (self._configuration.client_side_validation and
|
|
2183
|
+
store_path is not None and len(store_path) < 1):
|
|
2184
|
+
raise ValueError("Invalid value for `store_path`, length must be greater than or equal to `1`") # noqa: E501
|
|
2185
|
+
|
|
2186
|
+
self._store_path = store_path
|
|
2187
|
+
|
|
2188
|
+
@property
|
|
2189
|
+
def subtype(self):
|
|
2190
|
+
"""Gets the subtype of this RawPackageUpload.
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
:return: The subtype of this RawPackageUpload.
|
|
2194
|
+
:rtype: str
|
|
2195
|
+
"""
|
|
2196
|
+
return self._subtype
|
|
2197
|
+
|
|
2198
|
+
@subtype.setter
|
|
2199
|
+
def subtype(self, subtype):
|
|
2200
|
+
"""Sets the subtype of this RawPackageUpload.
|
|
2201
|
+
|
|
2202
|
+
|
|
2203
|
+
:param subtype: The subtype of this RawPackageUpload.
|
|
2204
|
+
:type: str
|
|
2205
|
+
"""
|
|
2206
|
+
|
|
2207
|
+
self._subtype = subtype
|
|
2208
|
+
|
|
2209
|
+
@property
|
|
2210
|
+
def summary(self):
|
|
2211
|
+
"""Gets the summary of this RawPackageUpload.
|
|
2212
|
+
|
|
2213
|
+
A one-liner synopsis of this package.
|
|
2214
|
+
|
|
2215
|
+
:return: The summary of this RawPackageUpload.
|
|
2216
|
+
:rtype: str
|
|
2217
|
+
"""
|
|
2218
|
+
return self._summary
|
|
2219
|
+
|
|
2220
|
+
@summary.setter
|
|
2221
|
+
def summary(self, summary):
|
|
2222
|
+
"""Sets the summary of this RawPackageUpload.
|
|
2223
|
+
|
|
2224
|
+
A one-liner synopsis of this package.
|
|
2225
|
+
|
|
2226
|
+
:param summary: The summary of this RawPackageUpload.
|
|
2227
|
+
:type: str
|
|
2228
|
+
"""
|
|
2229
|
+
if (self._configuration.client_side_validation and
|
|
2230
|
+
summary is not None and len(summary) > 255):
|
|
2231
|
+
raise ValueError("Invalid value for `summary`, length must be less than or equal to `255`") # noqa: E501
|
|
2232
|
+
|
|
2233
|
+
self._summary = summary
|
|
2234
|
+
|
|
2235
|
+
@property
|
|
2236
|
+
def sync_finished_at(self):
|
|
2237
|
+
"""Gets the sync_finished_at of this RawPackageUpload.
|
|
2238
|
+
|
|
2239
|
+
The datetime the package sync was finished at.
|
|
2240
|
+
|
|
2241
|
+
:return: The sync_finished_at of this RawPackageUpload.
|
|
2242
|
+
:rtype: datetime
|
|
2243
|
+
"""
|
|
2244
|
+
return self._sync_finished_at
|
|
2245
|
+
|
|
2246
|
+
@sync_finished_at.setter
|
|
2247
|
+
def sync_finished_at(self, sync_finished_at):
|
|
2248
|
+
"""Sets the sync_finished_at of this RawPackageUpload.
|
|
2249
|
+
|
|
2250
|
+
The datetime the package sync was finished at.
|
|
2251
|
+
|
|
2252
|
+
:param sync_finished_at: The sync_finished_at of this RawPackageUpload.
|
|
2253
|
+
:type: datetime
|
|
2254
|
+
"""
|
|
2255
|
+
|
|
2256
|
+
self._sync_finished_at = sync_finished_at
|
|
2257
|
+
|
|
2258
|
+
@property
|
|
2259
|
+
def sync_progress(self):
|
|
2260
|
+
"""Gets the sync_progress of this RawPackageUpload.
|
|
2261
|
+
|
|
2262
|
+
Synchronisation progress (from 0-100)
|
|
2263
|
+
|
|
2264
|
+
:return: The sync_progress of this RawPackageUpload.
|
|
2265
|
+
:rtype: int
|
|
2266
|
+
"""
|
|
2267
|
+
return self._sync_progress
|
|
2268
|
+
|
|
2269
|
+
@sync_progress.setter
|
|
2270
|
+
def sync_progress(self, sync_progress):
|
|
2271
|
+
"""Sets the sync_progress of this RawPackageUpload.
|
|
2272
|
+
|
|
2273
|
+
Synchronisation progress (from 0-100)
|
|
2274
|
+
|
|
2275
|
+
:param sync_progress: The sync_progress of this RawPackageUpload.
|
|
2276
|
+
:type: int
|
|
2277
|
+
"""
|
|
2278
|
+
|
|
2279
|
+
self._sync_progress = sync_progress
|
|
2280
|
+
|
|
2281
|
+
@property
|
|
2282
|
+
def tags_automatic(self):
|
|
2283
|
+
"""Gets the tags_automatic of this RawPackageUpload.
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
:return: The tags_automatic of this RawPackageUpload.
|
|
2287
|
+
:rtype: Tags
|
|
2288
|
+
"""
|
|
2289
|
+
return self._tags_automatic
|
|
2290
|
+
|
|
2291
|
+
@tags_automatic.setter
|
|
2292
|
+
def tags_automatic(self, tags_automatic):
|
|
2293
|
+
"""Sets the tags_automatic of this RawPackageUpload.
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
:param tags_automatic: The tags_automatic of this RawPackageUpload.
|
|
2297
|
+
:type: Tags
|
|
2298
|
+
"""
|
|
2299
|
+
|
|
2300
|
+
self._tags_automatic = tags_automatic
|
|
2301
|
+
|
|
2302
|
+
@property
|
|
2303
|
+
def tags_immutable(self):
|
|
2304
|
+
"""Gets the tags_immutable of this RawPackageUpload.
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
:return: The tags_immutable of this RawPackageUpload.
|
|
2308
|
+
:rtype: Tags
|
|
2309
|
+
"""
|
|
2310
|
+
return self._tags_immutable
|
|
2311
|
+
|
|
2312
|
+
@tags_immutable.setter
|
|
2313
|
+
def tags_immutable(self, tags_immutable):
|
|
2314
|
+
"""Sets the tags_immutable of this RawPackageUpload.
|
|
2315
|
+
|
|
2316
|
+
|
|
2317
|
+
:param tags_immutable: The tags_immutable of this RawPackageUpload.
|
|
2318
|
+
:type: Tags
|
|
2319
|
+
"""
|
|
2320
|
+
|
|
2321
|
+
self._tags_immutable = tags_immutable
|
|
2322
|
+
|
|
2323
|
+
@property
|
|
2324
|
+
def tags_static(self):
|
|
2325
|
+
"""Gets the tags_static of this RawPackageUpload.
|
|
2326
|
+
|
|
2327
|
+
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.
|
|
2328
|
+
|
|
2329
|
+
:return: The tags_static of this RawPackageUpload.
|
|
2330
|
+
:rtype: dict(str, list[str])
|
|
2331
|
+
"""
|
|
2332
|
+
return self._tags_static
|
|
2333
|
+
|
|
2334
|
+
@tags_static.setter
|
|
2335
|
+
def tags_static(self, tags_static):
|
|
2336
|
+
"""Sets the tags_static of this RawPackageUpload.
|
|
2337
|
+
|
|
2338
|
+
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.
|
|
2339
|
+
|
|
2340
|
+
:param tags_static: The tags_static of this RawPackageUpload.
|
|
2341
|
+
:type: dict(str, list[str])
|
|
2342
|
+
"""
|
|
2343
|
+
|
|
2344
|
+
self._tags_static = tags_static
|
|
2345
|
+
|
|
2346
|
+
@property
|
|
2347
|
+
def type_display(self):
|
|
2348
|
+
"""Gets the type_display of this RawPackageUpload.
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
:return: The type_display of this RawPackageUpload.
|
|
2352
|
+
:rtype: str
|
|
2353
|
+
"""
|
|
2354
|
+
return self._type_display
|
|
2355
|
+
|
|
2356
|
+
@type_display.setter
|
|
2357
|
+
def type_display(self, type_display):
|
|
2358
|
+
"""Sets the type_display of this RawPackageUpload.
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
:param type_display: The type_display of this RawPackageUpload.
|
|
2362
|
+
:type: str
|
|
2363
|
+
"""
|
|
2364
|
+
|
|
2365
|
+
self._type_display = type_display
|
|
2366
|
+
|
|
2367
|
+
@property
|
|
2368
|
+
def uploaded_at(self):
|
|
2369
|
+
"""Gets the uploaded_at of this RawPackageUpload.
|
|
2370
|
+
|
|
2371
|
+
The date this package was uploaded.
|
|
2372
|
+
|
|
2373
|
+
:return: The uploaded_at of this RawPackageUpload.
|
|
2374
|
+
:rtype: datetime
|
|
2375
|
+
"""
|
|
2376
|
+
return self._uploaded_at
|
|
2377
|
+
|
|
2378
|
+
@uploaded_at.setter
|
|
2379
|
+
def uploaded_at(self, uploaded_at):
|
|
2380
|
+
"""Sets the uploaded_at of this RawPackageUpload.
|
|
2381
|
+
|
|
2382
|
+
The date this package was uploaded.
|
|
2383
|
+
|
|
2384
|
+
:param uploaded_at: The uploaded_at of this RawPackageUpload.
|
|
2385
|
+
:type: datetime
|
|
2386
|
+
"""
|
|
2387
|
+
|
|
2388
|
+
self._uploaded_at = uploaded_at
|
|
2389
|
+
|
|
2390
|
+
@property
|
|
2391
|
+
def uploader(self):
|
|
2392
|
+
"""Gets the uploader of this RawPackageUpload.
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
:return: The uploader of this RawPackageUpload.
|
|
2396
|
+
:rtype: str
|
|
2397
|
+
"""
|
|
2398
|
+
return self._uploader
|
|
2399
|
+
|
|
2400
|
+
@uploader.setter
|
|
2401
|
+
def uploader(self, uploader):
|
|
2402
|
+
"""Sets the uploader of this RawPackageUpload.
|
|
2403
|
+
|
|
2404
|
+
|
|
2405
|
+
:param uploader: The uploader of this RawPackageUpload.
|
|
2406
|
+
:type: str
|
|
2407
|
+
"""
|
|
2408
|
+
if (self._configuration.client_side_validation and
|
|
2409
|
+
uploader is not None and len(uploader) < 1):
|
|
2410
|
+
raise ValueError("Invalid value for `uploader`, length must be greater than or equal to `1`") # noqa: E501
|
|
2411
|
+
|
|
2412
|
+
self._uploader = uploader
|
|
2413
|
+
|
|
2414
|
+
@property
|
|
2415
|
+
def uploader_url(self):
|
|
2416
|
+
"""Gets the uploader_url of this RawPackageUpload.
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
:return: The uploader_url of this RawPackageUpload.
|
|
2420
|
+
:rtype: str
|
|
2421
|
+
"""
|
|
2422
|
+
return self._uploader_url
|
|
2423
|
+
|
|
2424
|
+
@uploader_url.setter
|
|
2425
|
+
def uploader_url(self, uploader_url):
|
|
2426
|
+
"""Sets the uploader_url of this RawPackageUpload.
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
:param uploader_url: The uploader_url of this RawPackageUpload.
|
|
2430
|
+
:type: str
|
|
2431
|
+
"""
|
|
2432
|
+
|
|
2433
|
+
self._uploader_url = uploader_url
|
|
2434
|
+
|
|
2435
|
+
@property
|
|
2436
|
+
def version(self):
|
|
2437
|
+
"""Gets the version of this RawPackageUpload.
|
|
2438
|
+
|
|
2439
|
+
The raw version for this package.
|
|
2440
|
+
|
|
2441
|
+
:return: The version of this RawPackageUpload.
|
|
2442
|
+
:rtype: str
|
|
2443
|
+
"""
|
|
2444
|
+
return self._version
|
|
2445
|
+
|
|
2446
|
+
@version.setter
|
|
2447
|
+
def version(self, version):
|
|
2448
|
+
"""Sets the version of this RawPackageUpload.
|
|
2449
|
+
|
|
2450
|
+
The raw version for this package.
|
|
2451
|
+
|
|
2452
|
+
:param version: The version of this RawPackageUpload.
|
|
2453
|
+
:type: str
|
|
2454
|
+
"""
|
|
2455
|
+
if (self._configuration.client_side_validation and
|
|
2456
|
+
version is not None and len(version) > 255):
|
|
2457
|
+
raise ValueError("Invalid value for `version`, length must be less than or equal to `255`") # noqa: E501
|
|
2458
|
+
|
|
2459
|
+
self._version = version
|
|
2460
|
+
|
|
2461
|
+
@property
|
|
2462
|
+
def version_orig(self):
|
|
2463
|
+
"""Gets the version_orig of this RawPackageUpload.
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
:return: The version_orig of this RawPackageUpload.
|
|
2467
|
+
:rtype: str
|
|
2468
|
+
"""
|
|
2469
|
+
return self._version_orig
|
|
2470
|
+
|
|
2471
|
+
@version_orig.setter
|
|
2472
|
+
def version_orig(self, version_orig):
|
|
2473
|
+
"""Sets the version_orig of this RawPackageUpload.
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
:param version_orig: The version_orig of this RawPackageUpload.
|
|
2477
|
+
:type: str
|
|
2478
|
+
"""
|
|
2479
|
+
|
|
2480
|
+
self._version_orig = version_orig
|
|
2481
|
+
|
|
2482
|
+
@property
|
|
2483
|
+
def vulnerability_counts(self):
|
|
2484
|
+
"""Gets the vulnerability_counts of this RawPackageUpload.
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
:return: The vulnerability_counts of this RawPackageUpload.
|
|
2488
|
+
:rtype: WebOSVSeverityCounts
|
|
2489
|
+
"""
|
|
2490
|
+
return self._vulnerability_counts
|
|
2491
|
+
|
|
2492
|
+
@vulnerability_counts.setter
|
|
2493
|
+
def vulnerability_counts(self, vulnerability_counts):
|
|
2494
|
+
"""Sets the vulnerability_counts of this RawPackageUpload.
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
:param vulnerability_counts: The vulnerability_counts of this RawPackageUpload.
|
|
2498
|
+
:type: WebOSVSeverityCounts
|
|
2499
|
+
"""
|
|
2500
|
+
|
|
2501
|
+
self._vulnerability_counts = vulnerability_counts
|
|
2502
|
+
|
|
2503
|
+
@property
|
|
2504
|
+
def vulnerability_scan_results_url(self):
|
|
2505
|
+
"""Gets the vulnerability_scan_results_url of this RawPackageUpload.
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
:return: The vulnerability_scan_results_url of this RawPackageUpload.
|
|
2509
|
+
:rtype: str
|
|
2510
|
+
"""
|
|
2511
|
+
return self._vulnerability_scan_results_url
|
|
2512
|
+
|
|
2513
|
+
@vulnerability_scan_results_url.setter
|
|
2514
|
+
def vulnerability_scan_results_url(self, vulnerability_scan_results_url):
|
|
2515
|
+
"""Sets the vulnerability_scan_results_url of this RawPackageUpload.
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
:param vulnerability_scan_results_url: The vulnerability_scan_results_url of this RawPackageUpload.
|
|
2519
|
+
:type: str
|
|
2520
|
+
"""
|
|
2521
|
+
|
|
2522
|
+
self._vulnerability_scan_results_url = vulnerability_scan_results_url
|
|
2523
|
+
|
|
2524
|
+
def to_dict(self):
|
|
2525
|
+
"""Returns the model properties as a dict"""
|
|
2526
|
+
result = {}
|
|
2527
|
+
|
|
2528
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
2529
|
+
value = getattr(self, attr)
|
|
2530
|
+
if isinstance(value, list):
|
|
2531
|
+
result[attr] = list(map(
|
|
2532
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
2533
|
+
value
|
|
2534
|
+
))
|
|
2535
|
+
elif hasattr(value, "to_dict"):
|
|
2536
|
+
result[attr] = value.to_dict()
|
|
2537
|
+
elif isinstance(value, dict):
|
|
2538
|
+
result[attr] = dict(map(
|
|
2539
|
+
lambda item: (item[0], item[1].to_dict())
|
|
2540
|
+
if hasattr(item[1], "to_dict") else item,
|
|
2541
|
+
value.items()
|
|
2542
|
+
))
|
|
2543
|
+
else:
|
|
2544
|
+
result[attr] = value
|
|
2545
|
+
if issubclass(RawPackageUpload, dict):
|
|
2546
|
+
for key, value in self.items():
|
|
2547
|
+
result[key] = value
|
|
2548
|
+
|
|
2549
|
+
return result
|
|
2550
|
+
|
|
2551
|
+
def to_str(self):
|
|
2552
|
+
"""Returns the string representation of the model"""
|
|
2553
|
+
return pprint.pformat(self.to_dict())
|
|
2554
|
+
|
|
2555
|
+
def __repr__(self):
|
|
2556
|
+
"""For `print` and `pprint`"""
|
|
2557
|
+
return self.to_str()
|
|
2558
|
+
|
|
2559
|
+
def __eq__(self, other):
|
|
2560
|
+
"""Returns true if both objects are equal"""
|
|
2561
|
+
if not isinstance(other, RawPackageUpload):
|
|
2562
|
+
return False
|
|
2563
|
+
|
|
2564
|
+
return self.to_dict() == other.to_dict()
|
|
2565
|
+
|
|
2566
|
+
def __ne__(self, other):
|
|
2567
|
+
"""Returns true if both objects are not equal"""
|
|
2568
|
+
if not isinstance(other, RawPackageUpload):
|
|
2569
|
+
return True
|
|
2570
|
+
|
|
2571
|
+
return self.to_dict() != other.to_dict()
|
|
2572
|
+
|