ruạṛ
a ���fM/ � @ 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 @ s4 e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zd"d#� Zd$d%� Zd&d'� Zd(S ))�ResourceStatisticsz6 Contains resource statistics with usage unit c K sx ddddddddddd� | _ ddddd d ddd dd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )a~ Initializes a new ResourceStatistics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param usage: The value to assign to the usage property of this ResourceStatistics. :type usage: float :param capacity: The value to assign to the capacity property of this ResourceStatistics. :type capacity: float :param base_capacity: The value to assign to the base_capacity property of this ResourceStatistics. :type base_capacity: float :param is_auto_scaling_enabled: The value to assign to the is_auto_scaling_enabled property of this ResourceStatistics. :type is_auto_scaling_enabled: bool :param utilization_percent: The value to assign to the utilization_percent property of this ResourceStatistics. :type utilization_percent: float :param usage_change_percent: The value to assign to the usage_change_percent property of this ResourceStatistics. :type usage_change_percent: float :param instance_metrics: The value to assign to the instance_metrics property of this ResourceStatistics. :type instance_metrics: list[oci.opsi.models.InstanceMetrics] :param total_host_capacity: The value to assign to the total_host_capacity property of this ResourceStatistics. :type total_host_capacity: float :param is_heat_wave_cluster_attached: The value to assign to the is_heat_wave_cluster_attached property of this ResourceStatistics. :type is_heat_wave_cluster_attached: bool :param is_highly_available: The value to assign to the is_highly_available property of this ResourceStatistics. :type is_highly_available: bool �float�boolzlist[InstanceMetrics]) �usage�capacity� base_capacity�is_auto_scaling_enabled�utilization_percent�usage_change_percent�instance_metrics�total_host_capacity�is_heat_wave_cluster_attached�is_highly_availabler r ZbaseCapacityZisAutoScalingEnabledZutilizationPercentZusageChangePercentZinstanceMetricsZtotalHostCapacityZisHeatWaveClusterAttachedZisHighlyAvailableN)Z swagger_typesZ attribute_map�_usage� _capacity�_base_capacity�_is_auto_scaling_enabled�_utilization_percent�_usage_change_percent�_instance_metrics�_total_host_capacity�_is_heat_wave_cluster_attached�_is_highly_available)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/opsi/models/resource_statistics.py�__init__ s@ /�� zResourceStatistics.__init__c C s | j S )z� **[Required]** Gets the usage of this ResourceStatistics. Total amount used of the resource metric type (CPU, STORAGE). :return: The usage of this ResourceStatistics. :rtype: float �r �r r r r r e s zResourceStatistics.usagec C s || _ dS )z� Sets the usage of this ResourceStatistics. Total amount used of the resource metric type (CPU, STORAGE). :param usage: The usage of this ResourceStatistics. :type: float Nr"