oci 2.126.2__py3-none-any.whl → 2.126.3__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 (323) hide show
  1. oci/__init__.py +2 -2
  2. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  3. oci/adm/application_dependency_management_client.py +36 -36
  4. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  5. oci/ai_document/ai_service_document_client.py +22 -22
  6. oci/ai_language/ai_service_language_client.py +44 -44
  7. oci/ai_speech/ai_service_speech_client.py +10 -10
  8. oci/ai_vision/ai_service_vision_client.py +25 -25
  9. oci/analytics/analytics_client.py +23 -23
  10. oci/announcements_service/announcement_client.py +4 -4
  11. oci/announcements_service/announcement_subscription_client.py +9 -9
  12. oci/announcements_service/announcements_preferences_client.py +4 -4
  13. oci/apigateway/api_gateway_client.py +21 -21
  14. oci/apigateway/deployment_client.py +6 -6
  15. oci/apigateway/gateway_client.py +6 -6
  16. oci/apigateway/subscribers_client.py +6 -6
  17. oci/apigateway/usage_plans_client.py +6 -6
  18. oci/apigateway/work_requests_client.py +5 -5
  19. oci/apm_config/config_client.py +8 -8
  20. oci/apm_control_plane/apm_domain_client.py +14 -14
  21. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  22. oci/apm_traces/attributes_client.py +8 -8
  23. oci/apm_traces/query_client.py +2 -2
  24. oci/apm_traces/trace_client.py +4 -4
  25. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  26. oci/artifacts/artifacts_client.py +32 -32
  27. oci/audit/audit_client.py +3 -3
  28. oci/autoscaling/auto_scaling_client.py +11 -11
  29. oci/bastion/bastion_client.py +15 -15
  30. oci/bds/bds_client.py +51 -51
  31. oci/blockchain/blockchain_platform_client.py +27 -27
  32. oci/budget/budget_client.py +10 -10
  33. oci/capacity_management/capacity_management_client.py +19 -19
  34. oci/certificates/certificates_client.py +5 -5
  35. oci/certificates_management/certificates_management_client.py +32 -32
  36. oci/cims/incident_client.py +8 -8
  37. oci/cims/user_client.py +1 -1
  38. oci/cloud_bridge/common_client.py +5 -5
  39. oci/cloud_bridge/discovery_client.py +14 -14
  40. oci/cloud_bridge/inventory_client.py +16 -16
  41. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  42. oci/cloud_guard/cloud_guard_client.py +155 -155
  43. oci/cloud_migrations/migration_client.py +43 -43
  44. oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
  45. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  46. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  47. oci/compute_instance_agent/plugin_client.py +2 -2
  48. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  49. oci/container_engine/container_engine_client.py +44 -44
  50. oci/container_instances/container_instance_client.py +18 -18
  51. oci/core/blockstorage_client.py +60 -60
  52. oci/core/compute_client.py +99 -99
  53. oci/core/compute_management_client.py +32 -32
  54. oci/core/virtual_network_client.py +247 -247
  55. oci/dashboard_service/dashboard_client.py +6 -6
  56. oci/dashboard_service/dashboard_group_client.py +6 -6
  57. oci/data_catalog/data_catalog_client.py +149 -149
  58. oci/data_flow/data_flow_client.py +42 -42
  59. oci/data_integration/data_integration_client.py +163 -163
  60. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  61. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  62. oci/data_safe/data_safe_client.py +278 -278
  63. oci/data_science/data_science_client.py +91 -91
  64. oci/database/database_client.py +333 -333
  65. oci/database/models/create_vm_cluster_details.py +33 -2
  66. oci/database/models/exadata_infrastructure.py +31 -0
  67. oci/database/models/exadata_infrastructure_summary.py +31 -0
  68. oci/database/models/update_vm_cluster_details.py +33 -2
  69. oci/database/models/vm_cluster.py +33 -2
  70. oci/database/models/vm_cluster_summary.py +33 -2
  71. oci/database_management/db_management_client.py +206 -206
  72. oci/database_management/diagnosability_client.py +4 -4
  73. oci/database_management/managed_my_sql_databases_client.py +7 -7
  74. oci/database_management/perfhub_client.py +1 -1
  75. oci/database_management/sql_tuning_client.py +17 -17
  76. oci/database_migration/database_migration_client.py +41 -41
  77. oci/database_tools/database_tools_client.py +23 -23
  78. oci/desktops/desktop_service_client.py +21 -21
  79. oci/devops/devops_client.py +89 -89
  80. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  81. oci/dns/dns_client.py +52 -52
  82. oci/dts/appliance_export_job_client.py +6 -6
  83. oci/dts/shipping_vendors_client.py +1 -1
  84. oci/dts/transfer_appliance_client.py +8 -8
  85. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  86. oci/dts/transfer_device_client.py +5 -5
  87. oci/dts/transfer_job_client.py +6 -6
  88. oci/dts/transfer_package_client.py +7 -7
  89. oci/em_warehouse/em_data_lake_client.py +13 -13
  90. oci/em_warehouse/em_warehouse_client.py +13 -13
  91. oci/email/email_client.py +608 -28
  92. oci/email/email_client_composite_operations.py +132 -0
  93. oci/email/models/__init__.py +10 -0
  94. oci/email/models/create_email_domain_details.py +31 -0
  95. oci/email/models/create_email_return_path_details.py +239 -0
  96. oci/email/models/email_domain.py +82 -0
  97. oci/email/models/email_return_path.py +577 -0
  98. oci/email/models/email_return_path_collection.py +72 -0
  99. oci/email/models/email_return_path_summary.py +444 -0
  100. oci/email/models/sender.py +15 -3
  101. oci/email/models/update_email_domain_details.py +31 -0
  102. oci/email/models/update_email_return_path_details.py +156 -0
  103. oci/email/models/work_request.py +15 -3
  104. oci/email/models/work_request_summary.py +15 -3
  105. oci/email_data_plane/email_dp_client.py +1 -1
  106. oci/events/events_client.py +6 -6
  107. oci/file_storage/file_storage_client.py +50 -50
  108. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  109. oci/functions/functions_invoke_client.py +1 -1
  110. oci/functions/functions_management_client.py +16 -16
  111. oci/fusion_apps/data_masking_activity_client.py +3 -3
  112. oci/fusion_apps/fusion_applications_client.py +39 -39
  113. oci/fusion_apps/fusion_environment_client.py +15 -15
  114. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  115. oci/fusion_apps/refresh_activity_client.py +4 -4
  116. oci/fusion_apps/scheduled_activity_client.py +2 -2
  117. oci/fusion_apps/service_attachment_client.py +2 -2
  118. oci/generative_ai/generative_ai_client.py +22 -22
  119. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  120. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  121. oci/globally_distributed_database/sharded_database_service_client.py +29 -29
  122. oci/golden_gate/golden_gate_client.py +61 -61
  123. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  124. oci/governance_rules_control_plane/work_request_client.py +5 -5
  125. oci/healthchecks/health_checks_client.py +17 -17
  126. oci/identity/identity_client.py +145 -145
  127. oci/identity_data_plane/dataplane_client.py +2 -2
  128. oci/identity_domains/identity_domains_client.py +300 -300
  129. oci/integration/integration_instance_client.py +15 -15
  130. oci/jms/java_management_service_client.py +66 -66
  131. oci/jms_java_downloads/java_download_client.py +25 -25
  132. oci/key_management/ekm_client.py +5 -5
  133. oci/key_management/kms_crypto_client.py +6 -6
  134. oci/key_management/kms_hsm_cluster_client.py +12 -12
  135. oci/key_management/kms_management_client.py +21 -21
  136. oci/key_management/kms_vault_client.py +14 -14
  137. oci/license_manager/license_manager_client.py +18 -18
  138. oci/limits/limits_client.py +4 -4
  139. oci/limits/quotas_client.py +7 -7
  140. oci/load_balancer/load_balancer_client.py +61 -61
  141. oci/load_balancer/models/ssl_configuration.py +41 -0
  142. oci/load_balancer/models/ssl_configuration_details.py +41 -0
  143. oci/lockbox/lockbox_client.py +24 -24
  144. oci/log_analytics/log_analytics_client.py +193 -193
  145. oci/logging/logging_management_client.py +30 -30
  146. oci/loggingingestion/logging_client.py +1 -1
  147. oci/loggingsearch/log_search_client.py +1 -1
  148. oci/management_agent/management_agent_client.py +28 -28
  149. oci/management_dashboard/dashx_apis_client.py +14 -14
  150. oci/marketplace/account_client.py +2 -2
  151. oci/marketplace/marketplace_client.py +30 -30
  152. oci/marketplace_private_offer/__init__.py +16 -0
  153. oci/marketplace_private_offer/attachment_client.py +719 -0
  154. oci/marketplace_private_offer/attachment_client_composite_operations.py +71 -0
  155. oci/marketplace_private_offer/models/__init__.py +48 -0
  156. oci/marketplace_private_offer/models/attachment.py +446 -0
  157. oci/marketplace_private_offer/models/attachment_collection.py +72 -0
  158. oci/marketplace_private_offer/models/attachment_summary.py +293 -0
  159. oci/marketplace_private_offer/models/buyer_information.py +161 -0
  160. oci/marketplace_private_offer/models/contact.py +134 -0
  161. oci/marketplace_private_offer/models/create_attachment_details.py +134 -0
  162. oci/marketplace_private_offer/models/create_offer_details.py +498 -0
  163. oci/marketplace_private_offer/models/custom_field.py +103 -0
  164. oci/marketplace_private_offer/models/offer.py +787 -0
  165. oci/marketplace_private_offer/models/offer_collection.py +72 -0
  166. oci/marketplace_private_offer/models/offer_internal_detail.py +103 -0
  167. oci/marketplace_private_offer/models/offer_summary.py +591 -0
  168. oci/marketplace_private_offer/models/pricing.py +146 -0
  169. oci/marketplace_private_offer/models/publisher_summary.py +710 -0
  170. oci/marketplace_private_offer/models/resource_bundle.py +205 -0
  171. oci/marketplace_private_offer/models/seller_information.py +99 -0
  172. oci/marketplace_private_offer/models/update_offer_details.py +467 -0
  173. oci/marketplace_private_offer/models/upload_data.py +134 -0
  174. oci/marketplace_private_offer/offer_client.py +789 -0
  175. oci/marketplace_private_offer/offer_client_composite_operations.py +172 -0
  176. oci/marketplace_publisher/__init__.py +5 -1
  177. oci/marketplace_publisher/attachment_client.py +719 -0
  178. oci/marketplace_publisher/attachment_client_composite_operations.py +121 -0
  179. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  180. oci/marketplace_publisher/models/__init__.py +32 -0
  181. oci/marketplace_publisher/models/attachment.py +446 -0
  182. oci/marketplace_publisher/models/attachment_collection.py +72 -0
  183. oci/marketplace_publisher/models/attachment_summary.py +293 -0
  184. oci/marketplace_publisher/models/buyer_information.py +161 -0
  185. oci/marketplace_publisher/models/contact.py +134 -0
  186. oci/marketplace_publisher/models/create_attachment_details.py +134 -0
  187. oci/marketplace_publisher/models/create_offer_details.py +498 -0
  188. oci/marketplace_publisher/models/custom_field.py +103 -0
  189. oci/marketplace_publisher/models/offer.py +787 -0
  190. oci/marketplace_publisher/models/offer_collection.py +72 -0
  191. oci/marketplace_publisher/models/offer_internal_detail.py +103 -0
  192. oci/marketplace_publisher/models/offer_summary.py +591 -0
  193. oci/marketplace_publisher/models/pricing.py +146 -0
  194. oci/marketplace_publisher/models/resource_bundle.py +205 -0
  195. oci/marketplace_publisher/models/seller_information.py +99 -0
  196. oci/marketplace_publisher/models/update_offer_details.py +467 -0
  197. oci/marketplace_publisher/models/work_request.py +23 -3
  198. oci/marketplace_publisher/models/work_request_summary.py +23 -3
  199. oci/marketplace_publisher/offer_client.py +789 -0
  200. oci/marketplace_publisher/offer_client_composite_operations.py +160 -0
  201. oci/media_services/media_services_client.py +60 -60
  202. oci/media_services/media_stream_client.py +2 -2
  203. oci/monitoring/monitoring_client.py +18 -18
  204. oci/mysql/channels_client.py +7 -7
  205. oci/mysql/db_backups_client.py +6 -6
  206. oci/mysql/db_system_client.py +17 -17
  207. oci/mysql/mysqlaas_client.py +7 -7
  208. oci/mysql/replicas_client.py +5 -5
  209. oci/mysql/work_requests_client.py +4 -4
  210. oci/network_firewall/network_firewall_client.py +80 -80
  211. oci/network_load_balancer/models/create_listener_details.py +33 -2
  212. oci/network_load_balancer/models/listener.py +33 -2
  213. oci/network_load_balancer/models/listener_details.py +33 -2
  214. oci/network_load_balancer/models/listener_summary.py +33 -2
  215. oci/network_load_balancer/models/update_listener_details.py +33 -2
  216. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  217. oci/nosql/nosql_client.py +24 -24
  218. oci/object_storage/object_storage_client.py +50 -50
  219. oci/oce/oce_instance_client.py +10 -10
  220. oci/oci_control_center/occ_metrics_client.py +3 -3
  221. oci/ocvp/cluster_client.py +5 -5
  222. oci/ocvp/esxi_host_client.py +8 -8
  223. oci/ocvp/sddc_client.py +14 -14
  224. oci/ocvp/work_request_client.py +4 -4
  225. oci/oda/management_client.py +59 -59
  226. oci/oda/oda_client.py +17 -17
  227. oci/oda/odapackage_client.py +7 -7
  228. oci/onesubscription/billing_schedule_client.py +1 -1
  229. oci/onesubscription/commitment_client.py +2 -2
  230. oci/onesubscription/computed_usage_client.py +3 -3
  231. oci/onesubscription/invoice_summary_client.py +2 -2
  232. oci/onesubscription/organization_subscription_client.py +1 -1
  233. oci/onesubscription/ratecard_client.py +1 -1
  234. oci/onesubscription/subscribed_service_client.py +2 -2
  235. oci/onesubscription/subscription_client.py +1 -1
  236. oci/ons/notification_control_plane_client.py +6 -6
  237. oci/ons/notification_data_plane_client.py +10 -10
  238. oci/opa/opa_instance_client.py +13 -13
  239. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  240. oci/opensearch/opensearch_cluster_client.py +14 -14
  241. oci/operator_access_control/access_requests_client.py +10 -10
  242. oci/operator_access_control/operator_actions_client.py +2 -2
  243. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  244. oci/operator_access_control/operator_control_client.py +6 -6
  245. oci/opsi/operations_insights_client.py +175 -175
  246. oci/optimizer/optimizer_client.py +26 -26
  247. oci/os_management/event_client.py +8 -8
  248. oci/os_management/os_management_client.py +69 -69
  249. oci/os_management_hub/event_client.py +8 -8
  250. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  251. oci/os_management_hub/managed_instance_client.py +31 -31
  252. oci/os_management_hub/managed_instance_group_client.py +25 -25
  253. oci/os_management_hub/management_station_client.py +10 -10
  254. oci/os_management_hub/onboarding_client.py +6 -6
  255. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  256. oci/os_management_hub/scheduled_job_client.py +7 -7
  257. oci/os_management_hub/software_source_client.py +27 -27
  258. oci/os_management_hub/work_request_client.py +4 -4
  259. oci/osp_gateway/address_rule_service_client.py +1 -1
  260. oci/osp_gateway/address_service_client.py +2 -2
  261. oci/osp_gateway/invoice_service_client.py +5 -5
  262. oci/osp_gateway/subscription_service_client.py +5 -5
  263. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  264. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  265. oci/osub_subscription/commitment_client.py +2 -2
  266. oci/osub_subscription/ratecard_client.py +1 -1
  267. oci/osub_subscription/subscription_client.py +1 -1
  268. oci/osub_usage/computed_usage_client.py +3 -3
  269. oci/psql/postgresql_client.py +33 -33
  270. oci/queue/queue_admin_client.py +11 -11
  271. oci/queue/queue_client.py +8 -8
  272. oci/recovery/database_recovery_client.py +25 -25
  273. oci/redis/redis_cluster_client.py +11 -11
  274. oci/resource_manager/resource_manager_client.py +52 -52
  275. oci/resource_search/resource_search_client.py +3 -3
  276. oci/rover/rover_bundle_client.py +8 -8
  277. oci/rover/rover_cluster_client.py +8 -8
  278. oci/rover/rover_entitlement_client.py +6 -6
  279. oci/rover/rover_node_client.py +15 -15
  280. oci/rover/shape_client.py +1 -1
  281. oci/rover/work_requests_client.py +5 -5
  282. oci/sch/connector_plugins_client.py +2 -2
  283. oci/sch/service_connector_client.py +12 -12
  284. oci/secrets/secrets_client.py +3 -3
  285. oci/service_catalog/service_catalog_client.py +26 -26
  286. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  287. oci/service_mesh/service_mesh_client.py +48 -48
  288. oci/stack_monitoring/stack_monitoring_client.py +64 -64
  289. oci/streaming/stream_admin_client.py +18 -18
  290. oci/streaming/stream_client.py +8 -8
  291. oci/tenant_manager_control_plane/domain_client.py +5 -5
  292. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  293. oci/tenant_manager_control_plane/governance_client.py +2 -2
  294. oci/tenant_manager_control_plane/link_client.py +3 -3
  295. oci/tenant_manager_control_plane/orders_client.py +2 -2
  296. oci/tenant_manager_control_plane/organization_client.py +10 -10
  297. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  298. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  299. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  300. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  301. oci/threat_intelligence/threatintel_client.py +5 -5
  302. oci/usage/resources_client.py +2 -2
  303. oci/usage/rewards_client.py +6 -6
  304. oci/usage/usagelimits_client.py +1 -1
  305. oci/usage_api/usageapi_client.py +33 -33
  306. oci/vault/vaults_client.py +13 -13
  307. oci/vbs_inst/vbs_instance_client.py +10 -10
  308. oci/version.py +1 -1
  309. oci/visual_builder/vb_instance_client.py +13 -13
  310. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  311. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  312. oci/waa/waa_client.py +13 -13
  313. oci/waa/work_request_client.py +4 -4
  314. oci/waas/redirect_client.py +6 -6
  315. oci/waas/waas_client.py +66 -66
  316. oci/waf/waf_client.py +24 -24
  317. oci/work_requests/work_request_client.py +4 -4
  318. {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/METADATA +1 -1
  319. {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/RECORD +323 -274
  320. {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/LICENSE.txt +0 -0
  321. {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  322. {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/WHEEL +0 -0
  323. {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,134 @@
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: 20220901
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 CreateAttachmentDetails(object):
14
+ """
15
+ An attachment uploaded by the Publisher to be attached to an Offer.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CreateAttachmentDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param file_base64_encoded:
24
+ The value to assign to the file_base64_encoded property of this CreateAttachmentDetails.
25
+ :type file_base64_encoded: str
26
+
27
+ :param display_name:
28
+ The value to assign to the display_name property of this CreateAttachmentDetails.
29
+ :type display_name: str
30
+
31
+ :param type:
32
+ The value to assign to the type property of this CreateAttachmentDetails.
33
+ :type type: str
34
+
35
+ """
36
+ self.swagger_types = {
37
+ 'file_base64_encoded': 'str',
38
+ 'display_name': 'str',
39
+ 'type': 'str'
40
+ }
41
+
42
+ self.attribute_map = {
43
+ 'file_base64_encoded': 'fileBase64Encoded',
44
+ 'display_name': 'displayName',
45
+ 'type': 'type'
46
+ }
47
+
48
+ self._file_base64_encoded = None
49
+ self._display_name = None
50
+ self._type = None
51
+
52
+ @property
53
+ def file_base64_encoded(self):
54
+ """
55
+ **[Required]** Gets the file_base64_encoded of this CreateAttachmentDetails.
56
+ Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB
57
+
58
+
59
+ :return: The file_base64_encoded of this CreateAttachmentDetails.
60
+ :rtype: str
61
+ """
62
+ return self._file_base64_encoded
63
+
64
+ @file_base64_encoded.setter
65
+ def file_base64_encoded(self, file_base64_encoded):
66
+ """
67
+ Sets the file_base64_encoded of this CreateAttachmentDetails.
68
+ Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB
69
+
70
+
71
+ :param file_base64_encoded: The file_base64_encoded of this CreateAttachmentDetails.
72
+ :type: str
73
+ """
74
+ self._file_base64_encoded = file_base64_encoded
75
+
76
+ @property
77
+ def display_name(self):
78
+ """
79
+ **[Required]** Gets the display_name of this CreateAttachmentDetails.
80
+ The name used to refer to the uploaded data.
81
+
82
+
83
+ :return: The display_name of this CreateAttachmentDetails.
84
+ :rtype: str
85
+ """
86
+ return self._display_name
87
+
88
+ @display_name.setter
89
+ def display_name(self, display_name):
90
+ """
91
+ Sets the display_name of this CreateAttachmentDetails.
92
+ The name used to refer to the uploaded data.
93
+
94
+
95
+ :param display_name: The display_name of this CreateAttachmentDetails.
96
+ :type: str
97
+ """
98
+ self._display_name = display_name
99
+
100
+ @property
101
+ def type(self):
102
+ """
103
+ **[Required]** Gets the type of this CreateAttachmentDetails.
104
+ The type of offer attachment.
105
+
106
+
107
+ :return: The type of this CreateAttachmentDetails.
108
+ :rtype: str
109
+ """
110
+ return self._type
111
+
112
+ @type.setter
113
+ def type(self, type):
114
+ """
115
+ Sets the type of this CreateAttachmentDetails.
116
+ The type of offer attachment.
117
+
118
+
119
+ :param type: The type of this CreateAttachmentDetails.
120
+ :type: str
121
+ """
122
+ self._type = type
123
+
124
+ def __repr__(self):
125
+ return formatted_flat_dict(self)
126
+
127
+ def __eq__(self, other):
128
+ if other is None:
129
+ return False
130
+
131
+ return self.__dict__ == other.__dict__
132
+
133
+ def __ne__(self, other):
134
+ return not self == other
@@ -0,0 +1,498 @@
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: 20220901
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 CreateOfferDetails(object):
14
+ """
15
+ The information about new Offers.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new CreateOfferDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param display_name:
24
+ The value to assign to the display_name property of this CreateOfferDetails.
25
+ :type display_name: str
26
+
27
+ :param seller_compartment_id:
28
+ The value to assign to the seller_compartment_id property of this CreateOfferDetails.
29
+ :type seller_compartment_id: str
30
+
31
+ :param buyer_compartment_id:
32
+ The value to assign to the buyer_compartment_id property of this CreateOfferDetails.
33
+ :type buyer_compartment_id: str
34
+
35
+ :param description:
36
+ The value to assign to the description property of this CreateOfferDetails.
37
+ :type description: str
38
+
39
+ :param internal_notes:
40
+ The value to assign to the internal_notes property of this CreateOfferDetails.
41
+ :type internal_notes: str
42
+
43
+ :param time_start_date:
44
+ The value to assign to the time_start_date property of this CreateOfferDetails.
45
+ :type time_start_date: datetime
46
+
47
+ :param duration:
48
+ The value to assign to the duration property of this CreateOfferDetails.
49
+ :type duration: str
50
+
51
+ :param time_accept_by:
52
+ The value to assign to the time_accept_by property of this CreateOfferDetails.
53
+ :type time_accept_by: datetime
54
+
55
+ :param pricing:
56
+ The value to assign to the pricing property of this CreateOfferDetails.
57
+ :type pricing: oci.marketplace_private_offer.models.Pricing
58
+
59
+ :param buyer_information:
60
+ The value to assign to the buyer_information property of this CreateOfferDetails.
61
+ :type buyer_information: oci.marketplace_private_offer.models.BuyerInformation
62
+
63
+ :param seller_information:
64
+ The value to assign to the seller_information property of this CreateOfferDetails.
65
+ :type seller_information: oci.marketplace_private_offer.models.SellerInformation
66
+
67
+ :param resource_bundles:
68
+ The value to assign to the resource_bundles property of this CreateOfferDetails.
69
+ :type resource_bundles: list[oci.marketplace_private_offer.models.ResourceBundle]
70
+
71
+ :param custom_fields:
72
+ The value to assign to the custom_fields property of this CreateOfferDetails.
73
+ :type custom_fields: list[oci.marketplace_private_offer.models.CustomField]
74
+
75
+ :param freeform_tags:
76
+ The value to assign to the freeform_tags property of this CreateOfferDetails.
77
+ :type freeform_tags: dict(str, str)
78
+
79
+ :param defined_tags:
80
+ The value to assign to the defined_tags property of this CreateOfferDetails.
81
+ :type defined_tags: dict(str, dict(str, object))
82
+
83
+ """
84
+ self.swagger_types = {
85
+ 'display_name': 'str',
86
+ 'seller_compartment_id': 'str',
87
+ 'buyer_compartment_id': 'str',
88
+ 'description': 'str',
89
+ 'internal_notes': 'str',
90
+ 'time_start_date': 'datetime',
91
+ 'duration': 'str',
92
+ 'time_accept_by': 'datetime',
93
+ 'pricing': 'Pricing',
94
+ 'buyer_information': 'BuyerInformation',
95
+ 'seller_information': 'SellerInformation',
96
+ 'resource_bundles': 'list[ResourceBundle]',
97
+ 'custom_fields': 'list[CustomField]',
98
+ 'freeform_tags': 'dict(str, str)',
99
+ 'defined_tags': 'dict(str, dict(str, object))'
100
+ }
101
+
102
+ self.attribute_map = {
103
+ 'display_name': 'displayName',
104
+ 'seller_compartment_id': 'sellerCompartmentId',
105
+ 'buyer_compartment_id': 'buyerCompartmentId',
106
+ 'description': 'description',
107
+ 'internal_notes': 'internalNotes',
108
+ 'time_start_date': 'timeStartDate',
109
+ 'duration': 'duration',
110
+ 'time_accept_by': 'timeAcceptBy',
111
+ 'pricing': 'pricing',
112
+ 'buyer_information': 'buyerInformation',
113
+ 'seller_information': 'sellerInformation',
114
+ 'resource_bundles': 'resourceBundles',
115
+ 'custom_fields': 'customFields',
116
+ 'freeform_tags': 'freeformTags',
117
+ 'defined_tags': 'definedTags'
118
+ }
119
+
120
+ self._display_name = None
121
+ self._seller_compartment_id = None
122
+ self._buyer_compartment_id = None
123
+ self._description = None
124
+ self._internal_notes = None
125
+ self._time_start_date = None
126
+ self._duration = None
127
+ self._time_accept_by = None
128
+ self._pricing = None
129
+ self._buyer_information = None
130
+ self._seller_information = None
131
+ self._resource_bundles = None
132
+ self._custom_fields = None
133
+ self._freeform_tags = None
134
+ self._defined_tags = None
135
+
136
+ @property
137
+ def display_name(self):
138
+ """
139
+ **[Required]** Gets the display_name of this CreateOfferDetails.
140
+ Offers Identifier
141
+
142
+
143
+ :return: The display_name of this CreateOfferDetails.
144
+ :rtype: str
145
+ """
146
+ return self._display_name
147
+
148
+ @display_name.setter
149
+ def display_name(self, display_name):
150
+ """
151
+ Sets the display_name of this CreateOfferDetails.
152
+ Offers Identifier
153
+
154
+
155
+ :param display_name: The display_name of this CreateOfferDetails.
156
+ :type: str
157
+ """
158
+ self._display_name = display_name
159
+
160
+ @property
161
+ def seller_compartment_id(self):
162
+ """
163
+ **[Required]** Gets the seller_compartment_id of this CreateOfferDetails.
164
+ Compartment Identifier of the seller
165
+
166
+
167
+ :return: The seller_compartment_id of this CreateOfferDetails.
168
+ :rtype: str
169
+ """
170
+ return self._seller_compartment_id
171
+
172
+ @seller_compartment_id.setter
173
+ def seller_compartment_id(self, seller_compartment_id):
174
+ """
175
+ Sets the seller_compartment_id of this CreateOfferDetails.
176
+ Compartment Identifier of the seller
177
+
178
+
179
+ :param seller_compartment_id: The seller_compartment_id of this CreateOfferDetails.
180
+ :type: str
181
+ """
182
+ self._seller_compartment_id = seller_compartment_id
183
+
184
+ @property
185
+ def buyer_compartment_id(self):
186
+ """
187
+ Gets the buyer_compartment_id of this CreateOfferDetails.
188
+ Compartment Identifier of the buyer
189
+
190
+
191
+ :return: The buyer_compartment_id of this CreateOfferDetails.
192
+ :rtype: str
193
+ """
194
+ return self._buyer_compartment_id
195
+
196
+ @buyer_compartment_id.setter
197
+ def buyer_compartment_id(self, buyer_compartment_id):
198
+ """
199
+ Sets the buyer_compartment_id of this CreateOfferDetails.
200
+ Compartment Identifier of the buyer
201
+
202
+
203
+ :param buyer_compartment_id: The buyer_compartment_id of this CreateOfferDetails.
204
+ :type: str
205
+ """
206
+ self._buyer_compartment_id = buyer_compartment_id
207
+
208
+ @property
209
+ def description(self):
210
+ """
211
+ Gets the description of this CreateOfferDetails.
212
+ Description of the Offer
213
+
214
+
215
+ :return: The description of this CreateOfferDetails.
216
+ :rtype: str
217
+ """
218
+ return self._description
219
+
220
+ @description.setter
221
+ def description(self, description):
222
+ """
223
+ Sets the description of this CreateOfferDetails.
224
+ Description of the Offer
225
+
226
+
227
+ :param description: The description of this CreateOfferDetails.
228
+ :type: str
229
+ """
230
+ self._description = description
231
+
232
+ @property
233
+ def internal_notes(self):
234
+ """
235
+ Gets the internal_notes of this CreateOfferDetails.
236
+ Internal notes of the Offer
237
+
238
+
239
+ :return: The internal_notes of this CreateOfferDetails.
240
+ :rtype: str
241
+ """
242
+ return self._internal_notes
243
+
244
+ @internal_notes.setter
245
+ def internal_notes(self, internal_notes):
246
+ """
247
+ Sets the internal_notes of this CreateOfferDetails.
248
+ Internal notes of the Offer
249
+
250
+
251
+ :param internal_notes: The internal_notes of this CreateOfferDetails.
252
+ :type: str
253
+ """
254
+ self._internal_notes = internal_notes
255
+
256
+ @property
257
+ def time_start_date(self):
258
+ """
259
+ Gets the time_start_date of this CreateOfferDetails.
260
+ The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
261
+
262
+
263
+ :return: The time_start_date of this CreateOfferDetails.
264
+ :rtype: datetime
265
+ """
266
+ return self._time_start_date
267
+
268
+ @time_start_date.setter
269
+ def time_start_date(self, time_start_date):
270
+ """
271
+ Sets the time_start_date of this CreateOfferDetails.
272
+ The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
273
+
274
+
275
+ :param time_start_date: The time_start_date of this CreateOfferDetails.
276
+ :type: datetime
277
+ """
278
+ self._time_start_date = time_start_date
279
+
280
+ @property
281
+ def duration(self):
282
+ """
283
+ Gets the duration of this CreateOfferDetails.
284
+ Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
285
+
286
+
287
+ :return: The duration of this CreateOfferDetails.
288
+ :rtype: str
289
+ """
290
+ return self._duration
291
+
292
+ @duration.setter
293
+ def duration(self, duration):
294
+ """
295
+ Sets the duration of this CreateOfferDetails.
296
+ Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
297
+
298
+
299
+ :param duration: The duration of this CreateOfferDetails.
300
+ :type: str
301
+ """
302
+ self._duration = duration
303
+
304
+ @property
305
+ def time_accept_by(self):
306
+ """
307
+ Gets the time_accept_by of this CreateOfferDetails.
308
+ The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
309
+
310
+
311
+ :return: The time_accept_by of this CreateOfferDetails.
312
+ :rtype: datetime
313
+ """
314
+ return self._time_accept_by
315
+
316
+ @time_accept_by.setter
317
+ def time_accept_by(self, time_accept_by):
318
+ """
319
+ Sets the time_accept_by of this CreateOfferDetails.
320
+ The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
321
+
322
+
323
+ :param time_accept_by: The time_accept_by of this CreateOfferDetails.
324
+ :type: datetime
325
+ """
326
+ self._time_accept_by = time_accept_by
327
+
328
+ @property
329
+ def pricing(self):
330
+ """
331
+ Gets the pricing of this CreateOfferDetails.
332
+
333
+ :return: The pricing of this CreateOfferDetails.
334
+ :rtype: oci.marketplace_private_offer.models.Pricing
335
+ """
336
+ return self._pricing
337
+
338
+ @pricing.setter
339
+ def pricing(self, pricing):
340
+ """
341
+ Sets the pricing of this CreateOfferDetails.
342
+
343
+ :param pricing: The pricing of this CreateOfferDetails.
344
+ :type: oci.marketplace_private_offer.models.Pricing
345
+ """
346
+ self._pricing = pricing
347
+
348
+ @property
349
+ def buyer_information(self):
350
+ """
351
+ Gets the buyer_information of this CreateOfferDetails.
352
+
353
+ :return: The buyer_information of this CreateOfferDetails.
354
+ :rtype: oci.marketplace_private_offer.models.BuyerInformation
355
+ """
356
+ return self._buyer_information
357
+
358
+ @buyer_information.setter
359
+ def buyer_information(self, buyer_information):
360
+ """
361
+ Sets the buyer_information of this CreateOfferDetails.
362
+
363
+ :param buyer_information: The buyer_information of this CreateOfferDetails.
364
+ :type: oci.marketplace_private_offer.models.BuyerInformation
365
+ """
366
+ self._buyer_information = buyer_information
367
+
368
+ @property
369
+ def seller_information(self):
370
+ """
371
+ Gets the seller_information of this CreateOfferDetails.
372
+
373
+ :return: The seller_information of this CreateOfferDetails.
374
+ :rtype: oci.marketplace_private_offer.models.SellerInformation
375
+ """
376
+ return self._seller_information
377
+
378
+ @seller_information.setter
379
+ def seller_information(self, seller_information):
380
+ """
381
+ Sets the seller_information of this CreateOfferDetails.
382
+
383
+ :param seller_information: The seller_information of this CreateOfferDetails.
384
+ :type: oci.marketplace_private_offer.models.SellerInformation
385
+ """
386
+ self._seller_information = seller_information
387
+
388
+ @property
389
+ def resource_bundles(self):
390
+ """
391
+ Gets the resource_bundles of this CreateOfferDetails.
392
+ A list of Resource Bundles associated with an Offer.
393
+
394
+
395
+ :return: The resource_bundles of this CreateOfferDetails.
396
+ :rtype: list[oci.marketplace_private_offer.models.ResourceBundle]
397
+ """
398
+ return self._resource_bundles
399
+
400
+ @resource_bundles.setter
401
+ def resource_bundles(self, resource_bundles):
402
+ """
403
+ Sets the resource_bundles of this CreateOfferDetails.
404
+ A list of Resource Bundles associated with an Offer.
405
+
406
+
407
+ :param resource_bundles: The resource_bundles of this CreateOfferDetails.
408
+ :type: list[oci.marketplace_private_offer.models.ResourceBundle]
409
+ """
410
+ self._resource_bundles = resource_bundles
411
+
412
+ @property
413
+ def custom_fields(self):
414
+ """
415
+ Gets the custom_fields of this CreateOfferDetails.
416
+ A list of key value pairs specified by the seller
417
+
418
+
419
+ :return: The custom_fields of this CreateOfferDetails.
420
+ :rtype: list[oci.marketplace_private_offer.models.CustomField]
421
+ """
422
+ return self._custom_fields
423
+
424
+ @custom_fields.setter
425
+ def custom_fields(self, custom_fields):
426
+ """
427
+ Sets the custom_fields of this CreateOfferDetails.
428
+ A list of key value pairs specified by the seller
429
+
430
+
431
+ :param custom_fields: The custom_fields of this CreateOfferDetails.
432
+ :type: list[oci.marketplace_private_offer.models.CustomField]
433
+ """
434
+ self._custom_fields = custom_fields
435
+
436
+ @property
437
+ def freeform_tags(self):
438
+ """
439
+ Gets the freeform_tags of this CreateOfferDetails.
440
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
441
+ Example: `{\"bar-key\": \"value\"}`
442
+
443
+
444
+ :return: The freeform_tags of this CreateOfferDetails.
445
+ :rtype: dict(str, str)
446
+ """
447
+ return self._freeform_tags
448
+
449
+ @freeform_tags.setter
450
+ def freeform_tags(self, freeform_tags):
451
+ """
452
+ Sets the freeform_tags of this CreateOfferDetails.
453
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
454
+ Example: `{\"bar-key\": \"value\"}`
455
+
456
+
457
+ :param freeform_tags: The freeform_tags of this CreateOfferDetails.
458
+ :type: dict(str, str)
459
+ """
460
+ self._freeform_tags = freeform_tags
461
+
462
+ @property
463
+ def defined_tags(self):
464
+ """
465
+ Gets the defined_tags of this CreateOfferDetails.
466
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
467
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
468
+
469
+
470
+ :return: The defined_tags of this CreateOfferDetails.
471
+ :rtype: dict(str, dict(str, object))
472
+ """
473
+ return self._defined_tags
474
+
475
+ @defined_tags.setter
476
+ def defined_tags(self, defined_tags):
477
+ """
478
+ Sets the defined_tags of this CreateOfferDetails.
479
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
480
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
481
+
482
+
483
+ :param defined_tags: The defined_tags of this CreateOfferDetails.
484
+ :type: dict(str, dict(str, object))
485
+ """
486
+ self._defined_tags = defined_tags
487
+
488
+ def __repr__(self):
489
+ return formatted_flat_dict(self)
490
+
491
+ def __eq__(self, other):
492
+ if other is None:
493
+ return False
494
+
495
+ return self.__dict__ == other.__dict__
496
+
497
+ def __ne__(self, other):
498
+ return not self == other