oci 2.135.1__py3-none-any.whl → 2.135.2__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 (327) 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 +26 -26
  5. oci/ai_language/ai_service_language_client.py +44 -44
  6. oci/ai_speech/ai_service_speech_client.py +19 -19
  7. oci/ai_vision/ai_service_vision_client.py +25 -25
  8. oci/analytics/analytics_client.py +24 -24
  9. oci/announcements_service/announcement_client.py +5 -5
  10. oci/announcements_service/announcement_subscription_client.py +9 -9
  11. oci/announcements_service/announcements_preferences_client.py +4 -4
  12. oci/announcements_service/service_client.py +1 -1
  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 +9 -9
  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 +72 -72
  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 +32 -32
  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 +98 -94
  50. oci/container_engine/models/cluster.py +6 -2
  51. oci/container_engine/models/cluster_summary.py +6 -2
  52. oci/container_engine/models/node.py +6 -2
  53. oci/container_engine/models/node_pool.py +6 -2
  54. oci/container_engine/models/node_pool_summary.py +6 -2
  55. oci/container_engine/models/start_credential_rotation_details.py +2 -2
  56. oci/container_engine/models/work_request.py +7 -3
  57. oci/container_engine/models/work_request_summary.py +7 -3
  58. oci/container_engine/models/workload_mapping.py +35 -2
  59. oci/container_engine/models/workload_mapping_summary.py +35 -2
  60. oci/container_instances/container_instance_client.py +18 -18
  61. oci/core/blockstorage_client.py +60 -60
  62. oci/core/compute_client.py +102 -102
  63. oci/core/compute_management_client.py +32 -32
  64. oci/core/models/__init__.py +2 -0
  65. oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
  66. oci/core/models/launch_attach_volume_details.py +4 -0
  67. oci/core/virtual_network_client.py +247 -247
  68. oci/dashboard_service/dashboard_client.py +6 -6
  69. oci/dashboard_service/dashboard_group_client.py +6 -6
  70. oci/data_catalog/data_catalog_client.py +149 -149
  71. oci/data_flow/data_flow_client.py +42 -42
  72. oci/data_integration/data_integration_client.py +163 -163
  73. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  74. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  75. oci/data_safe/data_safe_client.py +292 -292
  76. oci/data_science/data_science_client.py +91 -91
  77. oci/database/database_client.py +396 -396
  78. oci/database/models/cloud_vm_cluster.py +29 -2
  79. oci/database/models/cloud_vm_cluster_summary.py +29 -2
  80. oci/database/models/create_cloud_vm_cluster_details.py +29 -2
  81. oci/database/models/create_vm_cluster_details.py +29 -2
  82. oci/database/models/update_cloud_vm_cluster_details.py +29 -2
  83. oci/database/models/update_vm_cluster_details.py +29 -2
  84. oci/database/models/vm_cluster.py +29 -2
  85. oci/database/models/vm_cluster_summary.py +29 -2
  86. oci/database_management/db_management_client.py +211 -211
  87. oci/database_management/diagnosability_client.py +4 -4
  88. oci/database_management/managed_my_sql_databases_client.py +7 -7
  89. oci/database_management/perfhub_client.py +1 -1
  90. oci/database_management/sql_tuning_client.py +17 -17
  91. oci/database_migration/database_migration_client.py +42 -42
  92. oci/database_tools/database_tools_client.py +23 -23
  93. oci/delegate_access_control/delegate_access_control_client.py +26 -26
  94. oci/delegate_access_control/work_request_client.py +4 -4
  95. oci/demand_signal/occ_demand_signal_client.py +7 -7
  96. oci/desktops/desktop_service_client.py +33 -22
  97. oci/desktops/models/__init__.py +18 -0
  98. oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  99. oci/desktops/models/create_desktop_pool_details.py +136 -4
  100. oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
  101. oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
  102. oci/desktops/models/desktop_image.py +33 -2
  103. oci/desktops/models/desktop_network_configuration.py +14 -4
  104. oci/desktops/models/desktop_pool.py +136 -4
  105. oci/desktops/models/desktop_pool_private_access_details.py +212 -0
  106. oci/desktops/models/desktop_pool_shape_config.py +170 -0
  107. oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
  108. oci/desktops/models/disconnect_config.py +121 -0
  109. oci/desktops/models/inactivity_config.py +121 -0
  110. oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
  111. oci/desktops/models/update_desktop_pool_details.py +29 -2
  112. oci/devops/devops_client.py +141 -141
  113. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  114. oci/dns/dns_client.py +52 -52
  115. oci/dts/appliance_export_job_client.py +6 -6
  116. oci/dts/shipping_vendors_client.py +1 -1
  117. oci/dts/transfer_appliance_client.py +8 -8
  118. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  119. oci/dts/transfer_device_client.py +5 -5
  120. oci/dts/transfer_job_client.py +6 -6
  121. oci/dts/transfer_package_client.py +7 -7
  122. oci/em_warehouse/em_data_lake_client.py +13 -13
  123. oci/em_warehouse/em_warehouse_client.py +13 -13
  124. oci/email/email_client.py +31 -31
  125. oci/email_data_plane/email_dp_client.py +1 -1
  126. oci/events/events_client.py +6 -6
  127. oci/file_storage/file_storage_client.py +54 -54
  128. oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
  129. oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
  130. oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
  131. oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
  132. oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
  133. oci/fleet_software_update/fleet_software_update_client.py +46 -46
  134. oci/functions/functions_invoke_client.py +1 -1
  135. oci/functions/functions_management_client.py +16 -16
  136. oci/fusion_apps/data_masking_activity_client.py +3 -3
  137. oci/fusion_apps/fusion_applications_client.py +42 -42
  138. oci/fusion_apps/fusion_environment_client.py +15 -15
  139. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  140. oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
  141. oci/fusion_apps/refresh_activity_client.py +4 -4
  142. oci/fusion_apps/scheduled_activity_client.py +2 -2
  143. oci/fusion_apps/service_attachment_client.py +2 -2
  144. oci/generative_ai/generative_ai_client.py +22 -22
  145. oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
  146. oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
  147. oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
  148. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  149. oci/globally_distributed_database/sharded_database_service_client.py +30 -30
  150. oci/golden_gate/golden_gate_client.py +68 -68
  151. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  152. oci/governance_rules_control_plane/work_request_client.py +5 -5
  153. oci/healthchecks/health_checks_client.py +17 -17
  154. oci/identity/identity_client.py +145 -145
  155. oci/identity_data_plane/dataplane_client.py +2 -2
  156. oci/identity_domains/identity_domains_client.py +307 -307
  157. oci/integration/integration_instance_client.py +19 -19
  158. oci/jms/java_management_service_client.py +75 -75
  159. oci/jms_java_downloads/java_download_client.py +25 -25
  160. oci/key_management/ekm_client.py +5 -5
  161. oci/key_management/kms_crypto_client.py +6 -6
  162. oci/key_management/kms_hsm_cluster_client.py +12 -12
  163. oci/key_management/kms_management_client.py +21 -21
  164. oci/key_management/kms_vault_client.py +14 -14
  165. oci/license_manager/license_manager_client.py +18 -18
  166. oci/limits/limits_client.py +4 -4
  167. oci/limits/quotas_client.py +7 -7
  168. oci/load_balancer/load_balancer_client.py +61 -61
  169. oci/load_balancer/models/connection_configuration.py +47 -2
  170. oci/lockbox/lockbox_client.py +24 -24
  171. oci/log_analytics/log_analytics_client.py +193 -193
  172. oci/logging/logging_management_client.py +30 -30
  173. oci/loggingingestion/logging_client.py +1 -1
  174. oci/loggingsearch/log_search_client.py +1 -1
  175. oci/management_agent/management_agent_client.py +28 -28
  176. oci/management_dashboard/dashx_apis_client.py +14 -14
  177. oci/marketplace/account_client.py +2 -2
  178. oci/marketplace/marketplace_client.py +30 -30
  179. oci/marketplace_private_offer/attachment_client.py +5 -5
  180. oci/marketplace_private_offer/offer_client.py +6 -6
  181. oci/marketplace_publisher/attachment_client.py +5 -5
  182. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  183. oci/marketplace_publisher/offer_client.py +6 -6
  184. oci/media_services/media_services_client.py +60 -60
  185. oci/media_services/media_stream_client.py +2 -2
  186. oci/monitoring/monitoring_client.py +18 -18
  187. oci/mysql/channels_client.py +7 -7
  188. oci/mysql/db_backups_client.py +7 -7
  189. oci/mysql/db_system_client.py +17 -17
  190. oci/mysql/mysqlaas_client.py +7 -7
  191. oci/mysql/replicas_client.py +5 -5
  192. oci/mysql/work_requests_client.py +4 -4
  193. oci/network_firewall/network_firewall_client.py +86 -86
  194. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  195. oci/nosql/nosql_client.py +24 -24
  196. oci/object_storage/object_storage_client.py +55 -55
  197. oci/oce/oce_instance_client.py +10 -10
  198. oci/oci_control_center/occ_metrics_client.py +3 -3
  199. oci/ocvp/cluster_client.py +5 -5
  200. oci/ocvp/esxi_host_client.py +8 -8
  201. oci/ocvp/sddc_client.py +14 -14
  202. oci/ocvp/work_request_client.py +4 -4
  203. oci/oda/management_client.py +59 -59
  204. oci/oda/oda_client.py +17 -17
  205. oci/oda/odapackage_client.py +7 -7
  206. oci/onesubscription/billing_schedule_client.py +1 -1
  207. oci/onesubscription/commitment_client.py +2 -2
  208. oci/onesubscription/computed_usage_client.py +3 -3
  209. oci/onesubscription/invoice_summary_client.py +2 -2
  210. oci/onesubscription/organization_subscription_client.py +1 -1
  211. oci/onesubscription/ratecard_client.py +1 -1
  212. oci/onesubscription/subscribed_service_client.py +2 -2
  213. oci/onesubscription/subscription_client.py +1 -1
  214. oci/ons/notification_control_plane_client.py +6 -6
  215. oci/ons/notification_data_plane_client.py +10 -10
  216. oci/opa/opa_instance_client.py +13 -13
  217. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  218. oci/opensearch/opensearch_cluster_client.py +14 -14
  219. oci/operator_access_control/access_requests_client.py +10 -10
  220. oci/operator_access_control/operator_actions_client.py +2 -2
  221. oci/operator_access_control/operator_control_assignment_client.py +8 -8
  222. oci/operator_access_control/operator_control_client.py +6 -6
  223. oci/opsi/models/__init__.py +6 -0
  224. oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
  225. oci/opsi/models/create_database_insight_details.py +4 -0
  226. oci/opsi/models/credential_by_iam.py +58 -0
  227. oci/opsi/models/credential_by_vault.py +1 -1
  228. oci/opsi/models/credential_details.py +13 -5
  229. oci/opsi/models/credentials_by_source.py +1 -1
  230. oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
  231. oci/opsi/models/enable_database_insight_details.py +4 -0
  232. oci/opsi/operations_insights_client.py +179 -179
  233. oci/optimizer/optimizer_client.py +26 -26
  234. oci/os_management/event_client.py +8 -8
  235. oci/os_management/os_management_client.py +69 -69
  236. oci/os_management_hub/event_client.py +8 -8
  237. oci/os_management_hub/lifecycle_environment_client.py +12 -12
  238. oci/os_management_hub/managed_instance_client.py +31 -31
  239. oci/os_management_hub/managed_instance_group_client.py +25 -25
  240. oci/os_management_hub/management_station_client.py +10 -10
  241. oci/os_management_hub/onboarding_client.py +6 -6
  242. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  243. oci/os_management_hub/scheduled_job_client.py +7 -7
  244. oci/os_management_hub/software_source_client.py +27 -27
  245. oci/os_management_hub/work_request_client.py +4 -4
  246. oci/osp_gateway/address_rule_service_client.py +1 -1
  247. oci/osp_gateway/address_service_client.py +2 -2
  248. oci/osp_gateway/invoice_service_client.py +5 -5
  249. oci/osp_gateway/subscription_service_client.py +5 -5
  250. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  251. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  252. oci/osub_subscription/commitment_client.py +2 -2
  253. oci/osub_subscription/ratecard_client.py +1 -1
  254. oci/osub_subscription/subscription_client.py +1 -1
  255. oci/osub_usage/computed_usage_client.py +3 -3
  256. oci/psql/postgresql_client.py +33 -33
  257. oci/queue/queue_admin_client.py +11 -11
  258. oci/queue/queue_client.py +8 -8
  259. oci/recovery/database_recovery_client.py +26 -26
  260. oci/redis/redis_cluster_client.py +12 -12
  261. oci/resource_manager/resource_manager_client.py +52 -52
  262. oci/resource_scheduler/schedule_client.py +13 -13
  263. oci/resource_search/resource_search_client.py +3 -3
  264. oci/rover/rover_bundle_client.py +8 -8
  265. oci/rover/rover_cluster_client.py +8 -8
  266. oci/rover/rover_entitlement_client.py +6 -6
  267. oci/rover/rover_node_client.py +15 -15
  268. oci/rover/shape_client.py +1 -1
  269. oci/rover/work_requests_client.py +5 -5
  270. oci/sch/connector_plugins_client.py +2 -2
  271. oci/sch/service_connector_client.py +12 -12
  272. oci/secrets/secrets_client.py +3 -3
  273. oci/security_attribute/security_attribute_client.py +18 -18
  274. oci/service_catalog/service_catalog_client.py +26 -26
  275. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  276. oci/service_mesh/service_mesh_client.py +48 -48
  277. oci/stack_monitoring/models/__init__.py +20 -0
  278. oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
  279. oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
  280. oci/stack_monitoring/models/maintenance_window.py +439 -0
  281. oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
  282. oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
  283. oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
  284. oci/stack_monitoring/models/monitored_resource_details.py +171 -0
  285. oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
  286. oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
  287. oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
  288. oci/stack_monitoring/models/work_request.py +19 -3
  289. oci/stack_monitoring/models/work_request_summary.py +19 -3
  290. oci/stack_monitoring/stack_monitoring_client.py +921 -113
  291. oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
  292. oci/streaming/stream_admin_client.py +18 -18
  293. oci/streaming/stream_client.py +8 -8
  294. oci/tenant_manager_control_plane/domain_client.py +5 -5
  295. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  296. oci/tenant_manager_control_plane/governance_client.py +2 -2
  297. oci/tenant_manager_control_plane/link_client.py +3 -3
  298. oci/tenant_manager_control_plane/orders_client.py +2 -2
  299. oci/tenant_manager_control_plane/organization_client.py +10 -10
  300. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  301. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  302. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  303. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  304. oci/threat_intelligence/threatintel_client.py +5 -5
  305. oci/usage/resources_client.py +2 -2
  306. oci/usage/rewards_client.py +6 -6
  307. oci/usage/usagelimits_client.py +1 -1
  308. oci/usage_api/usageapi_client.py +33 -33
  309. oci/vault/vaults_client.py +13 -13
  310. oci/vbs_inst/vbs_instance_client.py +10 -10
  311. oci/version.py +1 -1
  312. oci/visual_builder/vb_instance_client.py +13 -13
  313. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  314. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  315. oci/waa/waa_client.py +13 -13
  316. oci/waa/work_request_client.py +4 -4
  317. oci/waas/redirect_client.py +6 -6
  318. oci/waas/waas_client.py +66 -66
  319. oci/waf/waf_client.py +24 -24
  320. oci/work_requests/work_request_client.py +4 -4
  321. oci/zpr/zpr_client.py +16 -17
  322. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
  323. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/RECORD +327 -304
  324. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
  325. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  326. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
  327. {oci-2.135.1.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,519 @@
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: 20210330
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 MaintenanceWindowSummary(object):
14
+ """
15
+ General information of a Maintenance Window
16
+ """
17
+
18
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindowSummary.
19
+ #: This constant has a value of "CREATING"
20
+ LIFECYCLE_STATE_CREATING = "CREATING"
21
+
22
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindowSummary.
23
+ #: This constant has a value of "UPDATING"
24
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
25
+
26
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindowSummary.
27
+ #: This constant has a value of "ACTIVE"
28
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
29
+
30
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindowSummary.
31
+ #: This constant has a value of "DELETING"
32
+ LIFECYCLE_STATE_DELETING = "DELETING"
33
+
34
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindowSummary.
35
+ #: This constant has a value of "DELETED"
36
+ LIFECYCLE_STATE_DELETED = "DELETED"
37
+
38
+ #: A constant which can be used with the lifecycle_state property of a MaintenanceWindowSummary.
39
+ #: This constant has a value of "FAILED"
40
+ LIFECYCLE_STATE_FAILED = "FAILED"
41
+
42
+ #: A constant which can be used with the lifecycle_details property of a MaintenanceWindowSummary.
43
+ #: This constant has a value of "IN_PROGRESS"
44
+ LIFECYCLE_DETAILS_IN_PROGRESS = "IN_PROGRESS"
45
+
46
+ #: A constant which can be used with the lifecycle_details property of a MaintenanceWindowSummary.
47
+ #: This constant has a value of "SCHEDULED"
48
+ LIFECYCLE_DETAILS_SCHEDULED = "SCHEDULED"
49
+
50
+ #: A constant which can be used with the lifecycle_details property of a MaintenanceWindowSummary.
51
+ #: This constant has a value of "COMPLETED"
52
+ LIFECYCLE_DETAILS_COMPLETED = "COMPLETED"
53
+
54
+ #: A constant which can be used with the operation_type property of a MaintenanceWindowSummary.
55
+ #: This constant has a value of "UPDATE"
56
+ OPERATION_TYPE_UPDATE = "UPDATE"
57
+
58
+ #: A constant which can be used with the operation_type property of a MaintenanceWindowSummary.
59
+ #: This constant has a value of "CREATE"
60
+ OPERATION_TYPE_CREATE = "CREATE"
61
+
62
+ #: A constant which can be used with the operation_type property of a MaintenanceWindowSummary.
63
+ #: This constant has a value of "DELETE"
64
+ OPERATION_TYPE_DELETE = "DELETE"
65
+
66
+ #: A constant which can be used with the operation_type property of a MaintenanceWindowSummary.
67
+ #: This constant has a value of "STOP"
68
+ OPERATION_TYPE_STOP = "STOP"
69
+
70
+ #: A constant which can be used with the operation_status property of a MaintenanceWindowSummary.
71
+ #: This constant has a value of "IN_PROGRESS"
72
+ OPERATION_STATUS_IN_PROGRESS = "IN_PROGRESS"
73
+
74
+ #: A constant which can be used with the operation_status property of a MaintenanceWindowSummary.
75
+ #: This constant has a value of "FAILED"
76
+ OPERATION_STATUS_FAILED = "FAILED"
77
+
78
+ #: A constant which can be used with the operation_status property of a MaintenanceWindowSummary.
79
+ #: This constant has a value of "SUCCEEDED"
80
+ OPERATION_STATUS_SUCCEEDED = "SUCCEEDED"
81
+
82
+ def __init__(self, **kwargs):
83
+ """
84
+ Initializes a new MaintenanceWindowSummary object with values from keyword arguments.
85
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
86
+
87
+ :param id:
88
+ The value to assign to the id property of this MaintenanceWindowSummary.
89
+ :type id: str
90
+
91
+ :param name:
92
+ The value to assign to the name property of this MaintenanceWindowSummary.
93
+ :type name: str
94
+
95
+ :param compartment_id:
96
+ The value to assign to the compartment_id property of this MaintenanceWindowSummary.
97
+ :type compartment_id: str
98
+
99
+ :param number_of_resources:
100
+ The value to assign to the number_of_resources property of this MaintenanceWindowSummary.
101
+ :type number_of_resources: int
102
+
103
+ :param lifecycle_state:
104
+ The value to assign to the lifecycle_state property of this MaintenanceWindowSummary.
105
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
106
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
107
+ :type lifecycle_state: str
108
+
109
+ :param lifecycle_details:
110
+ The value to assign to the lifecycle_details property of this MaintenanceWindowSummary.
111
+ Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "COMPLETED", 'UNKNOWN_ENUM_VALUE'.
112
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
113
+ :type lifecycle_details: str
114
+
115
+ :param operation_type:
116
+ The value to assign to the operation_type property of this MaintenanceWindowSummary.
117
+ Allowed values for this property are: "UPDATE", "CREATE", "DELETE", "STOP", 'UNKNOWN_ENUM_VALUE'.
118
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
119
+ :type operation_type: str
120
+
121
+ :param operation_status:
122
+ The value to assign to the operation_status property of this MaintenanceWindowSummary.
123
+ Allowed values for this property are: "IN_PROGRESS", "FAILED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'.
124
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
125
+ :type operation_status: str
126
+
127
+ :param schedule:
128
+ The value to assign to the schedule property of this MaintenanceWindowSummary.
129
+ :type schedule: oci.stack_monitoring.models.MaintenanceWindowSchedule
130
+
131
+ :param freeform_tags:
132
+ The value to assign to the freeform_tags property of this MaintenanceWindowSummary.
133
+ :type freeform_tags: dict(str, str)
134
+
135
+ :param defined_tags:
136
+ The value to assign to the defined_tags property of this MaintenanceWindowSummary.
137
+ :type defined_tags: dict(str, dict(str, object))
138
+
139
+ :param system_tags:
140
+ The value to assign to the system_tags property of this MaintenanceWindowSummary.
141
+ :type system_tags: dict(str, dict(str, object))
142
+
143
+ """
144
+ self.swagger_types = {
145
+ 'id': 'str',
146
+ 'name': 'str',
147
+ 'compartment_id': 'str',
148
+ 'number_of_resources': 'int',
149
+ 'lifecycle_state': 'str',
150
+ 'lifecycle_details': 'str',
151
+ 'operation_type': 'str',
152
+ 'operation_status': 'str',
153
+ 'schedule': 'MaintenanceWindowSchedule',
154
+ 'freeform_tags': 'dict(str, str)',
155
+ 'defined_tags': 'dict(str, dict(str, object))',
156
+ 'system_tags': 'dict(str, dict(str, object))'
157
+ }
158
+
159
+ self.attribute_map = {
160
+ 'id': 'id',
161
+ 'name': 'name',
162
+ 'compartment_id': 'compartmentId',
163
+ 'number_of_resources': 'numberOfResources',
164
+ 'lifecycle_state': 'lifecycleState',
165
+ 'lifecycle_details': 'lifecycleDetails',
166
+ 'operation_type': 'operationType',
167
+ 'operation_status': 'operationStatus',
168
+ 'schedule': 'schedule',
169
+ 'freeform_tags': 'freeformTags',
170
+ 'defined_tags': 'definedTags',
171
+ 'system_tags': 'systemTags'
172
+ }
173
+
174
+ self._id = None
175
+ self._name = None
176
+ self._compartment_id = None
177
+ self._number_of_resources = None
178
+ self._lifecycle_state = None
179
+ self._lifecycle_details = None
180
+ self._operation_type = None
181
+ self._operation_status = None
182
+ self._schedule = None
183
+ self._freeform_tags = None
184
+ self._defined_tags = None
185
+ self._system_tags = None
186
+
187
+ @property
188
+ def id(self):
189
+ """
190
+ **[Required]** Gets the id of this MaintenanceWindowSummary.
191
+ The `OCID`__ of maintenance window.
192
+
193
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
194
+
195
+
196
+ :return: The id of this MaintenanceWindowSummary.
197
+ :rtype: str
198
+ """
199
+ return self._id
200
+
201
+ @id.setter
202
+ def id(self, id):
203
+ """
204
+ Sets the id of this MaintenanceWindowSummary.
205
+ The `OCID`__ of maintenance window.
206
+
207
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
208
+
209
+
210
+ :param id: The id of this MaintenanceWindowSummary.
211
+ :type: str
212
+ """
213
+ self._id = id
214
+
215
+ @property
216
+ def name(self):
217
+ """
218
+ **[Required]** Gets the name of this MaintenanceWindowSummary.
219
+ Maintenance Window name.
220
+
221
+
222
+ :return: The name of this MaintenanceWindowSummary.
223
+ :rtype: str
224
+ """
225
+ return self._name
226
+
227
+ @name.setter
228
+ def name(self, name):
229
+ """
230
+ Sets the name of this MaintenanceWindowSummary.
231
+ Maintenance Window name.
232
+
233
+
234
+ :param name: The name of this MaintenanceWindowSummary.
235
+ :type: str
236
+ """
237
+ self._name = name
238
+
239
+ @property
240
+ def compartment_id(self):
241
+ """
242
+ Gets the compartment_id of this MaintenanceWindowSummary.
243
+ Compartment Identifier `OCID`__.
244
+
245
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
246
+
247
+
248
+ :return: The compartment_id of this MaintenanceWindowSummary.
249
+ :rtype: str
250
+ """
251
+ return self._compartment_id
252
+
253
+ @compartment_id.setter
254
+ def compartment_id(self, compartment_id):
255
+ """
256
+ Sets the compartment_id of this MaintenanceWindowSummary.
257
+ Compartment Identifier `OCID`__.
258
+
259
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
260
+
261
+
262
+ :param compartment_id: The compartment_id of this MaintenanceWindowSummary.
263
+ :type: str
264
+ """
265
+ self._compartment_id = compartment_id
266
+
267
+ @property
268
+ def number_of_resources(self):
269
+ """
270
+ Gets the number_of_resources of this MaintenanceWindowSummary.
271
+ Number of resources of the Maintenance window.
272
+
273
+
274
+ :return: The number_of_resources of this MaintenanceWindowSummary.
275
+ :rtype: int
276
+ """
277
+ return self._number_of_resources
278
+
279
+ @number_of_resources.setter
280
+ def number_of_resources(self, number_of_resources):
281
+ """
282
+ Sets the number_of_resources of this MaintenanceWindowSummary.
283
+ Number of resources of the Maintenance window.
284
+
285
+
286
+ :param number_of_resources: The number_of_resources of this MaintenanceWindowSummary.
287
+ :type: int
288
+ """
289
+ self._number_of_resources = number_of_resources
290
+
291
+ @property
292
+ def lifecycle_state(self):
293
+ """
294
+ Gets the lifecycle_state of this MaintenanceWindowSummary.
295
+ Lifecycle state of the monitored resource.
296
+
297
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
298
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
299
+
300
+
301
+ :return: The lifecycle_state of this MaintenanceWindowSummary.
302
+ :rtype: str
303
+ """
304
+ return self._lifecycle_state
305
+
306
+ @lifecycle_state.setter
307
+ def lifecycle_state(self, lifecycle_state):
308
+ """
309
+ Sets the lifecycle_state of this MaintenanceWindowSummary.
310
+ Lifecycle state of the monitored resource.
311
+
312
+
313
+ :param lifecycle_state: The lifecycle_state of this MaintenanceWindowSummary.
314
+ :type: str
315
+ """
316
+ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
317
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
318
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
319
+ self._lifecycle_state = lifecycle_state
320
+
321
+ @property
322
+ def lifecycle_details(self):
323
+ """
324
+ Gets the lifecycle_details of this MaintenanceWindowSummary.
325
+ Lifecycle Details of the Maintenance Window.
326
+
327
+ Allowed values for this property are: "IN_PROGRESS", "SCHEDULED", "COMPLETED", 'UNKNOWN_ENUM_VALUE'.
328
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
329
+
330
+
331
+ :return: The lifecycle_details of this MaintenanceWindowSummary.
332
+ :rtype: str
333
+ """
334
+ return self._lifecycle_details
335
+
336
+ @lifecycle_details.setter
337
+ def lifecycle_details(self, lifecycle_details):
338
+ """
339
+ Sets the lifecycle_details of this MaintenanceWindowSummary.
340
+ Lifecycle Details of the Maintenance Window.
341
+
342
+
343
+ :param lifecycle_details: The lifecycle_details of this MaintenanceWindowSummary.
344
+ :type: str
345
+ """
346
+ allowed_values = ["IN_PROGRESS", "SCHEDULED", "COMPLETED"]
347
+ if not value_allowed_none_or_none_sentinel(lifecycle_details, allowed_values):
348
+ lifecycle_details = 'UNKNOWN_ENUM_VALUE'
349
+ self._lifecycle_details = lifecycle_details
350
+
351
+ @property
352
+ def operation_type(self):
353
+ """
354
+ Gets the operation_type of this MaintenanceWindowSummary.
355
+ The name of the most recent operation of the Maintenance window.
356
+
357
+ Allowed values for this property are: "UPDATE", "CREATE", "DELETE", "STOP", 'UNKNOWN_ENUM_VALUE'.
358
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
359
+
360
+
361
+ :return: The operation_type of this MaintenanceWindowSummary.
362
+ :rtype: str
363
+ """
364
+ return self._operation_type
365
+
366
+ @operation_type.setter
367
+ def operation_type(self, operation_type):
368
+ """
369
+ Sets the operation_type of this MaintenanceWindowSummary.
370
+ The name of the most recent operation of the Maintenance window.
371
+
372
+
373
+ :param operation_type: The operation_type of this MaintenanceWindowSummary.
374
+ :type: str
375
+ """
376
+ allowed_values = ["UPDATE", "CREATE", "DELETE", "STOP"]
377
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
378
+ operation_type = 'UNKNOWN_ENUM_VALUE'
379
+ self._operation_type = operation_type
380
+
381
+ @property
382
+ def operation_status(self):
383
+ """
384
+ Gets the operation_status of this MaintenanceWindowSummary.
385
+ Status of the most recent operation of the Maintenance Window.
386
+
387
+ Allowed values for this property are: "IN_PROGRESS", "FAILED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'.
388
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
389
+
390
+
391
+ :return: The operation_status of this MaintenanceWindowSummary.
392
+ :rtype: str
393
+ """
394
+ return self._operation_status
395
+
396
+ @operation_status.setter
397
+ def operation_status(self, operation_status):
398
+ """
399
+ Sets the operation_status of this MaintenanceWindowSummary.
400
+ Status of the most recent operation of the Maintenance Window.
401
+
402
+
403
+ :param operation_status: The operation_status of this MaintenanceWindowSummary.
404
+ :type: str
405
+ """
406
+ allowed_values = ["IN_PROGRESS", "FAILED", "SUCCEEDED"]
407
+ if not value_allowed_none_or_none_sentinel(operation_status, allowed_values):
408
+ operation_status = 'UNKNOWN_ENUM_VALUE'
409
+ self._operation_status = operation_status
410
+
411
+ @property
412
+ def schedule(self):
413
+ """
414
+ Gets the schedule of this MaintenanceWindowSummary.
415
+
416
+ :return: The schedule of this MaintenanceWindowSummary.
417
+ :rtype: oci.stack_monitoring.models.MaintenanceWindowSchedule
418
+ """
419
+ return self._schedule
420
+
421
+ @schedule.setter
422
+ def schedule(self, schedule):
423
+ """
424
+ Sets the schedule of this MaintenanceWindowSummary.
425
+
426
+ :param schedule: The schedule of this MaintenanceWindowSummary.
427
+ :type: oci.stack_monitoring.models.MaintenanceWindowSchedule
428
+ """
429
+ self._schedule = schedule
430
+
431
+ @property
432
+ def freeform_tags(self):
433
+ """
434
+ Gets the freeform_tags of this MaintenanceWindowSummary.
435
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
436
+ Example: `{\"bar-key\": \"value\"}`
437
+
438
+
439
+ :return: The freeform_tags of this MaintenanceWindowSummary.
440
+ :rtype: dict(str, str)
441
+ """
442
+ return self._freeform_tags
443
+
444
+ @freeform_tags.setter
445
+ def freeform_tags(self, freeform_tags):
446
+ """
447
+ Sets the freeform_tags of this MaintenanceWindowSummary.
448
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
449
+ Example: `{\"bar-key\": \"value\"}`
450
+
451
+
452
+ :param freeform_tags: The freeform_tags of this MaintenanceWindowSummary.
453
+ :type: dict(str, str)
454
+ """
455
+ self._freeform_tags = freeform_tags
456
+
457
+ @property
458
+ def defined_tags(self):
459
+ """
460
+ Gets the defined_tags of this MaintenanceWindowSummary.
461
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
462
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
463
+
464
+
465
+ :return: The defined_tags of this MaintenanceWindowSummary.
466
+ :rtype: dict(str, dict(str, object))
467
+ """
468
+ return self._defined_tags
469
+
470
+ @defined_tags.setter
471
+ def defined_tags(self, defined_tags):
472
+ """
473
+ Sets the defined_tags of this MaintenanceWindowSummary.
474
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
475
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
476
+
477
+
478
+ :param defined_tags: The defined_tags of this MaintenanceWindowSummary.
479
+ :type: dict(str, dict(str, object))
480
+ """
481
+ self._defined_tags = defined_tags
482
+
483
+ @property
484
+ def system_tags(self):
485
+ """
486
+ Gets the system_tags of this MaintenanceWindowSummary.
487
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
488
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
489
+
490
+
491
+ :return: The system_tags of this MaintenanceWindowSummary.
492
+ :rtype: dict(str, dict(str, object))
493
+ """
494
+ return self._system_tags
495
+
496
+ @system_tags.setter
497
+ def system_tags(self, system_tags):
498
+ """
499
+ Sets the system_tags of this MaintenanceWindowSummary.
500
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
501
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
502
+
503
+
504
+ :param system_tags: The system_tags of this MaintenanceWindowSummary.
505
+ :type: dict(str, dict(str, object))
506
+ """
507
+ self._system_tags = system_tags
508
+
509
+ def __repr__(self):
510
+ return formatted_flat_dict(self)
511
+
512
+ def __eq__(self, other):
513
+ if other is None:
514
+ return False
515
+
516
+ return self.__dict__ == other.__dict__
517
+
518
+ def __ne__(self, other):
519
+ return not self == other
@@ -0,0 +1,171 @@
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: 20210330
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 MonitoredResourceDetails(object):
14
+ """
15
+ Details of the Resource that are part of the Maintenance Window.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new MonitoredResourceDetails object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param resource_id:
24
+ The value to assign to the resource_id property of this MonitoredResourceDetails.
25
+ :type resource_id: str
26
+
27
+ :param name:
28
+ The value to assign to the name property of this MonitoredResourceDetails.
29
+ :type name: str
30
+
31
+ :param type:
32
+ The value to assign to the type property of this MonitoredResourceDetails.
33
+ :type type: str
34
+
35
+ :param number_of_members:
36
+ The value to assign to the number_of_members property of this MonitoredResourceDetails.
37
+ :type number_of_members: int
38
+
39
+ """
40
+ self.swagger_types = {
41
+ 'resource_id': 'str',
42
+ 'name': 'str',
43
+ 'type': 'str',
44
+ 'number_of_members': 'int'
45
+ }
46
+
47
+ self.attribute_map = {
48
+ 'resource_id': 'resourceId',
49
+ 'name': 'name',
50
+ 'type': 'type',
51
+ 'number_of_members': 'numberOfMembers'
52
+ }
53
+
54
+ self._resource_id = None
55
+ self._name = None
56
+ self._type = None
57
+ self._number_of_members = None
58
+
59
+ @property
60
+ def resource_id(self):
61
+ """
62
+ **[Required]** Gets the resource_id of this MonitoredResourceDetails.
63
+ The `OCID`__ of monitored resource
64
+ part of the Maintenance window.
65
+
66
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
67
+
68
+
69
+ :return: The resource_id of this MonitoredResourceDetails.
70
+ :rtype: str
71
+ """
72
+ return self._resource_id
73
+
74
+ @resource_id.setter
75
+ def resource_id(self, resource_id):
76
+ """
77
+ Sets the resource_id of this MonitoredResourceDetails.
78
+ The `OCID`__ of monitored resource
79
+ part of the Maintenance window.
80
+
81
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
82
+
83
+
84
+ :param resource_id: The resource_id of this MonitoredResourceDetails.
85
+ :type: str
86
+ """
87
+ self._resource_id = resource_id
88
+
89
+ @property
90
+ def name(self):
91
+ """
92
+ **[Required]** Gets the name of this MonitoredResourceDetails.
93
+ Name of the monitored resource
94
+
95
+
96
+ :return: The name of this MonitoredResourceDetails.
97
+ :rtype: str
98
+ """
99
+ return self._name
100
+
101
+ @name.setter
102
+ def name(self, name):
103
+ """
104
+ Sets the name of this MonitoredResourceDetails.
105
+ Name of the monitored resource
106
+
107
+
108
+ :param name: The name of this MonitoredResourceDetails.
109
+ :type: str
110
+ """
111
+ self._name = name
112
+
113
+ @property
114
+ def type(self):
115
+ """
116
+ **[Required]** Gets the type of this MonitoredResourceDetails.
117
+ Type of the monitored resource
118
+
119
+
120
+ :return: The type of this MonitoredResourceDetails.
121
+ :rtype: str
122
+ """
123
+ return self._type
124
+
125
+ @type.setter
126
+ def type(self, type):
127
+ """
128
+ Sets the type of this MonitoredResourceDetails.
129
+ Type of the monitored resource
130
+
131
+
132
+ :param type: The type of this MonitoredResourceDetails.
133
+ :type: str
134
+ """
135
+ self._type = type
136
+
137
+ @property
138
+ def number_of_members(self):
139
+ """
140
+ Gets the number_of_members of this MonitoredResourceDetails.
141
+ Number of members of the resource
142
+
143
+
144
+ :return: The number_of_members of this MonitoredResourceDetails.
145
+ :rtype: int
146
+ """
147
+ return self._number_of_members
148
+
149
+ @number_of_members.setter
150
+ def number_of_members(self, number_of_members):
151
+ """
152
+ Sets the number_of_members of this MonitoredResourceDetails.
153
+ Number of members of the resource
154
+
155
+
156
+ :param number_of_members: The number_of_members of this MonitoredResourceDetails.
157
+ :type: int
158
+ """
159
+ self._number_of_members = number_of_members
160
+
161
+ def __repr__(self):
162
+ return formatted_flat_dict(self)
163
+
164
+ def __eq__(self, other):
165
+ if other is None:
166
+ return False
167
+
168
+ return self.__dict__ == other.__dict__
169
+
170
+ def __ne__(self, other):
171
+ return not self == other