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