ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�FleetSummaryz� A summary of the inventory count grouped by database type and subtype, and the metrics that describe the aggregated usage of CPU, storage, and so on of all the databases in the fleet. c K s( ddd�| _ ddd�| _d| _d| _dS )ah Initializes a new FleetSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param aggregated_metrics: The value to assign to the aggregated_metrics property of this FleetSummary. :type aggregated_metrics: list[oci.database_management.models.FleetMetricSummaryDefinition] :param inventory: The value to assign to the inventory property of this FleetSummary. :type inventory: list[oci.database_management.models.FleetStatusByCategory] z"list[FleetMetricSummaryDefinition]zlist[FleetStatusByCategory])�aggregated_metrics� inventoryZaggregatedMetricsr N)Z swagger_typesZ attribute_map�_aggregated_metrics� _inventory)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/database_management/models/fleet_summary.py�__init__ s ��zFleetSummary.__init__c C s | j S )a Gets the aggregated_metrics of this FleetSummary. A list of databases present in the fleet and their usage metrics. :return: The aggregated_metrics of this FleetSummary. :rtype: list[oci.database_management.models.FleetMetricSummaryDefinition] �r �r r r r r . s zFleetSummary.aggregated_metricsc C s || _ dS )a0 Sets the aggregated_metrics of this FleetSummary. A list of databases present in the fleet and their usage metrics. :param aggregated_metrics: The aggregated_metrics of this FleetSummary. :type: list[oci.database_management.models.FleetMetricSummaryDefinition] Nr )r r r r r r : s c C s | j S )a Gets the inventory of this FleetSummary. A list of the databases in the fleet, grouped by database type and subtype. :return: The inventory of this FleetSummary. :rtype: list[oci.database_management.models.FleetStatusByCategory] �r r r r r r F s zFleetSummary.inventoryc C s || _ dS )a Sets the inventory of this FleetSummary. A list of the databases in the fleet, grouped by database type and subtype. :param inventory: The inventory of this FleetSummary. :type: list[oci.database_management.models.FleetStatusByCategory] Nr )r r r r r r R s c C s t | �S �N)r r r r r �__repr__^ s zFleetSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__a s zFleetSummary.__eq__c C s | |k S r r r r r r �__ne__g s zFleetSummary.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn