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.
Files changed (444) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +36 -36
  3. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  4. oci/ai_document/ai_service_document_client.py +22 -22
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +17 -17
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +23 -23
  9. oci/announcements_service/announcement_client.py +4 -4
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/apigateway/api_gateway_client.py +21 -21
  13. oci/apigateway/deployment_client.py +6 -6
  14. oci/apigateway/gateway_client.py +6 -6
  15. oci/apigateway/subscribers_client.py +6 -6
  16. oci/apigateway/usage_plans_client.py +6 -6
  17. oci/apigateway/work_requests_client.py +5 -5
  18. oci/apm_config/config_client.py +9 -9
  19. oci/apm_control_plane/apm_domain_client.py +14 -14
  20. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  21. oci/apm_traces/attributes_client.py +8 -8
  22. oci/apm_traces/query_client.py +2 -2
  23. oci/apm_traces/trace_client.py +4 -4
  24. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  25. oci/artifacts/artifacts_client.py +32 -32
  26. oci/audit/audit_client.py +3 -3
  27. oci/autoscaling/auto_scaling_client.py +11 -11
  28. oci/bastion/bastion_client.py +15 -15
  29. oci/bds/bds_client.py +808 -84
  30. oci/bds/bds_client_composite_operations.py +177 -0
  31. oci/bds/models/__init__.py +22 -0
  32. oci/bds/models/auto_scale_policy_metric_rule.py +9 -5
  33. oci/bds/models/batching_based_odh_patching_config.py +113 -0
  34. oci/bds/models/batching_based_patching_configs.py +2 -2
  35. oci/bds/models/create_resource_principal_configuration_details.py +134 -0
  36. oci/bds/models/domain_based_odh_patching_config.py +82 -0
  37. oci/bds/models/domain_based_patching_configs.py +113 -0
  38. oci/bds/models/downtime_based_odh_patching_config.py +51 -0
  39. oci/bds/models/downtime_based_patching_configs.py +1 -1
  40. oci/bds/models/force_refresh_resource_principal_details.py +72 -0
  41. oci/bds/models/install_patch_details.py +29 -2
  42. oci/bds/models/node.py +31 -0
  43. oci/bds/models/odh_patching_config.py +117 -0
  44. oci/bds/models/patching_configs.py +12 -4
  45. oci/bds/models/remove_resource_principal_configuration_details.py +72 -0
  46. oci/bds/models/resource_principal_configuration.py +352 -0
  47. oci/bds/models/resource_principal_configuration_summary.py +289 -0
  48. oci/bds/models/update_resource_principal_configuration_details.py +103 -0
  49. oci/bds/models/work_request.py +19 -3
  50. oci/blockchain/blockchain_platform_client.py +27 -27
  51. oci/budget/budget_client.py +10 -10
  52. oci/capacity_management/capacity_management_client.py +22 -22
  53. oci/certificates/certificates_client.py +5 -5
  54. oci/certificates_management/certificates_management_client.py +32 -32
  55. oci/cims/incident_client.py +8 -8
  56. oci/cims/user_client.py +1 -1
  57. oci/cloud_bridge/common_client.py +5 -5
  58. oci/cloud_bridge/discovery_client.py +14 -14
  59. oci/cloud_bridge/inventory_client.py +16 -16
  60. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  61. oci/cloud_guard/cloud_guard_client.py +155 -155
  62. oci/cloud_migrations/migration_client.py +43 -43
  63. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  64. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  65. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  66. oci/compute_instance_agent/plugin_client.py +2 -2
  67. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  68. oci/container_engine/container_engine_client.py +44 -44
  69. oci/container_instances/container_instance_client.py +18 -18
  70. oci/core/blockstorage_client.py +60 -60
  71. oci/core/compute_client.py +102 -102
  72. oci/core/compute_management_client.py +32 -32
  73. oci/core/virtual_network_client.py +247 -247
  74. oci/dashboard_service/dashboard_client.py +6 -6
  75. oci/dashboard_service/dashboard_group_client.py +6 -6
  76. oci/data_catalog/data_catalog_client.py +149 -149
  77. oci/data_flow/data_flow_client.py +42 -42
  78. oci/data_integration/data_integration_client.py +163 -163
  79. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  80. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  81. oci/data_safe/data_safe_client.py +287 -287
  82. oci/data_science/data_science_client.py +91 -91
  83. oci/database/database_client.py +356 -356
  84. oci/database_management/db_management_client.py +208 -208
  85. oci/database_management/diagnosability_client.py +4 -4
  86. oci/database_management/managed_my_sql_databases_client.py +7 -7
  87. oci/database_management/perfhub_client.py +1 -1
  88. oci/database_management/sql_tuning_client.py +17 -17
  89. oci/database_migration/database_migration_client.py +42 -42
  90. oci/database_tools/database_tools_client.py +23 -23
  91. oci/demand_signal/occ_demand_signal_client.py +7 -7
  92. oci/desktops/desktop_service_client.py +21 -21
  93. oci/devops/devops_client.py +8664 -2588
  94. oci/devops/devops_client_composite_operations.py +443 -0
  95. oci/devops/models/__init__.py +182 -0
  96. oci/devops/models/approval_activity_summary.py +127 -0
  97. oci/devops/models/approval_rule.py +165 -0
  98. oci/devops/models/approval_rule_collection.py +72 -0
  99. oci/devops/models/approval_rule_merge_check.py +270 -0
  100. oci/devops/models/build_merge_check.py +144 -0
  101. oci/devops/models/build_run_snapshot.py +329 -0
  102. oci/devops/models/build_run_snapshot_collection.py +72 -0
  103. oci/devops/models/build_run_snapshot_summary.py +297 -0
  104. oci/devops/models/comment_activity_summary.py +110 -0
  105. oci/devops/models/commit_activity_summary.py +141 -0
  106. oci/devops/models/commit_analytics_author_collection.py +72 -0
  107. oci/devops/models/commit_analytics_author_summary.py +103 -0
  108. oci/devops/models/conflict_merge_check.py +99 -0
  109. oci/devops/models/create_or_update_git_branch_details.py +89 -0
  110. oci/devops/models/create_or_update_git_ref_details.py +140 -0
  111. oci/devops/models/create_or_update_git_tag_details.py +89 -0
  112. oci/devops/models/create_or_update_protected_branch_details.py +122 -0
  113. oci/devops/models/create_pull_request_comment_details.py +227 -0
  114. oci/devops/models/create_pull_request_details.py +328 -0
  115. oci/devops/models/create_repository_details.py +33 -0
  116. oci/devops/models/create_reviewer_details.py +72 -0
  117. oci/devops/models/delete_git_ref_details.py +72 -0
  118. oci/devops/models/delete_protected_branch_details.py +72 -0
  119. oci/devops/models/deploy_artifact_source.py +7 -3
  120. oci/devops/models/devops_code_repository_filter.py +11 -3
  121. oci/devops/models/devops_code_repository_filter_attributes.py +31 -0
  122. oci/devops/models/execute_merge_pull_request_details.py +196 -0
  123. oci/devops/models/fork_sync_status_collection.py +72 -0
  124. oci/devops/models/fork_sync_status_summary.py +154 -0
  125. oci/devops/models/generic_artifact_location_details.py +101 -0
  126. oci/devops/models/generic_artifacts.py +116 -0
  127. oci/devops/models/generic_deploy_artifact_source.py +1 -1
  128. oci/devops/models/helm_command_spec_artifact_source.py +1 -1
  129. oci/devops/models/helm_repository_deploy_artifact_source.py +1 -1
  130. oci/devops/models/inline_deploy_artifact_source.py +1 -1
  131. oci/devops/models/merge_check.py +117 -0
  132. oci/devops/models/merge_check_collection.py +145 -0
  133. oci/devops/models/merge_checks.py +88 -0
  134. oci/devops/models/merge_pull_request_details.py +109 -0
  135. oci/devops/models/merge_settings.py +139 -0
  136. oci/devops/models/mirror_repository_config.py +2 -2
  137. oci/devops/models/object_storage_generic_artifact_location_details.py +175 -0
  138. oci/devops/models/ocir_deploy_artifact_source.py +1 -1
  139. oci/devops/models/patch_insert_instruction.py +171 -0
  140. oci/devops/models/patch_instruction.py +184 -0
  141. oci/devops/models/patch_merge_instruction.py +97 -0
  142. oci/devops/models/patch_move_instruction.py +147 -0
  143. oci/devops/models/patch_prohibit_instruction.py +100 -0
  144. oci/devops/models/patch_pull_request_details.py +72 -0
  145. oci/devops/models/patch_remove_instruction.py +59 -0
  146. oci/devops/models/patch_replace_instruction.py +92 -0
  147. oci/devops/models/patch_require_instruction.py +99 -0
  148. oci/devops/models/principal_details.py +209 -0
  149. oci/devops/models/project_notification_preference.py +154 -0
  150. oci/devops/models/project_repository_settings.py +95 -0
  151. oci/devops/models/protected_branch.py +189 -0
  152. oci/devops/models/protected_branch_collection.py +72 -0
  153. oci/devops/models/protected_branch_summary.py +224 -0
  154. oci/devops/models/pull_request.py +814 -0
  155. oci/devops/models/pull_request_activity_collection.py +72 -0
  156. oci/devops/models/pull_request_activity_summary.py +253 -0
  157. oci/devops/models/pull_request_attachment.py +196 -0
  158. oci/devops/models/pull_request_attachment_collection.py +72 -0
  159. oci/devops/models/pull_request_attachment_summary.py +196 -0
  160. oci/devops/models/pull_request_author_collection.py +72 -0
  161. oci/devops/models/pull_request_author_summary.py +68 -0
  162. oci/devops/models/pull_request_change_summary_metrics.py +134 -0
  163. oci/devops/models/pull_request_collection.py +72 -0
  164. oci/devops/models/pull_request_comment.py +581 -0
  165. oci/devops/models/pull_request_comment_collection.py +72 -0
  166. oci/devops/models/pull_request_comment_like_collection.py +103 -0
  167. oci/devops/models/pull_request_comment_summary.py +533 -0
  168. oci/devops/models/pull_request_file_change_collection.py +72 -0
  169. oci/devops/models/pull_request_file_change_summary.py +456 -0
  170. oci/devops/models/pull_request_lifecycle_activity_summary.py +135 -0
  171. oci/devops/models/pull_request_notification_preference.py +154 -0
  172. oci/devops/models/pull_request_summary.py +669 -0
  173. oci/devops/models/repository.py +47 -6
  174. oci/devops/models/repository_analytics_details.py +318 -0
  175. oci/devops/models/repository_metric_aggregation.py +72 -0
  176. oci/devops/models/repository_metric_summary.py +281 -0
  177. oci/devops/models/repository_notification_preference.py +158 -0
  178. oci/devops/models/repository_settings.py +122 -0
  179. oci/devops/models/repository_summary.py +33 -0
  180. oci/devops/models/review_pull_request_details.py +88 -0
  181. oci/devops/models/reviewer.py +256 -0
  182. oci/devops/models/reviewer_activity_summary.py +141 -0
  183. oci/devops/models/stage_output.py +140 -0
  184. oci/devops/models/summarize_project_repository_analytics_details.py +318 -0
  185. oci/devops/models/summarize_repository_analytics_details.py +318 -0
  186. oci/devops/models/sync_repository_details.py +103 -0
  187. oci/devops/models/test_report_output.py +89 -0
  188. oci/devops/models/update_approval_rule_details.py +165 -0
  189. oci/devops/models/update_approval_rule_details_collection.py +72 -0
  190. oci/devops/models/update_project_notification_preference_details.py +72 -0
  191. oci/devops/models/update_project_repository_settings_details.py +95 -0
  192. oci/devops/models/update_pull_request_comment_details.py +72 -0
  193. oci/devops/models/update_pull_request_details.py +235 -0
  194. oci/devops/models/update_pull_request_notification_preference_details.py +72 -0
  195. oci/devops/models/update_repository_details.py +2 -0
  196. oci/devops/models/update_repository_notification_preference_details.py +72 -0
  197. oci/devops/models/update_repository_settings_details.py +122 -0
  198. oci/devops/models/update_reviewer_details.py +72 -0
  199. oci/devops/models/validate_merge_pull_request_details.py +51 -0
  200. oci/devops/models/work_request.py +31 -3
  201. oci/devops/models/work_request_summary.py +31 -3
  202. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  203. oci/dns/dns_client.py +52 -52
  204. oci/dts/appliance_export_job_client.py +6 -6
  205. oci/dts/shipping_vendors_client.py +1 -1
  206. oci/dts/transfer_appliance_client.py +8 -8
  207. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  208. oci/dts/transfer_device_client.py +5 -5
  209. oci/dts/transfer_job_client.py +6 -6
  210. oci/dts/transfer_package_client.py +7 -7
  211. oci/em_warehouse/em_data_lake_client.py +13 -13
  212. oci/em_warehouse/em_warehouse_client.py +26 -26
  213. oci/email/email_client.py +31 -31
  214. oci/email_data_plane/email_dp_client.py +1 -1
  215. oci/events/events_client.py +6 -6
  216. oci/file_storage/file_storage_client.py +51 -51
  217. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  218. oci/functions/functions_invoke_client.py +1 -1
  219. oci/functions/functions_management_client.py +16 -16
  220. oci/fusion_apps/data_masking_activity_client.py +3 -3
  221. oci/fusion_apps/fusion_applications_client.py +41 -41
  222. oci/fusion_apps/fusion_environment_client.py +15 -15
  223. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  224. oci/fusion_apps/refresh_activity_client.py +4 -4
  225. oci/fusion_apps/scheduled_activity_client.py +2 -2
  226. oci/fusion_apps/service_attachment_client.py +2 -2
  227. oci/generative_ai/generative_ai_client.py +22 -22
  228. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  229. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  230. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  231. oci/golden_gate/golden_gate_client.py +68 -68
  232. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  233. oci/governance_rules_control_plane/work_request_client.py +5 -5
  234. oci/healthchecks/health_checks_client.py +17 -17
  235. oci/identity/identity_client.py +145 -145
  236. oci/identity_data_plane/dataplane_client.py +2 -2
  237. oci/identity_domains/identity_domains_client.py +307 -307
  238. oci/integration/integration_instance_client.py +15 -15
  239. oci/jms/java_management_service_client.py +1414 -234
  240. oci/jms/java_management_service_client_composite_operations.py +194 -0
  241. oci/jms/models/__init__.py +24 -0
  242. oci/jms/models/agent_installer_collection.py +72 -0
  243. oci/jms/models/agent_installer_summary.py +411 -0
  244. oci/jms/models/application_installation_usage_summary.py +62 -0
  245. oci/jms/models/application_usage.py +35 -4
  246. oci/jms/models/application_work_item_details.py +1 -1
  247. oci/jms/models/basic_work_item_details.py +1 -1
  248. oci/jms/models/create_jms_plugin_details.py +220 -0
  249. oci/jms/models/crypto_analysis_result.py +62 -0
  250. oci/jms/models/crypto_analysis_result_summary.py +62 -0
  251. oci/jms/models/deployed_application_installation_usage_summary.py +32 -1
  252. oci/jms/models/deployed_application_migration_analyses_target.py +197 -0
  253. oci/jms/models/deployed_application_usage.py +31 -0
  254. oci/jms/models/deployed_application_work_item_details.py +183 -0
  255. oci/jms/models/export_setting.py +3 -3
  256. oci/jms/models/fleet_agent_configuration.py +62 -0
  257. oci/jms/models/generate_agent_installer_configuration_details.py +111 -0
  258. oci/jms/models/generate_load_pipeline_script_details.py +165 -0
  259. oci/jms/models/installation_site.py +7 -3
  260. oci/jms/models/java_artifact.py +2 -2
  261. oci/jms/models/java_family.py +37 -2
  262. oci/jms/models/java_family_summary.py +37 -2
  263. oci/jms/models/java_migration_analysis_target.py +34 -3
  264. oci/jms/models/java_server_instance_usage.py +31 -0
  265. oci/jms/models/jms_plugin.py +698 -0
  266. oci/jms/models/jms_plugin_collection.py +72 -0
  267. oci/jms/models/jms_plugin_summary.py +698 -0
  268. oci/jms/models/lcm_work_item_details.py +1 -1
  269. oci/jms/models/library_usage.py +64 -2
  270. oci/jms/models/managed_instance_usage.py +38 -3
  271. oci/jms/models/operating_system.py +2 -2
  272. oci/jms/models/performance_tuning_analysis_result.py +4 -4
  273. oci/jms/models/performance_tuning_analysis_result_summary.py +4 -4
  274. oci/jms/models/request_deployed_application_migration_analyses_details.py +73 -0
  275. oci/jms/models/update_export_setting_details.py +3 -3
  276. oci/jms/models/update_fleet_agent_configuration_details.py +62 -0
  277. oci/jms/models/update_jms_plugin_details.py +150 -0
  278. oci/jms/models/work_item_details.py +11 -3
  279. oci/jms/models/work_item_summary.py +7 -3
  280. oci/jms_java_downloads/java_download_client.py +30 -30
  281. oci/jms_java_downloads/models/generate_artifact_download_url_details.py +35 -0
  282. oci/key_management/ekm_client.py +5 -5
  283. oci/key_management/kms_crypto_client.py +6 -6
  284. oci/key_management/kms_hsm_cluster_client.py +12 -12
  285. oci/key_management/kms_management_client.py +21 -21
  286. oci/key_management/kms_vault_client.py +14 -14
  287. oci/license_manager/license_manager_client.py +18 -18
  288. oci/limits/limits_client.py +4 -4
  289. oci/limits/quotas_client.py +7 -7
  290. oci/load_balancer/load_balancer_client.py +61 -61
  291. oci/lockbox/lockbox_client.py +24 -24
  292. oci/log_analytics/log_analytics_client.py +193 -193
  293. oci/logging/logging_management_client.py +30 -30
  294. oci/loggingingestion/logging_client.py +1 -1
  295. oci/loggingsearch/log_search_client.py +1 -1
  296. oci/management_agent/management_agent_client.py +28 -28
  297. oci/management_dashboard/dashx_apis_client.py +14 -14
  298. oci/marketplace/account_client.py +2 -2
  299. oci/marketplace/marketplace_client.py +30 -30
  300. oci/marketplace_private_offer/attachment_client.py +5 -5
  301. oci/marketplace_private_offer/offer_client.py +6 -6
  302. oci/marketplace_publisher/attachment_client.py +5 -5
  303. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  304. oci/marketplace_publisher/offer_client.py +6 -6
  305. oci/media_services/media_services_client.py +60 -60
  306. oci/media_services/media_stream_client.py +2 -2
  307. oci/monitoring/monitoring_client.py +18 -18
  308. oci/mysql/channels_client.py +7 -7
  309. oci/mysql/db_backups_client.py +7 -7
  310. oci/mysql/db_system_client.py +17 -17
  311. oci/mysql/mysqlaas_client.py +7 -7
  312. oci/mysql/replicas_client.py +5 -5
  313. oci/mysql/work_requests_client.py +4 -4
  314. oci/network_firewall/network_firewall_client.py +86 -86
  315. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  316. oci/nosql/nosql_client.py +24 -24
  317. oci/object_storage/object_storage_client.py +50 -50
  318. oci/oce/oce_instance_client.py +10 -10
  319. oci/oci_control_center/occ_metrics_client.py +3 -3
  320. oci/ocvp/cluster_client.py +5 -5
  321. oci/ocvp/esxi_host_client.py +8 -8
  322. oci/ocvp/sddc_client.py +14 -14
  323. oci/ocvp/work_request_client.py +4 -4
  324. oci/oda/management_client.py +59 -59
  325. oci/oda/oda_client.py +17 -17
  326. oci/oda/odapackage_client.py +7 -7
  327. oci/onesubscription/billing_schedule_client.py +1 -1
  328. oci/onesubscription/commitment_client.py +2 -2
  329. oci/onesubscription/computed_usage_client.py +3 -3
  330. oci/onesubscription/invoice_summary_client.py +2 -2
  331. oci/onesubscription/organization_subscription_client.py +1 -1
  332. oci/onesubscription/ratecard_client.py +1 -1
  333. oci/onesubscription/subscribed_service_client.py +2 -2
  334. oci/onesubscription/subscription_client.py +1 -1
  335. oci/ons/notification_control_plane_client.py +6 -6
  336. oci/ons/notification_data_plane_client.py +10 -10
  337. oci/opa/opa_instance_client.py +13 -13
  338. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  339. oci/opensearch/opensearch_cluster_client.py +14 -14
  340. oci/operator_access_control/access_requests_client.py +10 -10
  341. oci/operator_access_control/operator_actions_client.py +2 -2
  342. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  343. oci/operator_access_control/operator_control_client.py +6 -6
  344. oci/opsi/operations_insights_client.py +177 -177
  345. oci/optimizer/optimizer_client.py +26 -26
  346. oci/os_management/event_client.py +8 -8
  347. oci/os_management/os_management_client.py +69 -69
  348. oci/os_management_hub/event_client.py +8 -8
  349. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  350. oci/os_management_hub/managed_instance_client.py +31 -31
  351. oci/os_management_hub/managed_instance_group_client.py +25 -25
  352. oci/os_management_hub/management_station_client.py +10 -10
  353. oci/os_management_hub/models/create_custom_software_source_details.py +41 -0
  354. oci/os_management_hub/models/create_versioned_custom_software_source_details.py +41 -0
  355. oci/os_management_hub/models/custom_software_source.py +41 -0
  356. oci/os_management_hub/models/update_custom_software_source_details.py +43 -2
  357. oci/os_management_hub/models/versioned_custom_software_source.py +41 -0
  358. oci/os_management_hub/onboarding_client.py +6 -6
  359. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  360. oci/os_management_hub/scheduled_job_client.py +7 -7
  361. oci/os_management_hub/software_source_client.py +28 -28
  362. oci/os_management_hub/work_request_client.py +4 -4
  363. oci/osp_gateway/address_rule_service_client.py +1 -1
  364. oci/osp_gateway/address_service_client.py +2 -2
  365. oci/osp_gateway/invoice_service_client.py +5 -5
  366. oci/osp_gateway/subscription_service_client.py +5 -5
  367. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  368. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  369. oci/osub_subscription/commitment_client.py +2 -2
  370. oci/osub_subscription/ratecard_client.py +1 -1
  371. oci/osub_subscription/subscription_client.py +1 -1
  372. oci/osub_usage/computed_usage_client.py +3 -3
  373. oci/psql/models/__init__.py +6 -0
  374. oci/psql/models/backup.py +2 -2
  375. oci/psql/models/backup_summary.py +2 -2
  376. oci/psql/models/configuration.py +117 -31
  377. oci/psql/models/configuration_summary.py +58 -19
  378. oci/psql/models/create_configuration_details.py +60 -21
  379. oci/psql/models/create_db_system_details.py +1 -1
  380. oci/psql/models/default_configuration.py +72 -33
  381. oci/psql/models/default_configuration_summary.py +60 -21
  382. oci/psql/models/management_policy_details.py +10 -2
  383. oci/psql/models/shape_memory_options.py +196 -0
  384. oci/psql/models/shape_ocpu_options.py +103 -0
  385. oci/psql/models/shape_summary.py +87 -2
  386. oci/psql/models/update_db_system_details.py +122 -0
  387. oci/psql/models/update_network_details.py +76 -0
  388. oci/psql/postgresql_client.py +35 -35
  389. oci/queue/queue_admin_client.py +11 -11
  390. oci/queue/queue_client.py +8 -8
  391. oci/recovery/database_recovery_client.py +25 -25
  392. oci/redis/redis_cluster_client.py +11 -11
  393. oci/regions_definitions.py +3 -0
  394. oci/resource_manager/resource_manager_client.py +52 -52
  395. oci/resource_scheduler/schedule_client.py +13 -13
  396. oci/resource_search/resource_search_client.py +3 -3
  397. oci/rover/rover_bundle_client.py +8 -8
  398. oci/rover/rover_cluster_client.py +8 -8
  399. oci/rover/rover_entitlement_client.py +6 -6
  400. oci/rover/rover_node_client.py +15 -15
  401. oci/rover/shape_client.py +1 -1
  402. oci/rover/work_requests_client.py +5 -5
  403. oci/sch/connector_plugins_client.py +2 -2
  404. oci/sch/service_connector_client.py +12 -12
  405. oci/secrets/secrets_client.py +3 -3
  406. oci/service_catalog/service_catalog_client.py +26 -26
  407. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  408. oci/service_mesh/service_mesh_client.py +48 -48
  409. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  410. oci/streaming/stream_admin_client.py +18 -18
  411. oci/streaming/stream_client.py +8 -8
  412. oci/tenant_manager_control_plane/domain_client.py +5 -5
  413. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  414. oci/tenant_manager_control_plane/governance_client.py +2 -2
  415. oci/tenant_manager_control_plane/link_client.py +3 -3
  416. oci/tenant_manager_control_plane/orders_client.py +2 -2
  417. oci/tenant_manager_control_plane/organization_client.py +10 -10
  418. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  419. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  420. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  421. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  422. oci/threat_intelligence/threatintel_client.py +5 -5
  423. oci/usage/resources_client.py +2 -2
  424. oci/usage/rewards_client.py +6 -6
  425. oci/usage/usagelimits_client.py +1 -1
  426. oci/usage_api/usageapi_client.py +33 -33
  427. oci/vault/vaults_client.py +13 -13
  428. oci/vbs_inst/vbs_instance_client.py +10 -10
  429. oci/version.py +1 -1
  430. oci/visual_builder/vb_instance_client.py +13 -13
  431. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  432. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  433. oci/waa/waa_client.py +13 -13
  434. oci/waa/work_request_client.py +4 -4
  435. oci/waas/redirect_client.py +6 -6
  436. oci/waas/waas_client.py +66 -66
  437. oci/waf/waf_client.py +24 -24
  438. oci/work_requests/work_request_client.py +4 -4
  439. {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/METADATA +1 -1
  440. {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/RECORD +444 -327
  441. {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/LICENSE.txt +0 -0
  442. {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  443. {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/WHEEL +0 -0
  444. {oci-2.130.0.dist-info → oci-2.131.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,116 @@
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 .stage_output import StageOutput
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 GenericArtifacts(StageOutput):
14
+ """
15
+ Details of artifact generated via pipeline run
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new GenericArtifacts object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.GenericArtifacts.output_type` attribute
21
+ of this class is ``ARTIFACT`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param output_type:
25
+ The value to assign to the output_type property of this GenericArtifacts.
26
+ Allowed values for this property are: "ARTIFACT", "TEST_REPORT"
27
+ :type output_type: str
28
+
29
+ :param step_name:
30
+ The value to assign to the step_name property of this GenericArtifacts.
31
+ :type step_name: str
32
+
33
+ :param name:
34
+ The value to assign to the name property of this GenericArtifacts.
35
+ :type name: str
36
+
37
+ :param location_details:
38
+ The value to assign to the location_details property of this GenericArtifacts.
39
+ :type location_details: oci.devops.models.GenericArtifactLocationDetails
40
+
41
+ """
42
+ self.swagger_types = {
43
+ 'output_type': 'str',
44
+ 'step_name': 'str',
45
+ 'name': 'str',
46
+ 'location_details': 'GenericArtifactLocationDetails'
47
+ }
48
+
49
+ self.attribute_map = {
50
+ 'output_type': 'outputType',
51
+ 'step_name': 'stepName',
52
+ 'name': 'name',
53
+ 'location_details': 'locationDetails'
54
+ }
55
+
56
+ self._output_type = None
57
+ self._step_name = None
58
+ self._name = None
59
+ self._location_details = None
60
+ self._output_type = 'ARTIFACT'
61
+
62
+ @property
63
+ def name(self):
64
+ """
65
+ **[Required]** Gets the name of this GenericArtifacts.
66
+ Name of artifact.
67
+
68
+
69
+ :return: The name of this GenericArtifacts.
70
+ :rtype: str
71
+ """
72
+ return self._name
73
+
74
+ @name.setter
75
+ def name(self, name):
76
+ """
77
+ Sets the name of this GenericArtifacts.
78
+ Name of artifact.
79
+
80
+
81
+ :param name: The name of this GenericArtifacts.
82
+ :type: str
83
+ """
84
+ self._name = name
85
+
86
+ @property
87
+ def location_details(self):
88
+ """
89
+ **[Required]** Gets the location_details of this GenericArtifacts.
90
+
91
+ :return: The location_details of this GenericArtifacts.
92
+ :rtype: oci.devops.models.GenericArtifactLocationDetails
93
+ """
94
+ return self._location_details
95
+
96
+ @location_details.setter
97
+ def location_details(self, location_details):
98
+ """
99
+ Sets the location_details of this GenericArtifacts.
100
+
101
+ :param location_details: The location_details of this GenericArtifacts.
102
+ :type: oci.devops.models.GenericArtifactLocationDetails
103
+ """
104
+ self._location_details = location_details
105
+
106
+ def __repr__(self):
107
+ return formatted_flat_dict(self)
108
+
109
+ def __eq__(self, other):
110
+ if other is None:
111
+ return False
112
+
113
+ return self.__dict__ == other.__dict__
114
+
115
+ def __ne__(self, other):
116
+ return not self == other
@@ -23,7 +23,7 @@ class GenericDeployArtifactSource(DeployArtifactSource):
23
23
 
24
24
  :param deploy_artifact_source_type:
25
25
  The value to assign to the deploy_artifact_source_type property of this GenericDeployArtifactSource.
26
- Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART"
26
+ Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART", "HELM_COMMAND_SPEC"
27
27
  :type deploy_artifact_source_type: str
28
28
 
29
29
  :param repository_id:
@@ -27,7 +27,7 @@ class HelmCommandSpecArtifactSource(DeployArtifactSource):
27
27
 
28
28
  :param deploy_artifact_source_type:
29
29
  The value to assign to the deploy_artifact_source_type property of this HelmCommandSpecArtifactSource.
30
- Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART", 'UNKNOWN_ENUM_VALUE'.
30
+ Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART", "HELM_COMMAND_SPEC", 'UNKNOWN_ENUM_VALUE'.
31
31
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
32
32
  :type deploy_artifact_source_type: str
33
33
 
@@ -23,7 +23,7 @@ class HelmRepositoryDeployArtifactSource(DeployArtifactSource):
23
23
 
24
24
  :param deploy_artifact_source_type:
25
25
  The value to assign to the deploy_artifact_source_type property of this HelmRepositoryDeployArtifactSource.
26
- Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART"
26
+ Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART", "HELM_COMMAND_SPEC"
27
27
  :type deploy_artifact_source_type: str
28
28
 
29
29
  :param chart_url:
@@ -23,7 +23,7 @@ class InlineDeployArtifactSource(DeployArtifactSource):
23
23
 
24
24
  :param deploy_artifact_source_type:
25
25
  The value to assign to the deploy_artifact_source_type property of this InlineDeployArtifactSource.
26
- Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART"
26
+ Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART", "HELM_COMMAND_SPEC"
27
27
  :type deploy_artifact_source_type: str
28
28
 
29
29
  :param base64_encoded_content:
@@ -0,0 +1,117 @@
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 MergeCheck(object):
14
+ """
15
+ Merge Check summary
16
+ """
17
+
18
+ #: A constant which can be used with the type property of a MergeCheck.
19
+ #: This constant has a value of "CONFLICT"
20
+ TYPE_CONFLICT = "CONFLICT"
21
+
22
+ #: A constant which can be used with the type property of a MergeCheck.
23
+ #: This constant has a value of "APPROVAL_RULE"
24
+ TYPE_APPROVAL_RULE = "APPROVAL_RULE"
25
+
26
+ #: A constant which can be used with the type property of a MergeCheck.
27
+ #: This constant has a value of "BUILD"
28
+ TYPE_BUILD = "BUILD"
29
+
30
+ def __init__(self, **kwargs):
31
+ """
32
+ Initializes a new MergeCheck object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
33
+ to a service operations then you should favor using a subclass over the base class:
34
+
35
+ * :class:`~oci.devops.models.BuildMergeCheck`
36
+ * :class:`~oci.devops.models.ConflictMergeCheck`
37
+ * :class:`~oci.devops.models.ApprovalRuleMergeCheck`
38
+
39
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
40
+
41
+ :param type:
42
+ The value to assign to the type property of this MergeCheck.
43
+ Allowed values for this property are: "CONFLICT", "APPROVAL_RULE", "BUILD", 'UNKNOWN_ENUM_VALUE'.
44
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
45
+ :type type: str
46
+
47
+ """
48
+ self.swagger_types = {
49
+ 'type': 'str'
50
+ }
51
+
52
+ self.attribute_map = {
53
+ 'type': 'type'
54
+ }
55
+
56
+ self._type = None
57
+
58
+ @staticmethod
59
+ def get_subtype(object_dictionary):
60
+ """
61
+ Given the hash representation of a subtype of this class,
62
+ use the info in the hash to return the class of the subtype.
63
+ """
64
+ type = object_dictionary['type']
65
+
66
+ if type == 'BUILD':
67
+ return 'BuildMergeCheck'
68
+
69
+ if type == 'CONFLICT':
70
+ return 'ConflictMergeCheck'
71
+
72
+ if type == 'APPROVAL_RULE':
73
+ return 'ApprovalRuleMergeCheck'
74
+ else:
75
+ return 'MergeCheck'
76
+
77
+ @property
78
+ def type(self):
79
+ """
80
+ **[Required]** Gets the type of this MergeCheck.
81
+ the type of this merge check.
82
+
83
+ Allowed values for this property are: "CONFLICT", "APPROVAL_RULE", "BUILD", 'UNKNOWN_ENUM_VALUE'.
84
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
85
+
86
+
87
+ :return: The type of this MergeCheck.
88
+ :rtype: str
89
+ """
90
+ return self._type
91
+
92
+ @type.setter
93
+ def type(self, type):
94
+ """
95
+ Sets the type of this MergeCheck.
96
+ the type of this merge check.
97
+
98
+
99
+ :param type: The type of this MergeCheck.
100
+ :type: str
101
+ """
102
+ allowed_values = ["CONFLICT", "APPROVAL_RULE", "BUILD"]
103
+ if not value_allowed_none_or_none_sentinel(type, allowed_values):
104
+ type = 'UNKNOWN_ENUM_VALUE'
105
+ self._type = type
106
+
107
+ def __repr__(self):
108
+ return formatted_flat_dict(self)
109
+
110
+ def __eq__(self, other):
111
+ if other is None:
112
+ return False
113
+
114
+ return self.__dict__ == other.__dict__
115
+
116
+ def __ne__(self, other):
117
+ return not self == other
@@ -0,0 +1,145 @@
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 MergeCheckCollection(object):
14
+ """
15
+ list of merge checks.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new MergeCheckCollection object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param items:
24
+ The value to assign to the items property of this MergeCheckCollection.
25
+ :type items: list[oci.devops.models.MergeCheck]
26
+
27
+ :param time_validated:
28
+ The value to assign to the time_validated property of this MergeCheckCollection.
29
+ :type time_validated: datetime
30
+
31
+ """
32
+ self.swagger_types = {
33
+ 'items': 'list[MergeCheck]',
34
+ 'time_validated': 'datetime'
35
+ }
36
+
37
+ self.attribute_map = {
38
+ 'items': 'items',
39
+ 'time_validated': 'timeValidated'
40
+ }
41
+
42
+ self._items = None
43
+ self._time_validated = None
44
+
45
+ @property
46
+ def items(self):
47
+ """
48
+ Gets the items of this MergeCheckCollection.
49
+ List of pullRequest mergeCheck objects.
50
+ Example: {\"items\": [{ \"type\" : \"CONFLICT(ENUM values)\",
51
+ \"status\" : \"FAILED(ENUM values)\"},
52
+ {\"type\": \"APPROVAL_RULE(ENUM VALUE)\",
53
+ \"ruleName\": \"rule 1\",
54
+ \"status\" : \"NEEDS_APPROVAL(ENUM values)\",
55
+ \"totalApprovalCount\":\"5\",
56
+ \"currentApprovalCount\":\"1\",
57
+ \"reviewers\":[<Reviewer OCID>],
58
+ \"level\": \"PROJECT/REPOSITORY(ENUM values)\"},
59
+ {\"type\": \"APPROVAL_RULE(ENUM VALUE)\",
60
+ \"ruleName\": \"rule 2\",
61
+ \"status\" : \"SUCCEEDED(ENUM values)\",
62
+ \"totalApprovalCount\":\"5\",
63
+ \"currentApprovalCount\":\"5\",
64
+ \"reviewers\":[<Reviewer OCID>],
65
+ \"level\": \"PROJECT/REPOSITORY(ENUM values)\"} ,
66
+ {\"type\": \"BUILD(ENUM VALUE)\",
67
+ \"pipelineId\": \"PipelineOCID\",
68
+ \"buildRunId\": \"BuildRunOCID\",
69
+ \"status\" : \"SUCCEEDED/PENDING/FAIlED/IN-PROGRESS(ENUM values)\"}
70
+ ]}
71
+
72
+
73
+ :return: The items of this MergeCheckCollection.
74
+ :rtype: list[oci.devops.models.MergeCheck]
75
+ """
76
+ return self._items
77
+
78
+ @items.setter
79
+ def items(self, items):
80
+ """
81
+ Sets the items of this MergeCheckCollection.
82
+ List of pullRequest mergeCheck objects.
83
+ Example: {\"items\": [{ \"type\" : \"CONFLICT(ENUM values)\",
84
+ \"status\" : \"FAILED(ENUM values)\"},
85
+ {\"type\": \"APPROVAL_RULE(ENUM VALUE)\",
86
+ \"ruleName\": \"rule 1\",
87
+ \"status\" : \"NEEDS_APPROVAL(ENUM values)\",
88
+ \"totalApprovalCount\":\"5\",
89
+ \"currentApprovalCount\":\"1\",
90
+ \"reviewers\":[<Reviewer OCID>],
91
+ \"level\": \"PROJECT/REPOSITORY(ENUM values)\"},
92
+ {\"type\": \"APPROVAL_RULE(ENUM VALUE)\",
93
+ \"ruleName\": \"rule 2\",
94
+ \"status\" : \"SUCCEEDED(ENUM values)\",
95
+ \"totalApprovalCount\":\"5\",
96
+ \"currentApprovalCount\":\"5\",
97
+ \"reviewers\":[<Reviewer OCID>],
98
+ \"level\": \"PROJECT/REPOSITORY(ENUM values)\"} ,
99
+ {\"type\": \"BUILD(ENUM VALUE)\",
100
+ \"pipelineId\": \"PipelineOCID\",
101
+ \"buildRunId\": \"BuildRunOCID\",
102
+ \"status\" : \"SUCCEEDED/PENDING/FAIlED/IN-PROGRESS(ENUM values)\"}
103
+ ]}
104
+
105
+
106
+ :param items: The items of this MergeCheckCollection.
107
+ :type: list[oci.devops.models.MergeCheck]
108
+ """
109
+ self._items = items
110
+
111
+ @property
112
+ def time_validated(self):
113
+ """
114
+ Gets the time_validated of this MergeCheckCollection.
115
+ The time Stamp of the validation check.
116
+
117
+
118
+ :return: The time_validated of this MergeCheckCollection.
119
+ :rtype: datetime
120
+ """
121
+ return self._time_validated
122
+
123
+ @time_validated.setter
124
+ def time_validated(self, time_validated):
125
+ """
126
+ Sets the time_validated of this MergeCheckCollection.
127
+ The time Stamp of the validation check.
128
+
129
+
130
+ :param time_validated: The time_validated of this MergeCheckCollection.
131
+ :type: datetime
132
+ """
133
+ self._time_validated = time_validated
134
+
135
+ def __repr__(self):
136
+ return formatted_flat_dict(self)
137
+
138
+ def __eq__(self, other):
139
+ if other is None:
140
+ return False
141
+
142
+ return self.__dict__ == other.__dict__
143
+
144
+ def __ne__(self, other):
145
+ return not self == other
@@ -0,0 +1,88 @@
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 MergeChecks(object):
14
+ """
15
+ Criteria which must be satisfied to merge a pull request.
16
+ """
17
+
18
+ #: A constant which can be used with the last_build_succeeded property of a MergeChecks.
19
+ #: This constant has a value of "ENABLED"
20
+ LAST_BUILD_SUCCEEDED_ENABLED = "ENABLED"
21
+
22
+ #: A constant which can be used with the last_build_succeeded property of a MergeChecks.
23
+ #: This constant has a value of "DISABLED"
24
+ LAST_BUILD_SUCCEEDED_DISABLED = "DISABLED"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new MergeChecks object with values from keyword arguments.
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param last_build_succeeded:
32
+ The value to assign to the last_build_succeeded property of this MergeChecks.
33
+ Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'.
34
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
35
+ :type last_build_succeeded: str
36
+
37
+ """
38
+ self.swagger_types = {
39
+ 'last_build_succeeded': 'str'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'last_build_succeeded': 'lastBuildSucceeded'
44
+ }
45
+
46
+ self._last_build_succeeded = None
47
+
48
+ @property
49
+ def last_build_succeeded(self):
50
+ """
51
+ **[Required]** Gets the last_build_succeeded of this MergeChecks.
52
+ Indicates whether or not a pull request must have a successful build run and no queued builds before it can be merged
53
+
54
+ Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'.
55
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
56
+
57
+
58
+ :return: The last_build_succeeded of this MergeChecks.
59
+ :rtype: str
60
+ """
61
+ return self._last_build_succeeded
62
+
63
+ @last_build_succeeded.setter
64
+ def last_build_succeeded(self, last_build_succeeded):
65
+ """
66
+ Sets the last_build_succeeded of this MergeChecks.
67
+ Indicates whether or not a pull request must have a successful build run and no queued builds before it can be merged
68
+
69
+
70
+ :param last_build_succeeded: The last_build_succeeded of this MergeChecks.
71
+ :type: str
72
+ """
73
+ allowed_values = ["ENABLED", "DISABLED"]
74
+ if not value_allowed_none_or_none_sentinel(last_build_succeeded, allowed_values):
75
+ last_build_succeeded = 'UNKNOWN_ENUM_VALUE'
76
+ self._last_build_succeeded = last_build_succeeded
77
+
78
+ def __repr__(self):
79
+ return formatted_flat_dict(self)
80
+
81
+ def __eq__(self, other):
82
+ if other is None:
83
+ return False
84
+
85
+ return self.__dict__ == other.__dict__
86
+
87
+ def __ne__(self, other):
88
+ return not self == other
@@ -0,0 +1,109 @@
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 MergePullRequestDetails(object):
14
+ """
15
+ determines if this is a merge or a validation.
16
+ """
17
+
18
+ #: A constant which can be used with the action_type property of a MergePullRequestDetails.
19
+ #: This constant has a value of "EXECUTE"
20
+ ACTION_TYPE_EXECUTE = "EXECUTE"
21
+
22
+ #: A constant which can be used with the action_type property of a MergePullRequestDetails.
23
+ #: This constant has a value of "VALIDATE"
24
+ ACTION_TYPE_VALIDATE = "VALIDATE"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new MergePullRequestDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
29
+ to a service operations then you should favor using a subclass over the base class:
30
+
31
+ * :class:`~oci.devops.models.ExecuteMergePullRequestDetails`
32
+ * :class:`~oci.devops.models.ValidateMergePullRequestDetails`
33
+
34
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
35
+
36
+ :param action_type:
37
+ The value to assign to the action_type property of this MergePullRequestDetails.
38
+ Allowed values for this property are: "EXECUTE", "VALIDATE"
39
+ :type action_type: str
40
+
41
+ """
42
+ self.swagger_types = {
43
+ 'action_type': 'str'
44
+ }
45
+
46
+ self.attribute_map = {
47
+ 'action_type': 'actionType'
48
+ }
49
+
50
+ self._action_type = None
51
+
52
+ @staticmethod
53
+ def get_subtype(object_dictionary):
54
+ """
55
+ Given the hash representation of a subtype of this class,
56
+ use the info in the hash to return the class of the subtype.
57
+ """
58
+ type = object_dictionary['actionType']
59
+
60
+ if type == 'EXECUTE':
61
+ return 'ExecuteMergePullRequestDetails'
62
+
63
+ if type == 'VALIDATE':
64
+ return 'ValidateMergePullRequestDetails'
65
+ else:
66
+ return 'MergePullRequestDetails'
67
+
68
+ @property
69
+ def action_type(self):
70
+ """
71
+ **[Required]** Gets the action_type of this MergePullRequestDetails.
72
+ the type of action for this merge.
73
+
74
+ Allowed values for this property are: "EXECUTE", "VALIDATE"
75
+
76
+
77
+ :return: The action_type of this MergePullRequestDetails.
78
+ :rtype: str
79
+ """
80
+ return self._action_type
81
+
82
+ @action_type.setter
83
+ def action_type(self, action_type):
84
+ """
85
+ Sets the action_type of this MergePullRequestDetails.
86
+ the type of action for this merge.
87
+
88
+
89
+ :param action_type: The action_type of this MergePullRequestDetails.
90
+ :type: str
91
+ """
92
+ allowed_values = ["EXECUTE", "VALIDATE"]
93
+ if not value_allowed_none_or_none_sentinel(action_type, allowed_values):
94
+ raise ValueError(
95
+ f"Invalid value for `action_type`, must be None or one of {allowed_values}"
96
+ )
97
+ self._action_type = action_type
98
+
99
+ def __repr__(self):
100
+ return formatted_flat_dict(self)
101
+
102
+ def __eq__(self, other):
103
+ if other is None:
104
+ return False
105
+
106
+ return self.__dict__ == other.__dict__
107
+
108
+ def __ne__(self, other):
109
+ return not self == other