oci 2.130.0__py3-none-any.whl → 2.131.0__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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +17 -17
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +808 -84
- oci/bds/bds_client_composite_operations.py +177 -0
- oci/bds/models/__init__.py +22 -0
- oci/bds/models/auto_scale_policy_metric_rule.py +9 -5
- oci/bds/models/batching_based_odh_patching_config.py +113 -0
- oci/bds/models/batching_based_patching_configs.py +2 -2
- oci/bds/models/create_resource_principal_configuration_details.py +134 -0
- oci/bds/models/domain_based_odh_patching_config.py +82 -0
- oci/bds/models/domain_based_patching_configs.py +113 -0
- oci/bds/models/downtime_based_odh_patching_config.py +51 -0
- oci/bds/models/downtime_based_patching_configs.py +1 -1
- oci/bds/models/force_refresh_resource_principal_details.py +72 -0
- oci/bds/models/install_patch_details.py +29 -2
- oci/bds/models/node.py +31 -0
- oci/bds/models/odh_patching_config.py +117 -0
- oci/bds/models/patching_configs.py +12 -4
- oci/bds/models/remove_resource_principal_configuration_details.py +72 -0
- oci/bds/models/resource_principal_configuration.py +352 -0
- oci/bds/models/resource_principal_configuration_summary.py +289 -0
- oci/bds/models/update_resource_principal_configuration_details.py +103 -0
- oci/bds/models/work_request.py +19 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +287 -287
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +356 -356
- oci/database_management/db_management_client.py +208 -208
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +8664 -2588
- oci/devops/devops_client_composite_operations.py +443 -0
- oci/devops/models/__init__.py +182 -0
- oci/devops/models/approval_activity_summary.py +127 -0
- oci/devops/models/approval_rule.py +165 -0
- oci/devops/models/approval_rule_collection.py +72 -0
- oci/devops/models/approval_rule_merge_check.py +270 -0
- oci/devops/models/build_merge_check.py +144 -0
- oci/devops/models/build_run_snapshot.py +329 -0
- oci/devops/models/build_run_snapshot_collection.py +72 -0
- oci/devops/models/build_run_snapshot_summary.py +297 -0
- oci/devops/models/comment_activity_summary.py +110 -0
- oci/devops/models/commit_activity_summary.py +141 -0
- oci/devops/models/commit_analytics_author_collection.py +72 -0
- oci/devops/models/commit_analytics_author_summary.py +103 -0
- oci/devops/models/conflict_merge_check.py +99 -0
- oci/devops/models/create_or_update_git_branch_details.py +89 -0
- oci/devops/models/create_or_update_git_ref_details.py +140 -0
- oci/devops/models/create_or_update_git_tag_details.py +89 -0
- oci/devops/models/create_or_update_protected_branch_details.py +122 -0
- oci/devops/models/create_pull_request_comment_details.py +227 -0
- oci/devops/models/create_pull_request_details.py +328 -0
- oci/devops/models/create_repository_details.py +33 -0
- oci/devops/models/create_reviewer_details.py +72 -0
- oci/devops/models/delete_git_ref_details.py +72 -0
- oci/devops/models/delete_protected_branch_details.py +72 -0
- oci/devops/models/deploy_artifact_source.py +7 -3
- oci/devops/models/devops_code_repository_filter.py +11 -3
- oci/devops/models/devops_code_repository_filter_attributes.py +31 -0
- oci/devops/models/execute_merge_pull_request_details.py +196 -0
- oci/devops/models/fork_sync_status_collection.py +72 -0
- oci/devops/models/fork_sync_status_summary.py +154 -0
- oci/devops/models/generic_artifact_location_details.py +101 -0
- oci/devops/models/generic_artifacts.py +116 -0
- oci/devops/models/generic_deploy_artifact_source.py +1 -1
- oci/devops/models/helm_command_spec_artifact_source.py +1 -1
- oci/devops/models/helm_repository_deploy_artifact_source.py +1 -1
- oci/devops/models/inline_deploy_artifact_source.py +1 -1
- oci/devops/models/merge_check.py +117 -0
- oci/devops/models/merge_check_collection.py +145 -0
- oci/devops/models/merge_checks.py +88 -0
- oci/devops/models/merge_pull_request_details.py +109 -0
- oci/devops/models/merge_settings.py +139 -0
- oci/devops/models/mirror_repository_config.py +2 -2
- oci/devops/models/object_storage_generic_artifact_location_details.py +175 -0
- oci/devops/models/ocir_deploy_artifact_source.py +1 -1
- oci/devops/models/patch_insert_instruction.py +171 -0
- oci/devops/models/patch_instruction.py +184 -0
- oci/devops/models/patch_merge_instruction.py +97 -0
- oci/devops/models/patch_move_instruction.py +147 -0
- oci/devops/models/patch_prohibit_instruction.py +100 -0
- oci/devops/models/patch_pull_request_details.py +72 -0
- oci/devops/models/patch_remove_instruction.py +59 -0
- oci/devops/models/patch_replace_instruction.py +92 -0
- oci/devops/models/patch_require_instruction.py +99 -0
- oci/devops/models/principal_details.py +209 -0
- oci/devops/models/project_notification_preference.py +154 -0
- oci/devops/models/project_repository_settings.py +95 -0
- oci/devops/models/protected_branch.py +189 -0
- oci/devops/models/protected_branch_collection.py +72 -0
- oci/devops/models/protected_branch_summary.py +224 -0
- oci/devops/models/pull_request.py +814 -0
- oci/devops/models/pull_request_activity_collection.py +72 -0
- oci/devops/models/pull_request_activity_summary.py +253 -0
- oci/devops/models/pull_request_attachment.py +196 -0
- oci/devops/models/pull_request_attachment_collection.py +72 -0
- oci/devops/models/pull_request_attachment_summary.py +196 -0
- oci/devops/models/pull_request_author_collection.py +72 -0
- oci/devops/models/pull_request_author_summary.py +68 -0
- oci/devops/models/pull_request_change_summary_metrics.py +134 -0
- oci/devops/models/pull_request_collection.py +72 -0
- oci/devops/models/pull_request_comment.py +581 -0
- oci/devops/models/pull_request_comment_collection.py +72 -0
- oci/devops/models/pull_request_comment_like_collection.py +103 -0
- oci/devops/models/pull_request_comment_summary.py +533 -0
- oci/devops/models/pull_request_file_change_collection.py +72 -0
- oci/devops/models/pull_request_file_change_summary.py +456 -0
- oci/devops/models/pull_request_lifecycle_activity_summary.py +135 -0
- oci/devops/models/pull_request_notification_preference.py +154 -0
- oci/devops/models/pull_request_summary.py +669 -0
- oci/devops/models/repository.py +47 -6
- oci/devops/models/repository_analytics_details.py +318 -0
- oci/devops/models/repository_metric_aggregation.py +72 -0
- oci/devops/models/repository_metric_summary.py +281 -0
- oci/devops/models/repository_notification_preference.py +158 -0
- oci/devops/models/repository_settings.py +122 -0
- oci/devops/models/repository_summary.py +33 -0
- oci/devops/models/review_pull_request_details.py +88 -0
- oci/devops/models/reviewer.py +256 -0
- oci/devops/models/reviewer_activity_summary.py +141 -0
- oci/devops/models/stage_output.py +140 -0
- oci/devops/models/summarize_project_repository_analytics_details.py +318 -0
- oci/devops/models/summarize_repository_analytics_details.py +318 -0
- oci/devops/models/sync_repository_details.py +103 -0
- oci/devops/models/test_report_output.py +89 -0
- oci/devops/models/update_approval_rule_details.py +165 -0
- oci/devops/models/update_approval_rule_details_collection.py +72 -0
- oci/devops/models/update_project_notification_preference_details.py +72 -0
- oci/devops/models/update_project_repository_settings_details.py +95 -0
- oci/devops/models/update_pull_request_comment_details.py +72 -0
- oci/devops/models/update_pull_request_details.py +235 -0
- oci/devops/models/update_pull_request_notification_preference_details.py +72 -0
- oci/devops/models/update_repository_details.py +2 -0
- oci/devops/models/update_repository_notification_preference_details.py +72 -0
- oci/devops/models/update_repository_settings_details.py +122 -0
- oci/devops/models/update_reviewer_details.py +72 -0
- oci/devops/models/validate_merge_pull_request_details.py +51 -0
- oci/devops/models/work_request.py +31 -3
- oci/devops/models/work_request_summary.py +31 -3
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +26 -26
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +51 -51
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +307 -307
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +1414 -234
- oci/jms/java_management_service_client_composite_operations.py +194 -0
- oci/jms/models/__init__.py +24 -0
- oci/jms/models/agent_installer_collection.py +72 -0
- oci/jms/models/agent_installer_summary.py +411 -0
- oci/jms/models/application_installation_usage_summary.py +62 -0
- oci/jms/models/application_usage.py +35 -4
- oci/jms/models/application_work_item_details.py +1 -1
- oci/jms/models/basic_work_item_details.py +1 -1
- oci/jms/models/create_jms_plugin_details.py +220 -0
- oci/jms/models/crypto_analysis_result.py +62 -0
- oci/jms/models/crypto_analysis_result_summary.py +62 -0
- oci/jms/models/deployed_application_installation_usage_summary.py +32 -1
- oci/jms/models/deployed_application_migration_analyses_target.py +197 -0
- oci/jms/models/deployed_application_usage.py +31 -0
- oci/jms/models/deployed_application_work_item_details.py +183 -0
- oci/jms/models/export_setting.py +3 -3
- oci/jms/models/fleet_agent_configuration.py +62 -0
- oci/jms/models/generate_agent_installer_configuration_details.py +111 -0
- oci/jms/models/generate_load_pipeline_script_details.py +165 -0
- oci/jms/models/installation_site.py +7 -3
- oci/jms/models/java_artifact.py +2 -2
- oci/jms/models/java_family.py +37 -2
- oci/jms/models/java_family_summary.py +37 -2
- oci/jms/models/java_migration_analysis_target.py +34 -3
- oci/jms/models/java_server_instance_usage.py +31 -0
- oci/jms/models/jms_plugin.py +698 -0
- oci/jms/models/jms_plugin_collection.py +72 -0
- oci/jms/models/jms_plugin_summary.py +698 -0
- oci/jms/models/lcm_work_item_details.py +1 -1
- oci/jms/models/library_usage.py +64 -2
- oci/jms/models/managed_instance_usage.py +38 -3
- oci/jms/models/operating_system.py +2 -2
- oci/jms/models/performance_tuning_analysis_result.py +4 -4
- oci/jms/models/performance_tuning_analysis_result_summary.py +4 -4
- oci/jms/models/request_deployed_application_migration_analyses_details.py +73 -0
- oci/jms/models/update_export_setting_details.py +3 -3
- oci/jms/models/update_fleet_agent_configuration_details.py +62 -0
- oci/jms/models/update_jms_plugin_details.py +150 -0
- oci/jms/models/work_item_details.py +11 -3
- oci/jms/models/work_item_summary.py +7 -3
- oci/jms_java_downloads/java_download_client.py +30 -30
- oci/jms_java_downloads/models/generate_artifact_download_url_details.py +35 -0
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +177 -177
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/models/create_custom_software_source_details.py +41 -0
- oci/os_management_hub/models/create_versioned_custom_software_source_details.py +41 -0
- oci/os_management_hub/models/custom_software_source.py +41 -0
- oci/os_management_hub/models/update_custom_software_source_details.py +43 -2
- oci/os_management_hub/models/versioned_custom_software_source.py +41 -0
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +28 -28
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/models/__init__.py +6 -0
- oci/psql/models/backup.py +2 -2
- oci/psql/models/backup_summary.py +2 -2
- oci/psql/models/configuration.py +117 -31
- oci/psql/models/configuration_summary.py +58 -19
- oci/psql/models/create_configuration_details.py +60 -21
- oci/psql/models/create_db_system_details.py +1 -1
- oci/psql/models/default_configuration.py +72 -33
- oci/psql/models/default_configuration_summary.py +60 -21
- oci/psql/models/management_policy_details.py +10 -2
- oci/psql/models/shape_memory_options.py +196 -0
- oci/psql/models/shape_ocpu_options.py +103 -0
- oci/psql/models/shape_summary.py +87 -2
- oci/psql/models/update_db_system_details.py +122 -0
- oci/psql/models/update_network_details.py +76 -0
- oci/psql/postgresql_client.py +35 -35
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- oci/regions_definitions.py +3 -0
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/METADATA +1 -1
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/RECORD +444 -327
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/WHEEL +0 -0
- {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,318 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210630
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class SummarizeProjectRepositoryAnalyticsDetails(object):
|
14
|
+
"""
|
15
|
+
Details of the user configured settings for viewing the metrics at project level.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
19
|
+
#: This constant has a value of "COMMITS"
|
20
|
+
REPOSITORY_METRICS_COMMITS = "COMMITS"
|
21
|
+
|
22
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
23
|
+
#: This constant has a value of "LINES_ADDED"
|
24
|
+
REPOSITORY_METRICS_LINES_ADDED = "LINES_ADDED"
|
25
|
+
|
26
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
27
|
+
#: This constant has a value of "LINES_DELETED"
|
28
|
+
REPOSITORY_METRICS_LINES_DELETED = "LINES_DELETED"
|
29
|
+
|
30
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
31
|
+
#: This constant has a value of "PULL_REQUEST_CREATED"
|
32
|
+
REPOSITORY_METRICS_PULL_REQUEST_CREATED = "PULL_REQUEST_CREATED"
|
33
|
+
|
34
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
35
|
+
#: This constant has a value of "PULL_REQUEST_MERGED"
|
36
|
+
REPOSITORY_METRICS_PULL_REQUEST_MERGED = "PULL_REQUEST_MERGED"
|
37
|
+
|
38
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
39
|
+
#: This constant has a value of "PULL_REQUEST_DECLINED"
|
40
|
+
REPOSITORY_METRICS_PULL_REQUEST_DECLINED = "PULL_REQUEST_DECLINED"
|
41
|
+
|
42
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
43
|
+
#: This constant has a value of "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS"
|
44
|
+
REPOSITORY_METRICS_PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS = "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS"
|
45
|
+
|
46
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
47
|
+
#: This constant has a value of "PULL_REQUEST_REVIEW_DURATION_IN_DAYS"
|
48
|
+
REPOSITORY_METRICS_PULL_REQUEST_REVIEW_DURATION_IN_DAYS = "PULL_REQUEST_REVIEW_DURATION_IN_DAYS"
|
49
|
+
|
50
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
51
|
+
#: This constant has a value of "PULL_REQUEST_APPROVED"
|
52
|
+
REPOSITORY_METRICS_PULL_REQUEST_APPROVED = "PULL_REQUEST_APPROVED"
|
53
|
+
|
54
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
55
|
+
#: This constant has a value of "PULL_REQUEST_REVIEWED"
|
56
|
+
REPOSITORY_METRICS_PULL_REQUEST_REVIEWED = "PULL_REQUEST_REVIEWED"
|
57
|
+
|
58
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeProjectRepositoryAnalyticsDetails.
|
59
|
+
#: This constant has a value of "PULL_REQUEST_COMMENTS"
|
60
|
+
REPOSITORY_METRICS_PULL_REQUEST_COMMENTS = "PULL_REQUEST_COMMENTS"
|
61
|
+
|
62
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeProjectRepositoryAnalyticsDetails.
|
63
|
+
#: This constant has a value of "DAILY"
|
64
|
+
AGGREGATION_DURATION_DAILY = "DAILY"
|
65
|
+
|
66
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeProjectRepositoryAnalyticsDetails.
|
67
|
+
#: This constant has a value of "WEEKLY"
|
68
|
+
AGGREGATION_DURATION_WEEKLY = "WEEKLY"
|
69
|
+
|
70
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeProjectRepositoryAnalyticsDetails.
|
71
|
+
#: This constant has a value of "MONTHLY"
|
72
|
+
AGGREGATION_DURATION_MONTHLY = "MONTHLY"
|
73
|
+
|
74
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeProjectRepositoryAnalyticsDetails.
|
75
|
+
#: This constant has a value of "YEARLY"
|
76
|
+
AGGREGATION_DURATION_YEARLY = "YEARLY"
|
77
|
+
|
78
|
+
#: A constant which can be used with the group_by property of a SummarizeProjectRepositoryAnalyticsDetails.
|
79
|
+
#: This constant has a value of "AUTHOR"
|
80
|
+
GROUP_BY_AUTHOR = "AUTHOR"
|
81
|
+
|
82
|
+
def __init__(self, **kwargs):
|
83
|
+
"""
|
84
|
+
Initializes a new SummarizeProjectRepositoryAnalyticsDetails object with values from keyword arguments.
|
85
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
86
|
+
|
87
|
+
:param author_email:
|
88
|
+
The value to assign to the author_email property of this SummarizeProjectRepositoryAnalyticsDetails.
|
89
|
+
:type author_email: str
|
90
|
+
|
91
|
+
:param repository_metrics:
|
92
|
+
The value to assign to the repository_metrics property of this SummarizeProjectRepositoryAnalyticsDetails.
|
93
|
+
Allowed values for items in this list are: "COMMITS", "LINES_ADDED", "LINES_DELETED", "PULL_REQUEST_CREATED", "PULL_REQUEST_MERGED", "PULL_REQUEST_DECLINED", "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS", "PULL_REQUEST_REVIEW_DURATION_IN_DAYS", "PULL_REQUEST_APPROVED", "PULL_REQUEST_REVIEWED", "PULL_REQUEST_COMMENTS"
|
94
|
+
:type repository_metrics: list[str]
|
95
|
+
|
96
|
+
:param aggregation_duration:
|
97
|
+
The value to assign to the aggregation_duration property of this SummarizeProjectRepositoryAnalyticsDetails.
|
98
|
+
Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", "YEARLY"
|
99
|
+
:type aggregation_duration: str
|
100
|
+
|
101
|
+
:param start_time:
|
102
|
+
The value to assign to the start_time property of this SummarizeProjectRepositoryAnalyticsDetails.
|
103
|
+
:type start_time: datetime
|
104
|
+
|
105
|
+
:param end_time:
|
106
|
+
The value to assign to the end_time property of this SummarizeProjectRepositoryAnalyticsDetails.
|
107
|
+
:type end_time: datetime
|
108
|
+
|
109
|
+
:param group_by:
|
110
|
+
The value to assign to the group_by property of this SummarizeProjectRepositoryAnalyticsDetails.
|
111
|
+
Allowed values for this property are: "AUTHOR"
|
112
|
+
:type group_by: str
|
113
|
+
|
114
|
+
"""
|
115
|
+
self.swagger_types = {
|
116
|
+
'author_email': 'str',
|
117
|
+
'repository_metrics': 'list[str]',
|
118
|
+
'aggregation_duration': 'str',
|
119
|
+
'start_time': 'datetime',
|
120
|
+
'end_time': 'datetime',
|
121
|
+
'group_by': 'str'
|
122
|
+
}
|
123
|
+
|
124
|
+
self.attribute_map = {
|
125
|
+
'author_email': 'authorEmail',
|
126
|
+
'repository_metrics': 'repositoryMetrics',
|
127
|
+
'aggregation_duration': 'aggregationDuration',
|
128
|
+
'start_time': 'startTime',
|
129
|
+
'end_time': 'endTime',
|
130
|
+
'group_by': 'groupBy'
|
131
|
+
}
|
132
|
+
|
133
|
+
self._author_email = None
|
134
|
+
self._repository_metrics = None
|
135
|
+
self._aggregation_duration = None
|
136
|
+
self._start_time = None
|
137
|
+
self._end_time = None
|
138
|
+
self._group_by = None
|
139
|
+
|
140
|
+
@property
|
141
|
+
def author_email(self):
|
142
|
+
"""
|
143
|
+
Gets the author_email of this SummarizeProjectRepositoryAnalyticsDetails.
|
144
|
+
Email address of the author.
|
145
|
+
|
146
|
+
|
147
|
+
:return: The author_email of this SummarizeProjectRepositoryAnalyticsDetails.
|
148
|
+
:rtype: str
|
149
|
+
"""
|
150
|
+
return self._author_email
|
151
|
+
|
152
|
+
@author_email.setter
|
153
|
+
def author_email(self, author_email):
|
154
|
+
"""
|
155
|
+
Sets the author_email of this SummarizeProjectRepositoryAnalyticsDetails.
|
156
|
+
Email address of the author.
|
157
|
+
|
158
|
+
|
159
|
+
:param author_email: The author_email of this SummarizeProjectRepositoryAnalyticsDetails.
|
160
|
+
:type: str
|
161
|
+
"""
|
162
|
+
self._author_email = author_email
|
163
|
+
|
164
|
+
@property
|
165
|
+
def repository_metrics(self):
|
166
|
+
"""
|
167
|
+
**[Required]** Gets the repository_metrics of this SummarizeProjectRepositoryAnalyticsDetails.
|
168
|
+
The name of the metric to be filtered.
|
169
|
+
|
170
|
+
Allowed values for items in this list are: "COMMITS", "LINES_ADDED", "LINES_DELETED", "PULL_REQUEST_CREATED", "PULL_REQUEST_MERGED", "PULL_REQUEST_DECLINED", "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS", "PULL_REQUEST_REVIEW_DURATION_IN_DAYS", "PULL_REQUEST_APPROVED", "PULL_REQUEST_REVIEWED", "PULL_REQUEST_COMMENTS"
|
171
|
+
|
172
|
+
|
173
|
+
:return: The repository_metrics of this SummarizeProjectRepositoryAnalyticsDetails.
|
174
|
+
:rtype: list[str]
|
175
|
+
"""
|
176
|
+
return self._repository_metrics
|
177
|
+
|
178
|
+
@repository_metrics.setter
|
179
|
+
def repository_metrics(self, repository_metrics):
|
180
|
+
"""
|
181
|
+
Sets the repository_metrics of this SummarizeProjectRepositoryAnalyticsDetails.
|
182
|
+
The name of the metric to be filtered.
|
183
|
+
|
184
|
+
|
185
|
+
:param repository_metrics: The repository_metrics of this SummarizeProjectRepositoryAnalyticsDetails.
|
186
|
+
:type: list[str]
|
187
|
+
"""
|
188
|
+
allowed_values = ["COMMITS", "LINES_ADDED", "LINES_DELETED", "PULL_REQUEST_CREATED", "PULL_REQUEST_MERGED", "PULL_REQUEST_DECLINED", "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS", "PULL_REQUEST_REVIEW_DURATION_IN_DAYS", "PULL_REQUEST_APPROVED", "PULL_REQUEST_REVIEWED", "PULL_REQUEST_COMMENTS"]
|
189
|
+
|
190
|
+
if repository_metrics and repository_metrics is not NONE_SENTINEL:
|
191
|
+
for value in repository_metrics:
|
192
|
+
if not value_allowed_none_or_none_sentinel(value, allowed_values):
|
193
|
+
raise ValueError(
|
194
|
+
f"Invalid value for `repository_metrics`, must be None or one of {allowed_values}"
|
195
|
+
)
|
196
|
+
self._repository_metrics = repository_metrics
|
197
|
+
|
198
|
+
@property
|
199
|
+
def aggregation_duration(self):
|
200
|
+
"""
|
201
|
+
Gets the aggregation_duration of this SummarizeProjectRepositoryAnalyticsDetails.
|
202
|
+
Metrics aggregated for the defined period.
|
203
|
+
|
204
|
+
Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", "YEARLY"
|
205
|
+
|
206
|
+
|
207
|
+
:return: The aggregation_duration of this SummarizeProjectRepositoryAnalyticsDetails.
|
208
|
+
:rtype: str
|
209
|
+
"""
|
210
|
+
return self._aggregation_duration
|
211
|
+
|
212
|
+
@aggregation_duration.setter
|
213
|
+
def aggregation_duration(self, aggregation_duration):
|
214
|
+
"""
|
215
|
+
Sets the aggregation_duration of this SummarizeProjectRepositoryAnalyticsDetails.
|
216
|
+
Metrics aggregated for the defined period.
|
217
|
+
|
218
|
+
|
219
|
+
:param aggregation_duration: The aggregation_duration of this SummarizeProjectRepositoryAnalyticsDetails.
|
220
|
+
:type: str
|
221
|
+
"""
|
222
|
+
allowed_values = ["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]
|
223
|
+
if not value_allowed_none_or_none_sentinel(aggregation_duration, allowed_values):
|
224
|
+
raise ValueError(
|
225
|
+
f"Invalid value for `aggregation_duration`, must be None or one of {allowed_values}"
|
226
|
+
)
|
227
|
+
self._aggregation_duration = aggregation_duration
|
228
|
+
|
229
|
+
@property
|
230
|
+
def start_time(self):
|
231
|
+
"""
|
232
|
+
**[Required]** Gets the start_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
233
|
+
The beginning of the metric data query time range.
|
234
|
+
|
235
|
+
|
236
|
+
:return: The start_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
237
|
+
:rtype: datetime
|
238
|
+
"""
|
239
|
+
return self._start_time
|
240
|
+
|
241
|
+
@start_time.setter
|
242
|
+
def start_time(self, start_time):
|
243
|
+
"""
|
244
|
+
Sets the start_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
245
|
+
The beginning of the metric data query time range.
|
246
|
+
|
247
|
+
|
248
|
+
:param start_time: The start_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
249
|
+
:type: datetime
|
250
|
+
"""
|
251
|
+
self._start_time = start_time
|
252
|
+
|
253
|
+
@property
|
254
|
+
def end_time(self):
|
255
|
+
"""
|
256
|
+
Gets the end_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
257
|
+
The end of the metric data query time range.
|
258
|
+
|
259
|
+
|
260
|
+
:return: The end_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
261
|
+
:rtype: datetime
|
262
|
+
"""
|
263
|
+
return self._end_time
|
264
|
+
|
265
|
+
@end_time.setter
|
266
|
+
def end_time(self, end_time):
|
267
|
+
"""
|
268
|
+
Sets the end_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
269
|
+
The end of the metric data query time range.
|
270
|
+
|
271
|
+
|
272
|
+
:param end_time: The end_time of this SummarizeProjectRepositoryAnalyticsDetails.
|
273
|
+
:type: datetime
|
274
|
+
"""
|
275
|
+
self._end_time = end_time
|
276
|
+
|
277
|
+
@property
|
278
|
+
def group_by(self):
|
279
|
+
"""
|
280
|
+
Gets the group_by of this SummarizeProjectRepositoryAnalyticsDetails.
|
281
|
+
Attribute by which metric data has to be grouped
|
282
|
+
|
283
|
+
Allowed values for this property are: "AUTHOR"
|
284
|
+
|
285
|
+
|
286
|
+
:return: The group_by of this SummarizeProjectRepositoryAnalyticsDetails.
|
287
|
+
:rtype: str
|
288
|
+
"""
|
289
|
+
return self._group_by
|
290
|
+
|
291
|
+
@group_by.setter
|
292
|
+
def group_by(self, group_by):
|
293
|
+
"""
|
294
|
+
Sets the group_by of this SummarizeProjectRepositoryAnalyticsDetails.
|
295
|
+
Attribute by which metric data has to be grouped
|
296
|
+
|
297
|
+
|
298
|
+
:param group_by: The group_by of this SummarizeProjectRepositoryAnalyticsDetails.
|
299
|
+
:type: str
|
300
|
+
"""
|
301
|
+
allowed_values = ["AUTHOR"]
|
302
|
+
if not value_allowed_none_or_none_sentinel(group_by, allowed_values):
|
303
|
+
raise ValueError(
|
304
|
+
f"Invalid value for `group_by`, must be None or one of {allowed_values}"
|
305
|
+
)
|
306
|
+
self._group_by = group_by
|
307
|
+
|
308
|
+
def __repr__(self):
|
309
|
+
return formatted_flat_dict(self)
|
310
|
+
|
311
|
+
def __eq__(self, other):
|
312
|
+
if other is None:
|
313
|
+
return False
|
314
|
+
|
315
|
+
return self.__dict__ == other.__dict__
|
316
|
+
|
317
|
+
def __ne__(self, other):
|
318
|
+
return not self == other
|
@@ -0,0 +1,318 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210630
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class SummarizeRepositoryAnalyticsDetails(object):
|
14
|
+
"""
|
15
|
+
Details of the user configured settings for viewing the metrics at repository level.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
19
|
+
#: This constant has a value of "COMMITS"
|
20
|
+
REPOSITORY_METRICS_COMMITS = "COMMITS"
|
21
|
+
|
22
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
23
|
+
#: This constant has a value of "LINES_ADDED"
|
24
|
+
REPOSITORY_METRICS_LINES_ADDED = "LINES_ADDED"
|
25
|
+
|
26
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
27
|
+
#: This constant has a value of "LINES_DELETED"
|
28
|
+
REPOSITORY_METRICS_LINES_DELETED = "LINES_DELETED"
|
29
|
+
|
30
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
31
|
+
#: This constant has a value of "PULL_REQUEST_CREATED"
|
32
|
+
REPOSITORY_METRICS_PULL_REQUEST_CREATED = "PULL_REQUEST_CREATED"
|
33
|
+
|
34
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
35
|
+
#: This constant has a value of "PULL_REQUEST_MERGED"
|
36
|
+
REPOSITORY_METRICS_PULL_REQUEST_MERGED = "PULL_REQUEST_MERGED"
|
37
|
+
|
38
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
39
|
+
#: This constant has a value of "PULL_REQUEST_DECLINED"
|
40
|
+
REPOSITORY_METRICS_PULL_REQUEST_DECLINED = "PULL_REQUEST_DECLINED"
|
41
|
+
|
42
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
43
|
+
#: This constant has a value of "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS"
|
44
|
+
REPOSITORY_METRICS_PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS = "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS"
|
45
|
+
|
46
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
47
|
+
#: This constant has a value of "PULL_REQUEST_REVIEW_DURATION_IN_DAYS"
|
48
|
+
REPOSITORY_METRICS_PULL_REQUEST_REVIEW_DURATION_IN_DAYS = "PULL_REQUEST_REVIEW_DURATION_IN_DAYS"
|
49
|
+
|
50
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
51
|
+
#: This constant has a value of "PULL_REQUEST_APPROVED"
|
52
|
+
REPOSITORY_METRICS_PULL_REQUEST_APPROVED = "PULL_REQUEST_APPROVED"
|
53
|
+
|
54
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
55
|
+
#: This constant has a value of "PULL_REQUEST_REVIEWED"
|
56
|
+
REPOSITORY_METRICS_PULL_REQUEST_REVIEWED = "PULL_REQUEST_REVIEWED"
|
57
|
+
|
58
|
+
#: A constant which can be used with the repository_metrics property of a SummarizeRepositoryAnalyticsDetails.
|
59
|
+
#: This constant has a value of "PULL_REQUEST_COMMENTS"
|
60
|
+
REPOSITORY_METRICS_PULL_REQUEST_COMMENTS = "PULL_REQUEST_COMMENTS"
|
61
|
+
|
62
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeRepositoryAnalyticsDetails.
|
63
|
+
#: This constant has a value of "DAILY"
|
64
|
+
AGGREGATION_DURATION_DAILY = "DAILY"
|
65
|
+
|
66
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeRepositoryAnalyticsDetails.
|
67
|
+
#: This constant has a value of "WEEKLY"
|
68
|
+
AGGREGATION_DURATION_WEEKLY = "WEEKLY"
|
69
|
+
|
70
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeRepositoryAnalyticsDetails.
|
71
|
+
#: This constant has a value of "MONTHLY"
|
72
|
+
AGGREGATION_DURATION_MONTHLY = "MONTHLY"
|
73
|
+
|
74
|
+
#: A constant which can be used with the aggregation_duration property of a SummarizeRepositoryAnalyticsDetails.
|
75
|
+
#: This constant has a value of "YEARLY"
|
76
|
+
AGGREGATION_DURATION_YEARLY = "YEARLY"
|
77
|
+
|
78
|
+
#: A constant which can be used with the group_by property of a SummarizeRepositoryAnalyticsDetails.
|
79
|
+
#: This constant has a value of "AUTHOR"
|
80
|
+
GROUP_BY_AUTHOR = "AUTHOR"
|
81
|
+
|
82
|
+
def __init__(self, **kwargs):
|
83
|
+
"""
|
84
|
+
Initializes a new SummarizeRepositoryAnalyticsDetails object with values from keyword arguments.
|
85
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
86
|
+
|
87
|
+
:param author_email:
|
88
|
+
The value to assign to the author_email property of this SummarizeRepositoryAnalyticsDetails.
|
89
|
+
:type author_email: str
|
90
|
+
|
91
|
+
:param repository_metrics:
|
92
|
+
The value to assign to the repository_metrics property of this SummarizeRepositoryAnalyticsDetails.
|
93
|
+
Allowed values for items in this list are: "COMMITS", "LINES_ADDED", "LINES_DELETED", "PULL_REQUEST_CREATED", "PULL_REQUEST_MERGED", "PULL_REQUEST_DECLINED", "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS", "PULL_REQUEST_REVIEW_DURATION_IN_DAYS", "PULL_REQUEST_APPROVED", "PULL_REQUEST_REVIEWED", "PULL_REQUEST_COMMENTS"
|
94
|
+
:type repository_metrics: list[str]
|
95
|
+
|
96
|
+
:param aggregation_duration:
|
97
|
+
The value to assign to the aggregation_duration property of this SummarizeRepositoryAnalyticsDetails.
|
98
|
+
Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", "YEARLY"
|
99
|
+
:type aggregation_duration: str
|
100
|
+
|
101
|
+
:param start_time:
|
102
|
+
The value to assign to the start_time property of this SummarizeRepositoryAnalyticsDetails.
|
103
|
+
:type start_time: datetime
|
104
|
+
|
105
|
+
:param end_time:
|
106
|
+
The value to assign to the end_time property of this SummarizeRepositoryAnalyticsDetails.
|
107
|
+
:type end_time: datetime
|
108
|
+
|
109
|
+
:param group_by:
|
110
|
+
The value to assign to the group_by property of this SummarizeRepositoryAnalyticsDetails.
|
111
|
+
Allowed values for this property are: "AUTHOR"
|
112
|
+
:type group_by: str
|
113
|
+
|
114
|
+
"""
|
115
|
+
self.swagger_types = {
|
116
|
+
'author_email': 'str',
|
117
|
+
'repository_metrics': 'list[str]',
|
118
|
+
'aggregation_duration': 'str',
|
119
|
+
'start_time': 'datetime',
|
120
|
+
'end_time': 'datetime',
|
121
|
+
'group_by': 'str'
|
122
|
+
}
|
123
|
+
|
124
|
+
self.attribute_map = {
|
125
|
+
'author_email': 'authorEmail',
|
126
|
+
'repository_metrics': 'repositoryMetrics',
|
127
|
+
'aggregation_duration': 'aggregationDuration',
|
128
|
+
'start_time': 'startTime',
|
129
|
+
'end_time': 'endTime',
|
130
|
+
'group_by': 'groupBy'
|
131
|
+
}
|
132
|
+
|
133
|
+
self._author_email = None
|
134
|
+
self._repository_metrics = None
|
135
|
+
self._aggregation_duration = None
|
136
|
+
self._start_time = None
|
137
|
+
self._end_time = None
|
138
|
+
self._group_by = None
|
139
|
+
|
140
|
+
@property
|
141
|
+
def author_email(self):
|
142
|
+
"""
|
143
|
+
Gets the author_email of this SummarizeRepositoryAnalyticsDetails.
|
144
|
+
Email address of the author.
|
145
|
+
|
146
|
+
|
147
|
+
:return: The author_email of this SummarizeRepositoryAnalyticsDetails.
|
148
|
+
:rtype: str
|
149
|
+
"""
|
150
|
+
return self._author_email
|
151
|
+
|
152
|
+
@author_email.setter
|
153
|
+
def author_email(self, author_email):
|
154
|
+
"""
|
155
|
+
Sets the author_email of this SummarizeRepositoryAnalyticsDetails.
|
156
|
+
Email address of the author.
|
157
|
+
|
158
|
+
|
159
|
+
:param author_email: The author_email of this SummarizeRepositoryAnalyticsDetails.
|
160
|
+
:type: str
|
161
|
+
"""
|
162
|
+
self._author_email = author_email
|
163
|
+
|
164
|
+
@property
|
165
|
+
def repository_metrics(self):
|
166
|
+
"""
|
167
|
+
**[Required]** Gets the repository_metrics of this SummarizeRepositoryAnalyticsDetails.
|
168
|
+
The name of the metric to be filtered.
|
169
|
+
|
170
|
+
Allowed values for items in this list are: "COMMITS", "LINES_ADDED", "LINES_DELETED", "PULL_REQUEST_CREATED", "PULL_REQUEST_MERGED", "PULL_REQUEST_DECLINED", "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS", "PULL_REQUEST_REVIEW_DURATION_IN_DAYS", "PULL_REQUEST_APPROVED", "PULL_REQUEST_REVIEWED", "PULL_REQUEST_COMMENTS"
|
171
|
+
|
172
|
+
|
173
|
+
:return: The repository_metrics of this SummarizeRepositoryAnalyticsDetails.
|
174
|
+
:rtype: list[str]
|
175
|
+
"""
|
176
|
+
return self._repository_metrics
|
177
|
+
|
178
|
+
@repository_metrics.setter
|
179
|
+
def repository_metrics(self, repository_metrics):
|
180
|
+
"""
|
181
|
+
Sets the repository_metrics of this SummarizeRepositoryAnalyticsDetails.
|
182
|
+
The name of the metric to be filtered.
|
183
|
+
|
184
|
+
|
185
|
+
:param repository_metrics: The repository_metrics of this SummarizeRepositoryAnalyticsDetails.
|
186
|
+
:type: list[str]
|
187
|
+
"""
|
188
|
+
allowed_values = ["COMMITS", "LINES_ADDED", "LINES_DELETED", "PULL_REQUEST_CREATED", "PULL_REQUEST_MERGED", "PULL_REQUEST_DECLINED", "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS", "PULL_REQUEST_REVIEW_DURATION_IN_DAYS", "PULL_REQUEST_APPROVED", "PULL_REQUEST_REVIEWED", "PULL_REQUEST_COMMENTS"]
|
189
|
+
|
190
|
+
if repository_metrics and repository_metrics is not NONE_SENTINEL:
|
191
|
+
for value in repository_metrics:
|
192
|
+
if not value_allowed_none_or_none_sentinel(value, allowed_values):
|
193
|
+
raise ValueError(
|
194
|
+
f"Invalid value for `repository_metrics`, must be None or one of {allowed_values}"
|
195
|
+
)
|
196
|
+
self._repository_metrics = repository_metrics
|
197
|
+
|
198
|
+
@property
|
199
|
+
def aggregation_duration(self):
|
200
|
+
"""
|
201
|
+
Gets the aggregation_duration of this SummarizeRepositoryAnalyticsDetails.
|
202
|
+
Metrics aggregated for the defined period.
|
203
|
+
|
204
|
+
Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", "YEARLY"
|
205
|
+
|
206
|
+
|
207
|
+
:return: The aggregation_duration of this SummarizeRepositoryAnalyticsDetails.
|
208
|
+
:rtype: str
|
209
|
+
"""
|
210
|
+
return self._aggregation_duration
|
211
|
+
|
212
|
+
@aggregation_duration.setter
|
213
|
+
def aggregation_duration(self, aggregation_duration):
|
214
|
+
"""
|
215
|
+
Sets the aggregation_duration of this SummarizeRepositoryAnalyticsDetails.
|
216
|
+
Metrics aggregated for the defined period.
|
217
|
+
|
218
|
+
|
219
|
+
:param aggregation_duration: The aggregation_duration of this SummarizeRepositoryAnalyticsDetails.
|
220
|
+
:type: str
|
221
|
+
"""
|
222
|
+
allowed_values = ["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]
|
223
|
+
if not value_allowed_none_or_none_sentinel(aggregation_duration, allowed_values):
|
224
|
+
raise ValueError(
|
225
|
+
f"Invalid value for `aggregation_duration`, must be None or one of {allowed_values}"
|
226
|
+
)
|
227
|
+
self._aggregation_duration = aggregation_duration
|
228
|
+
|
229
|
+
@property
|
230
|
+
def start_time(self):
|
231
|
+
"""
|
232
|
+
**[Required]** Gets the start_time of this SummarizeRepositoryAnalyticsDetails.
|
233
|
+
The beginning of the metric data query time range.
|
234
|
+
|
235
|
+
|
236
|
+
:return: The start_time of this SummarizeRepositoryAnalyticsDetails.
|
237
|
+
:rtype: datetime
|
238
|
+
"""
|
239
|
+
return self._start_time
|
240
|
+
|
241
|
+
@start_time.setter
|
242
|
+
def start_time(self, start_time):
|
243
|
+
"""
|
244
|
+
Sets the start_time of this SummarizeRepositoryAnalyticsDetails.
|
245
|
+
The beginning of the metric data query time range.
|
246
|
+
|
247
|
+
|
248
|
+
:param start_time: The start_time of this SummarizeRepositoryAnalyticsDetails.
|
249
|
+
:type: datetime
|
250
|
+
"""
|
251
|
+
self._start_time = start_time
|
252
|
+
|
253
|
+
@property
|
254
|
+
def end_time(self):
|
255
|
+
"""
|
256
|
+
Gets the end_time of this SummarizeRepositoryAnalyticsDetails.
|
257
|
+
The end of the metric data query time range.
|
258
|
+
|
259
|
+
|
260
|
+
:return: The end_time of this SummarizeRepositoryAnalyticsDetails.
|
261
|
+
:rtype: datetime
|
262
|
+
"""
|
263
|
+
return self._end_time
|
264
|
+
|
265
|
+
@end_time.setter
|
266
|
+
def end_time(self, end_time):
|
267
|
+
"""
|
268
|
+
Sets the end_time of this SummarizeRepositoryAnalyticsDetails.
|
269
|
+
The end of the metric data query time range.
|
270
|
+
|
271
|
+
|
272
|
+
:param end_time: The end_time of this SummarizeRepositoryAnalyticsDetails.
|
273
|
+
:type: datetime
|
274
|
+
"""
|
275
|
+
self._end_time = end_time
|
276
|
+
|
277
|
+
@property
|
278
|
+
def group_by(self):
|
279
|
+
"""
|
280
|
+
Gets the group_by of this SummarizeRepositoryAnalyticsDetails.
|
281
|
+
Attribute by which metric data has to be grouped
|
282
|
+
|
283
|
+
Allowed values for this property are: "AUTHOR"
|
284
|
+
|
285
|
+
|
286
|
+
:return: The group_by of this SummarizeRepositoryAnalyticsDetails.
|
287
|
+
:rtype: str
|
288
|
+
"""
|
289
|
+
return self._group_by
|
290
|
+
|
291
|
+
@group_by.setter
|
292
|
+
def group_by(self, group_by):
|
293
|
+
"""
|
294
|
+
Sets the group_by of this SummarizeRepositoryAnalyticsDetails.
|
295
|
+
Attribute by which metric data has to be grouped
|
296
|
+
|
297
|
+
|
298
|
+
:param group_by: The group_by of this SummarizeRepositoryAnalyticsDetails.
|
299
|
+
:type: str
|
300
|
+
"""
|
301
|
+
allowed_values = ["AUTHOR"]
|
302
|
+
if not value_allowed_none_or_none_sentinel(group_by, allowed_values):
|
303
|
+
raise ValueError(
|
304
|
+
f"Invalid value for `group_by`, must be None or one of {allowed_values}"
|
305
|
+
)
|
306
|
+
self._group_by = group_by
|
307
|
+
|
308
|
+
def __repr__(self):
|
309
|
+
return formatted_flat_dict(self)
|
310
|
+
|
311
|
+
def __eq__(self, other):
|
312
|
+
if other is None:
|
313
|
+
return False
|
314
|
+
|
315
|
+
return self.__dict__ == other.__dict__
|
316
|
+
|
317
|
+
def __ne__(self, other):
|
318
|
+
return not self == other
|