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,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 ReviewPullRequestDetails(object):
14
+ """
15
+ Details to submit pull request review
16
+ """
17
+
18
+ #: A constant which can be used with the action property of a ReviewPullRequestDetails.
19
+ #: This constant has a value of "APPROVE"
20
+ ACTION_APPROVE = "APPROVE"
21
+
22
+ #: A constant which can be used with the action property of a ReviewPullRequestDetails.
23
+ #: This constant has a value of "UNAPPROVE"
24
+ ACTION_UNAPPROVE = "UNAPPROVE"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new ReviewPullRequestDetails object with values from keyword arguments.
29
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
30
+
31
+ :param action:
32
+ The value to assign to the action property of this ReviewPullRequestDetails.
33
+ Allowed values for this property are: "APPROVE", "UNAPPROVE"
34
+ :type action: str
35
+
36
+ """
37
+ self.swagger_types = {
38
+ 'action': 'str'
39
+ }
40
+
41
+ self.attribute_map = {
42
+ 'action': 'action'
43
+ }
44
+
45
+ self._action = None
46
+
47
+ @property
48
+ def action(self):
49
+ """
50
+ **[Required]** Gets the action of this ReviewPullRequestDetails.
51
+ The review action taken
52
+
53
+ Allowed values for this property are: "APPROVE", "UNAPPROVE"
54
+
55
+
56
+ :return: The action of this ReviewPullRequestDetails.
57
+ :rtype: str
58
+ """
59
+ return self._action
60
+
61
+ @action.setter
62
+ def action(self, action):
63
+ """
64
+ Sets the action of this ReviewPullRequestDetails.
65
+ The review action taken
66
+
67
+
68
+ :param action: The action of this ReviewPullRequestDetails.
69
+ :type: str
70
+ """
71
+ allowed_values = ["APPROVE", "UNAPPROVE"]
72
+ if not value_allowed_none_or_none_sentinel(action, allowed_values):
73
+ raise ValueError(
74
+ f"Invalid value for `action`, must be None or one of {allowed_values}"
75
+ )
76
+ self._action = action
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,256 @@
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 Reviewer(object):
14
+ """
15
+ Reviewer information.
16
+ """
17
+
18
+ #: A constant which can be used with the principal_type property of a Reviewer.
19
+ #: This constant has a value of "SERVICE"
20
+ PRINCIPAL_TYPE_SERVICE = "SERVICE"
21
+
22
+ #: A constant which can be used with the principal_type property of a Reviewer.
23
+ #: This constant has a value of "USER"
24
+ PRINCIPAL_TYPE_USER = "USER"
25
+
26
+ #: A constant which can be used with the principal_type property of a Reviewer.
27
+ #: This constant has a value of "INSTANCE"
28
+ PRINCIPAL_TYPE_INSTANCE = "INSTANCE"
29
+
30
+ #: A constant which can be used with the principal_type property of a Reviewer.
31
+ #: This constant has a value of "RESOURCE"
32
+ PRINCIPAL_TYPE_RESOURCE = "RESOURCE"
33
+
34
+ #: A constant which can be used with the principal_state property of a Reviewer.
35
+ #: This constant has a value of "ACTIVE"
36
+ PRINCIPAL_STATE_ACTIVE = "ACTIVE"
37
+
38
+ #: A constant which can be used with the principal_state property of a Reviewer.
39
+ #: This constant has a value of "INACTIVE"
40
+ PRINCIPAL_STATE_INACTIVE = "INACTIVE"
41
+
42
+ #: A constant which can be used with the principal_state property of a Reviewer.
43
+ #: This constant has a value of "SUPPRESSED"
44
+ PRINCIPAL_STATE_SUPPRESSED = "SUPPRESSED"
45
+
46
+ #: A constant which can be used with the status property of a Reviewer.
47
+ #: This constant has a value of "APPROVED"
48
+ STATUS_APPROVED = "APPROVED"
49
+
50
+ #: A constant which can be used with the status property of a Reviewer.
51
+ #: This constant has a value of "REVIEW_PENDING"
52
+ STATUS_REVIEW_PENDING = "REVIEW_PENDING"
53
+
54
+ def __init__(self, **kwargs):
55
+ """
56
+ Initializes a new Reviewer object with values from keyword arguments.
57
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
58
+
59
+ :param principal_id:
60
+ The value to assign to the principal_id property of this Reviewer.
61
+ :type principal_id: str
62
+
63
+ :param principal_name:
64
+ The value to assign to the principal_name property of this Reviewer.
65
+ :type principal_name: str
66
+
67
+ :param principal_type:
68
+ The value to assign to the principal_type property of this Reviewer.
69
+ Allowed values for this property are: "SERVICE", "USER", "INSTANCE", "RESOURCE", 'UNKNOWN_ENUM_VALUE'.
70
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
71
+ :type principal_type: str
72
+
73
+ :param principal_state:
74
+ The value to assign to the principal_state property of this Reviewer.
75
+ Allowed values for this property are: "ACTIVE", "INACTIVE", "SUPPRESSED", 'UNKNOWN_ENUM_VALUE'.
76
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
77
+ :type principal_state: str
78
+
79
+ :param status:
80
+ The value to assign to the status property of this Reviewer.
81
+ Allowed values for this property are: "APPROVED", "REVIEW_PENDING", 'UNKNOWN_ENUM_VALUE'.
82
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
83
+ :type status: str
84
+
85
+ """
86
+ self.swagger_types = {
87
+ 'principal_id': 'str',
88
+ 'principal_name': 'str',
89
+ 'principal_type': 'str',
90
+ 'principal_state': 'str',
91
+ 'status': 'str'
92
+ }
93
+
94
+ self.attribute_map = {
95
+ 'principal_id': 'principalId',
96
+ 'principal_name': 'principalName',
97
+ 'principal_type': 'principalType',
98
+ 'principal_state': 'principalState',
99
+ 'status': 'status'
100
+ }
101
+
102
+ self._principal_id = None
103
+ self._principal_name = None
104
+ self._principal_type = None
105
+ self._principal_state = None
106
+ self._status = None
107
+
108
+ @property
109
+ def principal_id(self):
110
+ """
111
+ **[Required]** Gets the principal_id of this Reviewer.
112
+ Pull Request reviewer id
113
+
114
+
115
+ :return: The principal_id of this Reviewer.
116
+ :rtype: str
117
+ """
118
+ return self._principal_id
119
+
120
+ @principal_id.setter
121
+ def principal_id(self, principal_id):
122
+ """
123
+ Sets the principal_id of this Reviewer.
124
+ Pull Request reviewer id
125
+
126
+
127
+ :param principal_id: The principal_id of this Reviewer.
128
+ :type: str
129
+ """
130
+ self._principal_id = principal_id
131
+
132
+ @property
133
+ def principal_name(self):
134
+ """
135
+ Gets the principal_name of this Reviewer.
136
+ the name of the principal
137
+
138
+
139
+ :return: The principal_name of this Reviewer.
140
+ :rtype: str
141
+ """
142
+ return self._principal_name
143
+
144
+ @principal_name.setter
145
+ def principal_name(self, principal_name):
146
+ """
147
+ Sets the principal_name of this Reviewer.
148
+ the name of the principal
149
+
150
+
151
+ :param principal_name: The principal_name of this Reviewer.
152
+ :type: str
153
+ """
154
+ self._principal_name = principal_name
155
+
156
+ @property
157
+ def principal_type(self):
158
+ """
159
+ Gets the principal_type of this Reviewer.
160
+ the type of principal
161
+
162
+ Allowed values for this property are: "SERVICE", "USER", "INSTANCE", "RESOURCE", 'UNKNOWN_ENUM_VALUE'.
163
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
164
+
165
+
166
+ :return: The principal_type of this Reviewer.
167
+ :rtype: str
168
+ """
169
+ return self._principal_type
170
+
171
+ @principal_type.setter
172
+ def principal_type(self, principal_type):
173
+ """
174
+ Sets the principal_type of this Reviewer.
175
+ the type of principal
176
+
177
+
178
+ :param principal_type: The principal_type of this Reviewer.
179
+ :type: str
180
+ """
181
+ allowed_values = ["SERVICE", "USER", "INSTANCE", "RESOURCE"]
182
+ if not value_allowed_none_or_none_sentinel(principal_type, allowed_values):
183
+ principal_type = 'UNKNOWN_ENUM_VALUE'
184
+ self._principal_type = principal_type
185
+
186
+ @property
187
+ def principal_state(self):
188
+ """
189
+ Gets the principal_state of this Reviewer.
190
+ The state of the principal, it can be active or inactive or suppressed for emails
191
+
192
+ Allowed values for this property are: "ACTIVE", "INACTIVE", "SUPPRESSED", 'UNKNOWN_ENUM_VALUE'.
193
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
194
+
195
+
196
+ :return: The principal_state of this Reviewer.
197
+ :rtype: str
198
+ """
199
+ return self._principal_state
200
+
201
+ @principal_state.setter
202
+ def principal_state(self, principal_state):
203
+ """
204
+ Sets the principal_state of this Reviewer.
205
+ The state of the principal, it can be active or inactive or suppressed for emails
206
+
207
+
208
+ :param principal_state: The principal_state of this Reviewer.
209
+ :type: str
210
+ """
211
+ allowed_values = ["ACTIVE", "INACTIVE", "SUPPRESSED"]
212
+ if not value_allowed_none_or_none_sentinel(principal_state, allowed_values):
213
+ principal_state = 'UNKNOWN_ENUM_VALUE'
214
+ self._principal_state = principal_state
215
+
216
+ @property
217
+ def status(self):
218
+ """
219
+ Gets the status of this Reviewer.
220
+ The current state of the Review.
221
+
222
+ Allowed values for this property are: "APPROVED", "REVIEW_PENDING", 'UNKNOWN_ENUM_VALUE'.
223
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
224
+
225
+
226
+ :return: The status of this Reviewer.
227
+ :rtype: str
228
+ """
229
+ return self._status
230
+
231
+ @status.setter
232
+ def status(self, status):
233
+ """
234
+ Sets the status of this Reviewer.
235
+ The current state of the Review.
236
+
237
+
238
+ :param status: The status of this Reviewer.
239
+ :type: str
240
+ """
241
+ allowed_values = ["APPROVED", "REVIEW_PENDING"]
242
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
243
+ status = 'UNKNOWN_ENUM_VALUE'
244
+ self._status = status
245
+
246
+ def __repr__(self):
247
+ return formatted_flat_dict(self)
248
+
249
+ def __eq__(self, other):
250
+ if other is None:
251
+ return False
252
+
253
+ return self.__dict__ == other.__dict__
254
+
255
+ def __ne__(self, other):
256
+ return not self == other
@@ -0,0 +1,141 @@
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 ReviewerActivitySummary(PullRequestActivitySummary):
14
+ """
15
+ activity describing reviewer updates to a pull request
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new ReviewerActivitySummary object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.ReviewerActivitySummary.activity_type` attribute
21
+ of this class is ``REVIEWER`` and it should not be changed.
22
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
+
24
+ :param id:
25
+ The value to assign to the id property of this ReviewerActivitySummary.
26
+ :type id: str
27
+
28
+ :param principal:
29
+ The value to assign to the principal property of this ReviewerActivitySummary.
30
+ :type principal: oci.devops.models.PrincipalDetails
31
+
32
+ :param pull_request_id:
33
+ The value to assign to the pull_request_id property of this ReviewerActivitySummary.
34
+ :type pull_request_id: str
35
+
36
+ :param time_occurred:
37
+ The value to assign to the time_occurred property of this ReviewerActivitySummary.
38
+ :type time_occurred: datetime
39
+
40
+ :param activity_type:
41
+ The value to assign to the activity_type property of this ReviewerActivitySummary.
42
+ Allowed values for this property are: "LIFECYCLE", "APPROVAL", "COMMIT", "REVIEWER", "COMMENT"
43
+ :type activity_type: str
44
+
45
+ :param reviewers_added:
46
+ The value to assign to the reviewers_added property of this ReviewerActivitySummary.
47
+ :type reviewers_added: list[oci.devops.models.PrincipalDetails]
48
+
49
+ :param reviewers_removed:
50
+ The value to assign to the reviewers_removed property of this ReviewerActivitySummary.
51
+ :type reviewers_removed: list[oci.devops.models.PrincipalDetails]
52
+
53
+ """
54
+ self.swagger_types = {
55
+ 'id': 'str',
56
+ 'principal': 'PrincipalDetails',
57
+ 'pull_request_id': 'str',
58
+ 'time_occurred': 'datetime',
59
+ 'activity_type': 'str',
60
+ 'reviewers_added': 'list[PrincipalDetails]',
61
+ 'reviewers_removed': 'list[PrincipalDetails]'
62
+ }
63
+
64
+ self.attribute_map = {
65
+ 'id': 'id',
66
+ 'principal': 'principal',
67
+ 'pull_request_id': 'pullRequestId',
68
+ 'time_occurred': 'timeOccurred',
69
+ 'activity_type': 'activityType',
70
+ 'reviewers_added': 'reviewersAdded',
71
+ 'reviewers_removed': 'reviewersRemoved'
72
+ }
73
+
74
+ self._id = None
75
+ self._principal = None
76
+ self._pull_request_id = None
77
+ self._time_occurred = None
78
+ self._activity_type = None
79
+ self._reviewers_added = None
80
+ self._reviewers_removed = None
81
+ self._activity_type = 'REVIEWER'
82
+
83
+ @property
84
+ def reviewers_added(self):
85
+ """
86
+ **[Required]** Gets the reviewers_added of this ReviewerActivitySummary.
87
+ list of reviewers added to a pull request
88
+
89
+
90
+ :return: The reviewers_added of this ReviewerActivitySummary.
91
+ :rtype: list[oci.devops.models.PrincipalDetails]
92
+ """
93
+ return self._reviewers_added
94
+
95
+ @reviewers_added.setter
96
+ def reviewers_added(self, reviewers_added):
97
+ """
98
+ Sets the reviewers_added of this ReviewerActivitySummary.
99
+ list of reviewers added to a pull request
100
+
101
+
102
+ :param reviewers_added: The reviewers_added of this ReviewerActivitySummary.
103
+ :type: list[oci.devops.models.PrincipalDetails]
104
+ """
105
+ self._reviewers_added = reviewers_added
106
+
107
+ @property
108
+ def reviewers_removed(self):
109
+ """
110
+ **[Required]** Gets the reviewers_removed of this ReviewerActivitySummary.
111
+ list of reviewers removed from a pull request
112
+
113
+
114
+ :return: The reviewers_removed of this ReviewerActivitySummary.
115
+ :rtype: list[oci.devops.models.PrincipalDetails]
116
+ """
117
+ return self._reviewers_removed
118
+
119
+ @reviewers_removed.setter
120
+ def reviewers_removed(self, reviewers_removed):
121
+ """
122
+ Sets the reviewers_removed of this ReviewerActivitySummary.
123
+ list of reviewers removed from a pull request
124
+
125
+
126
+ :param reviewers_removed: The reviewers_removed of this ReviewerActivitySummary.
127
+ :type: list[oci.devops.models.PrincipalDetails]
128
+ """
129
+ self._reviewers_removed = reviewers_removed
130
+
131
+ def __repr__(self):
132
+ return formatted_flat_dict(self)
133
+
134
+ def __eq__(self, other):
135
+ if other is None:
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ return not self == other
@@ -0,0 +1,140 @@
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 StageOutput(object):
14
+ """
15
+ Details of the generated artifact or report.
16
+ """
17
+
18
+ #: A constant which can be used with the output_type property of a StageOutput.
19
+ #: This constant has a value of "ARTIFACT"
20
+ OUTPUT_TYPE_ARTIFACT = "ARTIFACT"
21
+
22
+ #: A constant which can be used with the output_type property of a StageOutput.
23
+ #: This constant has a value of "TEST_REPORT"
24
+ OUTPUT_TYPE_TEST_REPORT = "TEST_REPORT"
25
+
26
+ def __init__(self, **kwargs):
27
+ """
28
+ Initializes a new StageOutput 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.TestReportOutput`
32
+ * :class:`~oci.devops.models.GenericArtifacts`
33
+
34
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
35
+
36
+ :param output_type:
37
+ The value to assign to the output_type property of this StageOutput.
38
+ Allowed values for this property are: "ARTIFACT", "TEST_REPORT"
39
+ :type output_type: str
40
+
41
+ :param step_name:
42
+ The value to assign to the step_name property of this StageOutput.
43
+ :type step_name: str
44
+
45
+ """
46
+ self.swagger_types = {
47
+ 'output_type': 'str',
48
+ 'step_name': 'str'
49
+ }
50
+
51
+ self.attribute_map = {
52
+ 'output_type': 'outputType',
53
+ 'step_name': 'stepName'
54
+ }
55
+
56
+ self._output_type = None
57
+ self._step_name = None
58
+
59
+ @staticmethod
60
+ def get_subtype(object_dictionary):
61
+ """
62
+ Given the hash representation of a subtype of this class,
63
+ use the info in the hash to return the class of the subtype.
64
+ """
65
+ type = object_dictionary['outputType']
66
+
67
+ if type == 'TEST_REPORT':
68
+ return 'TestReportOutput'
69
+
70
+ if type == 'ARTIFACT':
71
+ return 'GenericArtifacts'
72
+ else:
73
+ return 'StageOutput'
74
+
75
+ @property
76
+ def output_type(self):
77
+ """
78
+ **[Required]** Gets the output_type of this StageOutput.
79
+ Type of output generated.
80
+
81
+ Allowed values for this property are: "ARTIFACT", "TEST_REPORT"
82
+
83
+
84
+ :return: The output_type of this StageOutput.
85
+ :rtype: str
86
+ """
87
+ return self._output_type
88
+
89
+ @output_type.setter
90
+ def output_type(self, output_type):
91
+ """
92
+ Sets the output_type of this StageOutput.
93
+ Type of output generated.
94
+
95
+
96
+ :param output_type: The output_type of this StageOutput.
97
+ :type: str
98
+ """
99
+ allowed_values = ["ARTIFACT", "TEST_REPORT"]
100
+ if not value_allowed_none_or_none_sentinel(output_type, allowed_values):
101
+ raise ValueError(
102
+ f"Invalid value for `output_type`, must be None or one of {allowed_values}"
103
+ )
104
+ self._output_type = output_type
105
+
106
+ @property
107
+ def step_name(self):
108
+ """
109
+ **[Required]** Gets the step_name of this StageOutput.
110
+ Name of stage step at which this output is generated.
111
+
112
+
113
+ :return: The step_name of this StageOutput.
114
+ :rtype: str
115
+ """
116
+ return self._step_name
117
+
118
+ @step_name.setter
119
+ def step_name(self, step_name):
120
+ """
121
+ Sets the step_name of this StageOutput.
122
+ Name of stage step at which this output is generated.
123
+
124
+
125
+ :param step_name: The step_name of this StageOutput.
126
+ :type: str
127
+ """
128
+ self._step_name = step_name
129
+
130
+ def __repr__(self):
131
+ return formatted_flat_dict(self)
132
+
133
+ def __eq__(self, other):
134
+ if other is None:
135
+ return False
136
+
137
+ return self.__dict__ == other.__dict__
138
+
139
+ def __ne__(self, other):
140
+ return not self == other