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 @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�PoolMetricsz? A collection of metrics related to a particular pool. c K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new PoolMetrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_last_started: The value to assign to the time_last_started property of this PoolMetrics. :type time_last_started: datetime :param time_last_stopped: The value to assign to the time_last_stopped property of this PoolMetrics. :type time_last_stopped: datetime :param time_last_used: The value to assign to the time_last_used property of this PoolMetrics. :type time_last_used: datetime :param time_last_metrics_updated: The value to assign to the time_last_metrics_updated property of this PoolMetrics. :type time_last_metrics_updated: datetime :param active_runs_count: The value to assign to the active_runs_count property of this PoolMetrics. :type active_runs_count: int :param actively_used_node_count: The value to assign to the actively_used_node_count property of this PoolMetrics. :type actively_used_node_count: list[oci.data_flow.models.NodeCount] Zdatetime�intzlist[NodeCount])�time_last_started�time_last_stopped�time_last_used�time_last_metrics_updated�active_runs_count�actively_used_node_countZtimeLastStartedZtimeLastStoppedZtimeLastUsedZtimeLastMetricsUpdatedZactiveRunsCountZactivelyUsedNodeCountN)Z swagger_typesZ attribute_map�_time_last_started�_time_last_stopped�_time_last_used�_time_last_metrics_updated�_active_runs_count�_actively_used_node_count)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/data_flow/models/pool_metrics.py�__init__ s( � � zPoolMetrics.__init__c C s | j S )z� Gets the time_last_started of this PoolMetrics. The last time this pool was started. :return: The time_last_started of this PoolMetrics. :rtype: datetime �r �r r r r r I s zPoolMetrics.time_last_startedc C s || _ dS )z� Sets the time_last_started of this PoolMetrics. The last time this pool was started. :param time_last_started: The time_last_started of this PoolMetrics. :type: datetime Nr )r r r r r r U s c C s | j S )z� Gets the time_last_stopped of this PoolMetrics. The last time this pool was stopped. :return: The time_last_stopped of this PoolMetrics. :rtype: datetime �r r r r r r a s zPoolMetrics.time_last_stoppedc C s || _ dS )z� Sets the time_last_stopped of this PoolMetrics. The last time this pool was stopped. :param time_last_stopped: The time_last_stopped of this PoolMetrics. :type: datetime Nr )r r r r r r m s c C s | j S )z� Gets the time_last_used of this PoolMetrics. The last time a run used this pool. :return: The time_last_used of this PoolMetrics. :rtype: datetime �r r r r r r y s zPoolMetrics.time_last_usedc C s || _ dS )z� Sets the time_last_used of this PoolMetrics. The last time a run used this pool. :param time_last_used: The time_last_used of this PoolMetrics. :type: datetime Nr )r r r r r r � s c C s | j S )z� Gets the time_last_metrics_updated of this PoolMetrics. The last time the mertics were updated for this. :return: The time_last_metrics_updated of this PoolMetrics. :rtype: datetime �r r r r r r � s z%PoolMetrics.time_last_metrics_updatedc C s || _ dS )z� Sets the time_last_metrics_updated of this PoolMetrics. The last time the mertics were updated for this. :param time_last_metrics_updated: The time_last_metrics_updated of this PoolMetrics. :type: datetime Nr )r r r r r r � s c C s | j S )z� Gets the active_runs_count of this PoolMetrics. The number of runs that are currently running that are using this pool. :return: The active_runs_count of this PoolMetrics. :rtype: int �r r r r r r � s zPoolMetrics.active_runs_countc C s || _ dS )z� Sets the active_runs_count of this PoolMetrics. The number of runs that are currently running that are using this pool. :param active_runs_count: The active_runs_count of this PoolMetrics. :type: int Nr )r r r r r r � s c C s | j S )a Gets the actively_used_node_count of this PoolMetrics. A count of the nodes that are currently being used for each shape in this pool. :return: The actively_used_node_count of this PoolMetrics. :rtype: list[oci.data_flow.models.NodeCount] �r r r r r r � s z$PoolMetrics.actively_used_node_countc C s || _ dS )a1 Sets the actively_used_node_count of this PoolMetrics. A count of the nodes that are currently being used for each shape in this pool. :param actively_used_node_count: The actively_used_node_count of this PoolMetrics. :type: list[oci.data_flow.models.NodeCount] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zPoolMetrics.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPoolMetrics.__eq__c C s | |k S r r r# r r r �__ne__� s zPoolMetrics.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r! r% r&