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