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.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +333 -333
- oci/database/models/create_vm_cluster_details.py +33 -2
- oci/database/models/exadata_infrastructure.py +31 -0
- oci/database/models/exadata_infrastructure_summary.py +31 -0
- oci/database/models/update_vm_cluster_details.py +33 -2
- oci/database/models/vm_cluster.py +33 -2
- oci/database/models/vm_cluster_summary.py +33 -2
- oci/database_management/db_management_client.py +206 -206
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +608 -28
- oci/email/email_client_composite_operations.py +132 -0
- oci/email/models/__init__.py +10 -0
- oci/email/models/create_email_domain_details.py +31 -0
- oci/email/models/create_email_return_path_details.py +239 -0
- oci/email/models/email_domain.py +82 -0
- oci/email/models/email_return_path.py +577 -0
- oci/email/models/email_return_path_collection.py +72 -0
- oci/email/models/email_return_path_summary.py +444 -0
- oci/email/models/sender.py +15 -3
- oci/email/models/update_email_domain_details.py +31 -0
- oci/email/models/update_email_return_path_details.py +156 -0
- oci/email/models/work_request.py +15 -3
- oci/email/models/work_request_summary.py +15 -3
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/ssl_configuration.py +41 -0
- oci/load_balancer/models/ssl_configuration_details.py +41 -0
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/__init__.py +16 -0
- oci/marketplace_private_offer/attachment_client.py +719 -0
- oci/marketplace_private_offer/attachment_client_composite_operations.py +71 -0
- oci/marketplace_private_offer/models/__init__.py +48 -0
- oci/marketplace_private_offer/models/attachment.py +446 -0
- oci/marketplace_private_offer/models/attachment_collection.py +72 -0
- oci/marketplace_private_offer/models/attachment_summary.py +293 -0
- oci/marketplace_private_offer/models/buyer_information.py +161 -0
- oci/marketplace_private_offer/models/contact.py +134 -0
- oci/marketplace_private_offer/models/create_attachment_details.py +134 -0
- oci/marketplace_private_offer/models/create_offer_details.py +498 -0
- oci/marketplace_private_offer/models/custom_field.py +103 -0
- oci/marketplace_private_offer/models/offer.py +787 -0
- oci/marketplace_private_offer/models/offer_collection.py +72 -0
- oci/marketplace_private_offer/models/offer_internal_detail.py +103 -0
- oci/marketplace_private_offer/models/offer_summary.py +591 -0
- oci/marketplace_private_offer/models/pricing.py +146 -0
- oci/marketplace_private_offer/models/publisher_summary.py +710 -0
- oci/marketplace_private_offer/models/resource_bundle.py +205 -0
- oci/marketplace_private_offer/models/seller_information.py +99 -0
- oci/marketplace_private_offer/models/update_offer_details.py +467 -0
- oci/marketplace_private_offer/models/upload_data.py +134 -0
- oci/marketplace_private_offer/offer_client.py +789 -0
- oci/marketplace_private_offer/offer_client_composite_operations.py +172 -0
- oci/marketplace_publisher/__init__.py +5 -1
- oci/marketplace_publisher/attachment_client.py +719 -0
- oci/marketplace_publisher/attachment_client_composite_operations.py +121 -0
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/models/__init__.py +32 -0
- oci/marketplace_publisher/models/attachment.py +446 -0
- oci/marketplace_publisher/models/attachment_collection.py +72 -0
- oci/marketplace_publisher/models/attachment_summary.py +293 -0
- oci/marketplace_publisher/models/buyer_information.py +161 -0
- oci/marketplace_publisher/models/contact.py +134 -0
- oci/marketplace_publisher/models/create_attachment_details.py +134 -0
- oci/marketplace_publisher/models/create_offer_details.py +498 -0
- oci/marketplace_publisher/models/custom_field.py +103 -0
- oci/marketplace_publisher/models/offer.py +787 -0
- oci/marketplace_publisher/models/offer_collection.py +72 -0
- oci/marketplace_publisher/models/offer_internal_detail.py +103 -0
- oci/marketplace_publisher/models/offer_summary.py +591 -0
- oci/marketplace_publisher/models/pricing.py +146 -0
- oci/marketplace_publisher/models/resource_bundle.py +205 -0
- oci/marketplace_publisher/models/seller_information.py +99 -0
- oci/marketplace_publisher/models/update_offer_details.py +467 -0
- oci/marketplace_publisher/models/work_request.py +23 -3
- oci/marketplace_publisher/models/work_request_summary.py +23 -3
- oci/marketplace_publisher/offer_client.py +789 -0
- oci/marketplace_publisher/offer_client_composite_operations.py +160 -0
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/models/create_listener_details.py +33 -2
- oci/network_load_balancer/models/listener.py +33 -2
- oci/network_load_balancer/models/listener_details.py +33 -2
- oci/network_load_balancer/models/listener_summary.py +33 -2
- oci/network_load_balancer/models/update_listener_details.py +33 -2
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/METADATA +1 -1
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/RECORD +323 -274
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/WHEEL +0 -0
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,205 @@
|
|
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 ResourceBundle(object):
|
14
|
+
"""
|
15
|
+
Resource Bundle associated with an Offer
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the type property of a ResourceBundle.
|
19
|
+
#: This constant has a value of "LISTING"
|
20
|
+
TYPE_LISTING = "LISTING"
|
21
|
+
|
22
|
+
#: A constant which can be used with the unit_of_measurement property of a ResourceBundle.
|
23
|
+
#: This constant has a value of "OCPU_PER_HOUR"
|
24
|
+
UNIT_OF_MEASUREMENT_OCPU_PER_HOUR = "OCPU_PER_HOUR"
|
25
|
+
|
26
|
+
#: A constant which can be used with the unit_of_measurement property of a ResourceBundle.
|
27
|
+
#: This constant has a value of "INSTANCE_PER_HOUR"
|
28
|
+
UNIT_OF_MEASUREMENT_INSTANCE_PER_HOUR = "INSTANCE_PER_HOUR"
|
29
|
+
|
30
|
+
#: A constant which can be used with the unit_of_measurement property of a ResourceBundle.
|
31
|
+
#: This constant has a value of "CREDITS"
|
32
|
+
UNIT_OF_MEASUREMENT_CREDITS = "CREDITS"
|
33
|
+
|
34
|
+
#: A constant which can be used with the unit_of_measurement property of a ResourceBundle.
|
35
|
+
#: This constant has a value of "INSTANCES"
|
36
|
+
UNIT_OF_MEASUREMENT_INSTANCES = "INSTANCES"
|
37
|
+
|
38
|
+
#: A constant which can be used with the unit_of_measurement property of a ResourceBundle.
|
39
|
+
#: This constant has a value of "NODES"
|
40
|
+
UNIT_OF_MEASUREMENT_NODES = "NODES"
|
41
|
+
|
42
|
+
def __init__(self, **kwargs):
|
43
|
+
"""
|
44
|
+
Initializes a new ResourceBundle object with values from keyword arguments.
|
45
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
46
|
+
|
47
|
+
:param type:
|
48
|
+
The value to assign to the type property of this ResourceBundle.
|
49
|
+
Allowed values for this property are: "LISTING", 'UNKNOWN_ENUM_VALUE'.
|
50
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
51
|
+
:type type: str
|
52
|
+
|
53
|
+
:param quantity:
|
54
|
+
The value to assign to the quantity property of this ResourceBundle.
|
55
|
+
:type quantity: int
|
56
|
+
|
57
|
+
:param unit_of_measurement:
|
58
|
+
The value to assign to the unit_of_measurement property of this ResourceBundle.
|
59
|
+
Allowed values for this property are: "OCPU_PER_HOUR", "INSTANCE_PER_HOUR", "CREDITS", "INSTANCES", "NODES", 'UNKNOWN_ENUM_VALUE'.
|
60
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
61
|
+
:type unit_of_measurement: str
|
62
|
+
|
63
|
+
:param resource_ids:
|
64
|
+
The value to assign to the resource_ids property of this ResourceBundle.
|
65
|
+
:type resource_ids: list[str]
|
66
|
+
|
67
|
+
"""
|
68
|
+
self.swagger_types = {
|
69
|
+
'type': 'str',
|
70
|
+
'quantity': 'int',
|
71
|
+
'unit_of_measurement': 'str',
|
72
|
+
'resource_ids': 'list[str]'
|
73
|
+
}
|
74
|
+
|
75
|
+
self.attribute_map = {
|
76
|
+
'type': 'type',
|
77
|
+
'quantity': 'quantity',
|
78
|
+
'unit_of_measurement': 'unitOfMeasurement',
|
79
|
+
'resource_ids': 'resourceIds'
|
80
|
+
}
|
81
|
+
|
82
|
+
self._type = None
|
83
|
+
self._quantity = None
|
84
|
+
self._unit_of_measurement = None
|
85
|
+
self._resource_ids = None
|
86
|
+
|
87
|
+
@property
|
88
|
+
def type(self):
|
89
|
+
"""
|
90
|
+
Gets the type of this ResourceBundle.
|
91
|
+
The type of resources in the bundle
|
92
|
+
|
93
|
+
Allowed values for this property are: "LISTING", 'UNKNOWN_ENUM_VALUE'.
|
94
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
95
|
+
|
96
|
+
|
97
|
+
:return: The type of this ResourceBundle.
|
98
|
+
:rtype: str
|
99
|
+
"""
|
100
|
+
return self._type
|
101
|
+
|
102
|
+
@type.setter
|
103
|
+
def type(self, type):
|
104
|
+
"""
|
105
|
+
Sets the type of this ResourceBundle.
|
106
|
+
The type of resources in the bundle
|
107
|
+
|
108
|
+
|
109
|
+
:param type: The type of this ResourceBundle.
|
110
|
+
:type: str
|
111
|
+
"""
|
112
|
+
allowed_values = ["LISTING"]
|
113
|
+
if not value_allowed_none_or_none_sentinel(type, allowed_values):
|
114
|
+
type = 'UNKNOWN_ENUM_VALUE'
|
115
|
+
self._type = type
|
116
|
+
|
117
|
+
@property
|
118
|
+
def quantity(self):
|
119
|
+
"""
|
120
|
+
Gets the quantity of this ResourceBundle.
|
121
|
+
The quantity of a resources associated with the bundle
|
122
|
+
|
123
|
+
|
124
|
+
:return: The quantity of this ResourceBundle.
|
125
|
+
:rtype: int
|
126
|
+
"""
|
127
|
+
return self._quantity
|
128
|
+
|
129
|
+
@quantity.setter
|
130
|
+
def quantity(self, quantity):
|
131
|
+
"""
|
132
|
+
Sets the quantity of this ResourceBundle.
|
133
|
+
The quantity of a resources associated with the bundle
|
134
|
+
|
135
|
+
|
136
|
+
:param quantity: The quantity of this ResourceBundle.
|
137
|
+
:type: int
|
138
|
+
"""
|
139
|
+
self._quantity = quantity
|
140
|
+
|
141
|
+
@property
|
142
|
+
def unit_of_measurement(self):
|
143
|
+
"""
|
144
|
+
Gets the unit_of_measurement of this ResourceBundle.
|
145
|
+
The unit of measurement for the resource bundle
|
146
|
+
|
147
|
+
Allowed values for this property are: "OCPU_PER_HOUR", "INSTANCE_PER_HOUR", "CREDITS", "INSTANCES", "NODES", 'UNKNOWN_ENUM_VALUE'.
|
148
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
149
|
+
|
150
|
+
|
151
|
+
:return: The unit_of_measurement of this ResourceBundle.
|
152
|
+
:rtype: str
|
153
|
+
"""
|
154
|
+
return self._unit_of_measurement
|
155
|
+
|
156
|
+
@unit_of_measurement.setter
|
157
|
+
def unit_of_measurement(self, unit_of_measurement):
|
158
|
+
"""
|
159
|
+
Sets the unit_of_measurement of this ResourceBundle.
|
160
|
+
The unit of measurement for the resource bundle
|
161
|
+
|
162
|
+
|
163
|
+
:param unit_of_measurement: The unit_of_measurement of this ResourceBundle.
|
164
|
+
:type: str
|
165
|
+
"""
|
166
|
+
allowed_values = ["OCPU_PER_HOUR", "INSTANCE_PER_HOUR", "CREDITS", "INSTANCES", "NODES"]
|
167
|
+
if not value_allowed_none_or_none_sentinel(unit_of_measurement, allowed_values):
|
168
|
+
unit_of_measurement = 'UNKNOWN_ENUM_VALUE'
|
169
|
+
self._unit_of_measurement = unit_of_measurement
|
170
|
+
|
171
|
+
@property
|
172
|
+
def resource_ids(self):
|
173
|
+
"""
|
174
|
+
Gets the resource_ids of this ResourceBundle.
|
175
|
+
the ids of the resources in the Offer
|
176
|
+
|
177
|
+
|
178
|
+
:return: The resource_ids of this ResourceBundle.
|
179
|
+
:rtype: list[str]
|
180
|
+
"""
|
181
|
+
return self._resource_ids
|
182
|
+
|
183
|
+
@resource_ids.setter
|
184
|
+
def resource_ids(self, resource_ids):
|
185
|
+
"""
|
186
|
+
Sets the resource_ids of this ResourceBundle.
|
187
|
+
the ids of the resources in the Offer
|
188
|
+
|
189
|
+
|
190
|
+
:param resource_ids: The resource_ids of this ResourceBundle.
|
191
|
+
:type: list[str]
|
192
|
+
"""
|
193
|
+
self._resource_ids = resource_ids
|
194
|
+
|
195
|
+
def __repr__(self):
|
196
|
+
return formatted_flat_dict(self)
|
197
|
+
|
198
|
+
def __eq__(self, other):
|
199
|
+
if other is None:
|
200
|
+
return False
|
201
|
+
|
202
|
+
return self.__dict__ == other.__dict__
|
203
|
+
|
204
|
+
def __ne__(self, other):
|
205
|
+
return not self == other
|
@@ -0,0 +1,99 @@
|
|
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 SellerInformation(object):
|
14
|
+
"""
|
15
|
+
The information related to the seller of an Offer
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new SellerInformation object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param primary_contact:
|
24
|
+
The value to assign to the primary_contact property of this SellerInformation.
|
25
|
+
:type primary_contact: oci.marketplace_private_offer.models.Contact
|
26
|
+
|
27
|
+
:param additional_contacts:
|
28
|
+
The value to assign to the additional_contacts property of this SellerInformation.
|
29
|
+
:type additional_contacts: list[oci.marketplace_private_offer.models.Contact]
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'primary_contact': 'Contact',
|
34
|
+
'additional_contacts': 'list[Contact]'
|
35
|
+
}
|
36
|
+
|
37
|
+
self.attribute_map = {
|
38
|
+
'primary_contact': 'primaryContact',
|
39
|
+
'additional_contacts': 'additionalContacts'
|
40
|
+
}
|
41
|
+
|
42
|
+
self._primary_contact = None
|
43
|
+
self._additional_contacts = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def primary_contact(self):
|
47
|
+
"""
|
48
|
+
Gets the primary_contact of this SellerInformation.
|
49
|
+
|
50
|
+
:return: The primary_contact of this SellerInformation.
|
51
|
+
:rtype: oci.marketplace_private_offer.models.Contact
|
52
|
+
"""
|
53
|
+
return self._primary_contact
|
54
|
+
|
55
|
+
@primary_contact.setter
|
56
|
+
def primary_contact(self, primary_contact):
|
57
|
+
"""
|
58
|
+
Sets the primary_contact of this SellerInformation.
|
59
|
+
|
60
|
+
:param primary_contact: The primary_contact of this SellerInformation.
|
61
|
+
:type: oci.marketplace_private_offer.models.Contact
|
62
|
+
"""
|
63
|
+
self._primary_contact = primary_contact
|
64
|
+
|
65
|
+
@property
|
66
|
+
def additional_contacts(self):
|
67
|
+
"""
|
68
|
+
Gets the additional_contacts of this SellerInformation.
|
69
|
+
the additional contacts associated with the seller
|
70
|
+
|
71
|
+
|
72
|
+
:return: The additional_contacts of this SellerInformation.
|
73
|
+
:rtype: list[oci.marketplace_private_offer.models.Contact]
|
74
|
+
"""
|
75
|
+
return self._additional_contacts
|
76
|
+
|
77
|
+
@additional_contacts.setter
|
78
|
+
def additional_contacts(self, additional_contacts):
|
79
|
+
"""
|
80
|
+
Sets the additional_contacts of this SellerInformation.
|
81
|
+
the additional contacts associated with the seller
|
82
|
+
|
83
|
+
|
84
|
+
:param additional_contacts: The additional_contacts of this SellerInformation.
|
85
|
+
:type: list[oci.marketplace_private_offer.models.Contact]
|
86
|
+
"""
|
87
|
+
self._additional_contacts = additional_contacts
|
88
|
+
|
89
|
+
def __repr__(self):
|
90
|
+
return formatted_flat_dict(self)
|
91
|
+
|
92
|
+
def __eq__(self, other):
|
93
|
+
if other is None:
|
94
|
+
return False
|
95
|
+
|
96
|
+
return self.__dict__ == other.__dict__
|
97
|
+
|
98
|
+
def __ne__(self, other):
|
99
|
+
return not self == other
|