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,456 @@
|
|
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 PullRequestFileChangeSummary(object):
|
14
|
+
"""
|
15
|
+
Entry for description of change on a file.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new PullRequestFileChangeSummary object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param change_type:
|
24
|
+
The value to assign to the change_type property of this PullRequestFileChangeSummary.
|
25
|
+
:type change_type: str
|
26
|
+
|
27
|
+
:param object_type:
|
28
|
+
The value to assign to the object_type property of this PullRequestFileChangeSummary.
|
29
|
+
:type object_type: str
|
30
|
+
|
31
|
+
:param commit_id:
|
32
|
+
The value to assign to the commit_id property of this PullRequestFileChangeSummary.
|
33
|
+
:type commit_id: str
|
34
|
+
|
35
|
+
:param old_path:
|
36
|
+
The value to assign to the old_path property of this PullRequestFileChangeSummary.
|
37
|
+
:type old_path: str
|
38
|
+
|
39
|
+
:param new_path:
|
40
|
+
The value to assign to the new_path property of this PullRequestFileChangeSummary.
|
41
|
+
:type new_path: str
|
42
|
+
|
43
|
+
:param old_id:
|
44
|
+
The value to assign to the old_id property of this PullRequestFileChangeSummary.
|
45
|
+
:type old_id: str
|
46
|
+
|
47
|
+
:param new_id:
|
48
|
+
The value to assign to the new_id property of this PullRequestFileChangeSummary.
|
49
|
+
:type new_id: str
|
50
|
+
|
51
|
+
:param added_lines_count:
|
52
|
+
The value to assign to the added_lines_count property of this PullRequestFileChangeSummary.
|
53
|
+
:type added_lines_count: int
|
54
|
+
|
55
|
+
:param deleted_lines_count:
|
56
|
+
The value to assign to the deleted_lines_count property of this PullRequestFileChangeSummary.
|
57
|
+
:type deleted_lines_count: int
|
58
|
+
|
59
|
+
:param has_conflicts:
|
60
|
+
The value to assign to the has_conflicts property of this PullRequestFileChangeSummary.
|
61
|
+
:type has_conflicts: bool
|
62
|
+
|
63
|
+
:param freeform_tags:
|
64
|
+
The value to assign to the freeform_tags property of this PullRequestFileChangeSummary.
|
65
|
+
:type freeform_tags: dict(str, str)
|
66
|
+
|
67
|
+
:param defined_tags:
|
68
|
+
The value to assign to the defined_tags property of this PullRequestFileChangeSummary.
|
69
|
+
:type defined_tags: dict(str, dict(str, object))
|
70
|
+
|
71
|
+
:param system_tags:
|
72
|
+
The value to assign to the system_tags property of this PullRequestFileChangeSummary.
|
73
|
+
:type system_tags: dict(str, dict(str, object))
|
74
|
+
|
75
|
+
"""
|
76
|
+
self.swagger_types = {
|
77
|
+
'change_type': 'str',
|
78
|
+
'object_type': 'str',
|
79
|
+
'commit_id': 'str',
|
80
|
+
'old_path': 'str',
|
81
|
+
'new_path': 'str',
|
82
|
+
'old_id': 'str',
|
83
|
+
'new_id': 'str',
|
84
|
+
'added_lines_count': 'int',
|
85
|
+
'deleted_lines_count': 'int',
|
86
|
+
'has_conflicts': 'bool',
|
87
|
+
'freeform_tags': 'dict(str, str)',
|
88
|
+
'defined_tags': 'dict(str, dict(str, object))',
|
89
|
+
'system_tags': 'dict(str, dict(str, object))'
|
90
|
+
}
|
91
|
+
|
92
|
+
self.attribute_map = {
|
93
|
+
'change_type': 'changeType',
|
94
|
+
'object_type': 'objectType',
|
95
|
+
'commit_id': 'commitId',
|
96
|
+
'old_path': 'oldPath',
|
97
|
+
'new_path': 'newPath',
|
98
|
+
'old_id': 'oldId',
|
99
|
+
'new_id': 'newId',
|
100
|
+
'added_lines_count': 'addedLinesCount',
|
101
|
+
'deleted_lines_count': 'deletedLinesCount',
|
102
|
+
'has_conflicts': 'hasConflicts',
|
103
|
+
'freeform_tags': 'freeformTags',
|
104
|
+
'defined_tags': 'definedTags',
|
105
|
+
'system_tags': 'systemTags'
|
106
|
+
}
|
107
|
+
|
108
|
+
self._change_type = None
|
109
|
+
self._object_type = None
|
110
|
+
self._commit_id = None
|
111
|
+
self._old_path = None
|
112
|
+
self._new_path = None
|
113
|
+
self._old_id = None
|
114
|
+
self._new_id = None
|
115
|
+
self._added_lines_count = None
|
116
|
+
self._deleted_lines_count = None
|
117
|
+
self._has_conflicts = None
|
118
|
+
self._freeform_tags = None
|
119
|
+
self._defined_tags = None
|
120
|
+
self._system_tags = None
|
121
|
+
|
122
|
+
@property
|
123
|
+
def change_type(self):
|
124
|
+
"""
|
125
|
+
**[Required]** Gets the change_type of this PullRequestFileChangeSummary.
|
126
|
+
Type of change made to file.
|
127
|
+
|
128
|
+
|
129
|
+
:return: The change_type of this PullRequestFileChangeSummary.
|
130
|
+
:rtype: str
|
131
|
+
"""
|
132
|
+
return self._change_type
|
133
|
+
|
134
|
+
@change_type.setter
|
135
|
+
def change_type(self, change_type):
|
136
|
+
"""
|
137
|
+
Sets the change_type of this PullRequestFileChangeSummary.
|
138
|
+
Type of change made to file.
|
139
|
+
|
140
|
+
|
141
|
+
:param change_type: The change_type of this PullRequestFileChangeSummary.
|
142
|
+
:type: str
|
143
|
+
"""
|
144
|
+
self._change_type = change_type
|
145
|
+
|
146
|
+
@property
|
147
|
+
def object_type(self):
|
148
|
+
"""
|
149
|
+
Gets the object_type of this PullRequestFileChangeSummary.
|
150
|
+
The type of the changed object.
|
151
|
+
|
152
|
+
|
153
|
+
:return: The object_type of this PullRequestFileChangeSummary.
|
154
|
+
:rtype: str
|
155
|
+
"""
|
156
|
+
return self._object_type
|
157
|
+
|
158
|
+
@object_type.setter
|
159
|
+
def object_type(self, object_type):
|
160
|
+
"""
|
161
|
+
Sets the object_type of this PullRequestFileChangeSummary.
|
162
|
+
The type of the changed object.
|
163
|
+
|
164
|
+
|
165
|
+
:param object_type: The object_type of this PullRequestFileChangeSummary.
|
166
|
+
:type: str
|
167
|
+
"""
|
168
|
+
self._object_type = object_type
|
169
|
+
|
170
|
+
@property
|
171
|
+
def commit_id(self):
|
172
|
+
"""
|
173
|
+
Gets the commit_id of this PullRequestFileChangeSummary.
|
174
|
+
The ID of the commit where the change is coming from.
|
175
|
+
|
176
|
+
|
177
|
+
:return: The commit_id of this PullRequestFileChangeSummary.
|
178
|
+
:rtype: str
|
179
|
+
"""
|
180
|
+
return self._commit_id
|
181
|
+
|
182
|
+
@commit_id.setter
|
183
|
+
def commit_id(self, commit_id):
|
184
|
+
"""
|
185
|
+
Sets the commit_id of this PullRequestFileChangeSummary.
|
186
|
+
The ID of the commit where the change is coming from.
|
187
|
+
|
188
|
+
|
189
|
+
:param commit_id: The commit_id of this PullRequestFileChangeSummary.
|
190
|
+
:type: str
|
191
|
+
"""
|
192
|
+
self._commit_id = commit_id
|
193
|
+
|
194
|
+
@property
|
195
|
+
def old_path(self):
|
196
|
+
"""
|
197
|
+
Gets the old_path of this PullRequestFileChangeSummary.
|
198
|
+
The path on the target to the changed object.
|
199
|
+
|
200
|
+
|
201
|
+
:return: The old_path of this PullRequestFileChangeSummary.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._old_path
|
205
|
+
|
206
|
+
@old_path.setter
|
207
|
+
def old_path(self, old_path):
|
208
|
+
"""
|
209
|
+
Sets the old_path of this PullRequestFileChangeSummary.
|
210
|
+
The path on the target to the changed object.
|
211
|
+
|
212
|
+
|
213
|
+
:param old_path: The old_path of this PullRequestFileChangeSummary.
|
214
|
+
:type: str
|
215
|
+
"""
|
216
|
+
self._old_path = old_path
|
217
|
+
|
218
|
+
@property
|
219
|
+
def new_path(self):
|
220
|
+
"""
|
221
|
+
Gets the new_path of this PullRequestFileChangeSummary.
|
222
|
+
The path on the source to the changed object.
|
223
|
+
|
224
|
+
|
225
|
+
:return: The new_path of this PullRequestFileChangeSummary.
|
226
|
+
:rtype: str
|
227
|
+
"""
|
228
|
+
return self._new_path
|
229
|
+
|
230
|
+
@new_path.setter
|
231
|
+
def new_path(self, new_path):
|
232
|
+
"""
|
233
|
+
Sets the new_path of this PullRequestFileChangeSummary.
|
234
|
+
The path on the source to the changed object.
|
235
|
+
|
236
|
+
|
237
|
+
:param new_path: The new_path of this PullRequestFileChangeSummary.
|
238
|
+
:type: str
|
239
|
+
"""
|
240
|
+
self._new_path = new_path
|
241
|
+
|
242
|
+
@property
|
243
|
+
def old_id(self):
|
244
|
+
"""
|
245
|
+
Gets the old_id of this PullRequestFileChangeSummary.
|
246
|
+
The ID of the changed object on the target.
|
247
|
+
|
248
|
+
|
249
|
+
:return: The old_id of this PullRequestFileChangeSummary.
|
250
|
+
:rtype: str
|
251
|
+
"""
|
252
|
+
return self._old_id
|
253
|
+
|
254
|
+
@old_id.setter
|
255
|
+
def old_id(self, old_id):
|
256
|
+
"""
|
257
|
+
Sets the old_id of this PullRequestFileChangeSummary.
|
258
|
+
The ID of the changed object on the target.
|
259
|
+
|
260
|
+
|
261
|
+
:param old_id: The old_id of this PullRequestFileChangeSummary.
|
262
|
+
:type: str
|
263
|
+
"""
|
264
|
+
self._old_id = old_id
|
265
|
+
|
266
|
+
@property
|
267
|
+
def new_id(self):
|
268
|
+
"""
|
269
|
+
Gets the new_id of this PullRequestFileChangeSummary.
|
270
|
+
The ID of the changed object on the source.
|
271
|
+
|
272
|
+
|
273
|
+
:return: The new_id of this PullRequestFileChangeSummary.
|
274
|
+
:rtype: str
|
275
|
+
"""
|
276
|
+
return self._new_id
|
277
|
+
|
278
|
+
@new_id.setter
|
279
|
+
def new_id(self, new_id):
|
280
|
+
"""
|
281
|
+
Sets the new_id of this PullRequestFileChangeSummary.
|
282
|
+
The ID of the changed object on the source.
|
283
|
+
|
284
|
+
|
285
|
+
:param new_id: The new_id of this PullRequestFileChangeSummary.
|
286
|
+
:type: str
|
287
|
+
"""
|
288
|
+
self._new_id = new_id
|
289
|
+
|
290
|
+
@property
|
291
|
+
def added_lines_count(self):
|
292
|
+
"""
|
293
|
+
Gets the added_lines_count of this PullRequestFileChangeSummary.
|
294
|
+
The number of lines added in whole difference.
|
295
|
+
|
296
|
+
|
297
|
+
:return: The added_lines_count of this PullRequestFileChangeSummary.
|
298
|
+
:rtype: int
|
299
|
+
"""
|
300
|
+
return self._added_lines_count
|
301
|
+
|
302
|
+
@added_lines_count.setter
|
303
|
+
def added_lines_count(self, added_lines_count):
|
304
|
+
"""
|
305
|
+
Sets the added_lines_count of this PullRequestFileChangeSummary.
|
306
|
+
The number of lines added in whole difference.
|
307
|
+
|
308
|
+
|
309
|
+
:param added_lines_count: The added_lines_count of this PullRequestFileChangeSummary.
|
310
|
+
:type: int
|
311
|
+
"""
|
312
|
+
self._added_lines_count = added_lines_count
|
313
|
+
|
314
|
+
@property
|
315
|
+
def deleted_lines_count(self):
|
316
|
+
"""
|
317
|
+
Gets the deleted_lines_count of this PullRequestFileChangeSummary.
|
318
|
+
The number of lines deleted in whole difference.
|
319
|
+
|
320
|
+
|
321
|
+
:return: The deleted_lines_count of this PullRequestFileChangeSummary.
|
322
|
+
:rtype: int
|
323
|
+
"""
|
324
|
+
return self._deleted_lines_count
|
325
|
+
|
326
|
+
@deleted_lines_count.setter
|
327
|
+
def deleted_lines_count(self, deleted_lines_count):
|
328
|
+
"""
|
329
|
+
Sets the deleted_lines_count of this PullRequestFileChangeSummary.
|
330
|
+
The number of lines deleted in whole difference.
|
331
|
+
|
332
|
+
|
333
|
+
:param deleted_lines_count: The deleted_lines_count of this PullRequestFileChangeSummary.
|
334
|
+
:type: int
|
335
|
+
"""
|
336
|
+
self._deleted_lines_count = deleted_lines_count
|
337
|
+
|
338
|
+
@property
|
339
|
+
def has_conflicts(self):
|
340
|
+
"""
|
341
|
+
Gets the has_conflicts of this PullRequestFileChangeSummary.
|
342
|
+
Indicates whether the changed file contains conflicts.
|
343
|
+
|
344
|
+
|
345
|
+
:return: The has_conflicts of this PullRequestFileChangeSummary.
|
346
|
+
:rtype: bool
|
347
|
+
"""
|
348
|
+
return self._has_conflicts
|
349
|
+
|
350
|
+
@has_conflicts.setter
|
351
|
+
def has_conflicts(self, has_conflicts):
|
352
|
+
"""
|
353
|
+
Sets the has_conflicts of this PullRequestFileChangeSummary.
|
354
|
+
Indicates whether the changed file contains conflicts.
|
355
|
+
|
356
|
+
|
357
|
+
:param has_conflicts: The has_conflicts of this PullRequestFileChangeSummary.
|
358
|
+
:type: bool
|
359
|
+
"""
|
360
|
+
self._has_conflicts = has_conflicts
|
361
|
+
|
362
|
+
@property
|
363
|
+
def freeform_tags(self):
|
364
|
+
"""
|
365
|
+
Gets the freeform_tags of this PullRequestFileChangeSummary.
|
366
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{\"bar-key\": \"value\"}`
|
367
|
+
|
368
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
369
|
+
|
370
|
+
|
371
|
+
:return: The freeform_tags of this PullRequestFileChangeSummary.
|
372
|
+
:rtype: dict(str, str)
|
373
|
+
"""
|
374
|
+
return self._freeform_tags
|
375
|
+
|
376
|
+
@freeform_tags.setter
|
377
|
+
def freeform_tags(self, freeform_tags):
|
378
|
+
"""
|
379
|
+
Sets the freeform_tags of this PullRequestFileChangeSummary.
|
380
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{\"bar-key\": \"value\"}`
|
381
|
+
|
382
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
383
|
+
|
384
|
+
|
385
|
+
:param freeform_tags: The freeform_tags of this PullRequestFileChangeSummary.
|
386
|
+
:type: dict(str, str)
|
387
|
+
"""
|
388
|
+
self._freeform_tags = freeform_tags
|
389
|
+
|
390
|
+
@property
|
391
|
+
def defined_tags(self):
|
392
|
+
"""
|
393
|
+
Gets the defined_tags of this PullRequestFileChangeSummary.
|
394
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
395
|
+
|
396
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
397
|
+
|
398
|
+
|
399
|
+
:return: The defined_tags of this PullRequestFileChangeSummary.
|
400
|
+
:rtype: dict(str, dict(str, object))
|
401
|
+
"""
|
402
|
+
return self._defined_tags
|
403
|
+
|
404
|
+
@defined_tags.setter
|
405
|
+
def defined_tags(self, defined_tags):
|
406
|
+
"""
|
407
|
+
Sets the defined_tags of this PullRequestFileChangeSummary.
|
408
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
409
|
+
|
410
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
411
|
+
|
412
|
+
|
413
|
+
:param defined_tags: The defined_tags of this PullRequestFileChangeSummary.
|
414
|
+
:type: dict(str, dict(str, object))
|
415
|
+
"""
|
416
|
+
self._defined_tags = defined_tags
|
417
|
+
|
418
|
+
@property
|
419
|
+
def system_tags(self):
|
420
|
+
"""
|
421
|
+
Gets the system_tags of this PullRequestFileChangeSummary.
|
422
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
423
|
+
|
424
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
425
|
+
|
426
|
+
|
427
|
+
:return: The system_tags of this PullRequestFileChangeSummary.
|
428
|
+
:rtype: dict(str, dict(str, object))
|
429
|
+
"""
|
430
|
+
return self._system_tags
|
431
|
+
|
432
|
+
@system_tags.setter
|
433
|
+
def system_tags(self, system_tags):
|
434
|
+
"""
|
435
|
+
Sets the system_tags of this PullRequestFileChangeSummary.
|
436
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
437
|
+
|
438
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
439
|
+
|
440
|
+
|
441
|
+
:param system_tags: The system_tags of this PullRequestFileChangeSummary.
|
442
|
+
:type: dict(str, dict(str, object))
|
443
|
+
"""
|
444
|
+
self._system_tags = system_tags
|
445
|
+
|
446
|
+
def __repr__(self):
|
447
|
+
return formatted_flat_dict(self)
|
448
|
+
|
449
|
+
def __eq__(self, other):
|
450
|
+
if other is None:
|
451
|
+
return False
|
452
|
+
|
453
|
+
return self.__dict__ == other.__dict__
|
454
|
+
|
455
|
+
def __ne__(self, other):
|
456
|
+
return not self == other
|
@@ -0,0 +1,135 @@
|
|
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
|
+
from .pull_request_activity_summary import PullRequestActivitySummary
|
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 PullRequestLifecycleActivitySummary(PullRequestActivitySummary):
|
14
|
+
"""
|
15
|
+
activity describing a pull request state change
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the state property of a PullRequestLifecycleActivitySummary.
|
19
|
+
#: This constant has a value of "OPENED"
|
20
|
+
STATE_OPENED = "OPENED"
|
21
|
+
|
22
|
+
#: A constant which can be used with the state property of a PullRequestLifecycleActivitySummary.
|
23
|
+
#: This constant has a value of "CLOSED"
|
24
|
+
STATE_CLOSED = "CLOSED"
|
25
|
+
|
26
|
+
#: A constant which can be used with the state property of a PullRequestLifecycleActivitySummary.
|
27
|
+
#: This constant has a value of "MERGED"
|
28
|
+
STATE_MERGED = "MERGED"
|
29
|
+
|
30
|
+
#: A constant which can be used with the state property of a PullRequestLifecycleActivitySummary.
|
31
|
+
#: This constant has a value of "REOPENED"
|
32
|
+
STATE_REOPENED = "REOPENED"
|
33
|
+
|
34
|
+
def __init__(self, **kwargs):
|
35
|
+
"""
|
36
|
+
Initializes a new PullRequestLifecycleActivitySummary object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.PullRequestLifecycleActivitySummary.activity_type` attribute
|
37
|
+
of this class is ``LIFECYCLE`` and it should not be changed.
|
38
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
39
|
+
|
40
|
+
:param id:
|
41
|
+
The value to assign to the id property of this PullRequestLifecycleActivitySummary.
|
42
|
+
:type id: str
|
43
|
+
|
44
|
+
:param principal:
|
45
|
+
The value to assign to the principal property of this PullRequestLifecycleActivitySummary.
|
46
|
+
:type principal: oci.devops.models.PrincipalDetails
|
47
|
+
|
48
|
+
:param pull_request_id:
|
49
|
+
The value to assign to the pull_request_id property of this PullRequestLifecycleActivitySummary.
|
50
|
+
:type pull_request_id: str
|
51
|
+
|
52
|
+
:param time_occurred:
|
53
|
+
The value to assign to the time_occurred property of this PullRequestLifecycleActivitySummary.
|
54
|
+
:type time_occurred: datetime
|
55
|
+
|
56
|
+
:param activity_type:
|
57
|
+
The value to assign to the activity_type property of this PullRequestLifecycleActivitySummary.
|
58
|
+
Allowed values for this property are: "LIFECYCLE", "APPROVAL", "COMMIT", "REVIEWER", "COMMENT", 'UNKNOWN_ENUM_VALUE'.
|
59
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
60
|
+
:type activity_type: str
|
61
|
+
|
62
|
+
:param state:
|
63
|
+
The value to assign to the state property of this PullRequestLifecycleActivitySummary.
|
64
|
+
Allowed values for this property are: "OPENED", "CLOSED", "MERGED", "REOPENED", 'UNKNOWN_ENUM_VALUE'.
|
65
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
66
|
+
:type state: str
|
67
|
+
|
68
|
+
"""
|
69
|
+
self.swagger_types = {
|
70
|
+
'id': 'str',
|
71
|
+
'principal': 'PrincipalDetails',
|
72
|
+
'pull_request_id': 'str',
|
73
|
+
'time_occurred': 'datetime',
|
74
|
+
'activity_type': 'str',
|
75
|
+
'state': 'str'
|
76
|
+
}
|
77
|
+
|
78
|
+
self.attribute_map = {
|
79
|
+
'id': 'id',
|
80
|
+
'principal': 'principal',
|
81
|
+
'pull_request_id': 'pullRequestId',
|
82
|
+
'time_occurred': 'timeOccurred',
|
83
|
+
'activity_type': 'activityType',
|
84
|
+
'state': 'state'
|
85
|
+
}
|
86
|
+
|
87
|
+
self._id = None
|
88
|
+
self._principal = None
|
89
|
+
self._pull_request_id = None
|
90
|
+
self._time_occurred = None
|
91
|
+
self._activity_type = None
|
92
|
+
self._state = None
|
93
|
+
self._activity_type = 'LIFECYCLE'
|
94
|
+
|
95
|
+
@property
|
96
|
+
def state(self):
|
97
|
+
"""
|
98
|
+
**[Required]** Gets the state of this PullRequestLifecycleActivitySummary.
|
99
|
+
The state of a pull request after an action.
|
100
|
+
|
101
|
+
Allowed values for this property are: "OPENED", "CLOSED", "MERGED", "REOPENED", 'UNKNOWN_ENUM_VALUE'.
|
102
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
103
|
+
|
104
|
+
|
105
|
+
:return: The state of this PullRequestLifecycleActivitySummary.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._state
|
109
|
+
|
110
|
+
@state.setter
|
111
|
+
def state(self, state):
|
112
|
+
"""
|
113
|
+
Sets the state of this PullRequestLifecycleActivitySummary.
|
114
|
+
The state of a pull request after an action.
|
115
|
+
|
116
|
+
|
117
|
+
:param state: The state of this PullRequestLifecycleActivitySummary.
|
118
|
+
:type: str
|
119
|
+
"""
|
120
|
+
allowed_values = ["OPENED", "CLOSED", "MERGED", "REOPENED"]
|
121
|
+
if not value_allowed_none_or_none_sentinel(state, allowed_values):
|
122
|
+
state = 'UNKNOWN_ENUM_VALUE'
|
123
|
+
self._state = state
|
124
|
+
|
125
|
+
def __repr__(self):
|
126
|
+
return formatted_flat_dict(self)
|
127
|
+
|
128
|
+
def __eq__(self, other):
|
129
|
+
if other is None:
|
130
|
+
return False
|
131
|
+
|
132
|
+
return self.__dict__ == other.__dict__
|
133
|
+
|
134
|
+
def __ne__(self, other):
|
135
|
+
return not self == other
|