ruạṛ
a N��f�6 � @ 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 @ sV e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej d d� �Zed!d"� �Zej d#d"� �Zed$d%� �Zej d&d%� �Zd'd(� Zd)d*� Zd+d,� Zd-S ).�/OptimizerStatisticsCollectionAggregationSummaryz~ The summary of the Optimizer Statistics Collection, which includes the aggregated number of tasks grouped by status. �TASK_STATUS�TASK_OBJECTS_STATUSc K s� dddddddddddd�| _ ddddd d ddd ddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new OptimizerStatisticsCollectionAggregationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param group_by: The value to assign to the group_by property of this OptimizerStatisticsCollectionAggregationSummary. Allowed values for this property are: "TASK_STATUS", "TASK_OBJECTS_STATUS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type group_by: str :param time_start: The value to assign to the time_start property of this OptimizerStatisticsCollectionAggregationSummary. :type time_start: datetime :param time_end: The value to assign to the time_end property of this OptimizerStatisticsCollectionAggregationSummary. :type time_end: datetime :param pending: The value to assign to the pending property of this OptimizerStatisticsCollectionAggregationSummary. :type pending: int :param in_progress: The value to assign to the in_progress property of this OptimizerStatisticsCollectionAggregationSummary. :type in_progress: int :param completed: The value to assign to the completed property of this OptimizerStatisticsCollectionAggregationSummary. :type completed: int :param failed: The value to assign to the failed property of this OptimizerStatisticsCollectionAggregationSummary. :type failed: int :param skipped: The value to assign to the skipped property of this OptimizerStatisticsCollectionAggregationSummary. :type skipped: int :param timed_out: The value to assign to the timed_out property of this OptimizerStatisticsCollectionAggregationSummary. :type timed_out: int :param unknown: The value to assign to the unknown property of this OptimizerStatisticsCollectionAggregationSummary. :type unknown: int :param total: The value to assign to the total property of this OptimizerStatisticsCollectionAggregationSummary. :type total: int �str�datetime�int)�group_by� time_start�time_end�pending�in_progress� completed�failed�skipped� timed_out�unknown�total�groupBy� timeStart�timeEndr � inProgressr r r �timedOutr r N) � swagger_types� attribute_map� _group_by�_time_start� _time_end�_pending�_in_progress� _completed�_failed�_skipped� _timed_out�_unknown�_total)�self�kwargs� r+ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/optimizer_statistics_collection_aggregation_summary.py�__init__ sF 5��z8OptimizerStatisticsCollectionAggregationSummary.__init__c C s | j S )a� Gets the group_by of this OptimizerStatisticsCollectionAggregationSummary. The optimizer statistics tasks grouped by type. Allowed values for this property are: "TASK_STATUS", "TASK_OBJECTS_STATUS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The group_by of this OptimizerStatisticsCollectionAggregationSummary. :rtype: str )r �r) r+ r+ r, r t s z8OptimizerStatisticsCollectionAggregationSummary.group_byc C s ddg}t ||�sd}|| _dS )a Sets the group_by of this OptimizerStatisticsCollectionAggregationSummary. The optimizer statistics tasks grouped by type. :param group_by: The group_by of this OptimizerStatisticsCollectionAggregationSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r) r �allowed_valuesr+ r+ r, r � s c C s | j S )a4 **[Required]** Gets the time_start of this OptimizerStatisticsCollectionAggregationSummary. Indicates the start of the hour as the statistics are aggregated per hour. :return: The time_start of this OptimizerStatisticsCollectionAggregationSummary. :rtype: datetime �r r. r+ r+ r, r � s z:OptimizerStatisticsCollectionAggregationSummary.time_startc C s || _ dS )a. Sets the time_start of this OptimizerStatisticsCollectionAggregationSummary. Indicates the start of the hour as the statistics are aggregated per hour. :param time_start: The time_start of this OptimizerStatisticsCollectionAggregationSummary. :type: datetime Nr1 )r) r r+ r+ r, r � s c C s | j S )a Gets the time_end of this OptimizerStatisticsCollectionAggregationSummary. Indicates the end of the hour as the statistics are aggregated per hour. :return: The time_end of this OptimizerStatisticsCollectionAggregationSummary. :rtype: datetime �r r. r+ r+ r, r � s z8OptimizerStatisticsCollectionAggregationSummary.time_endc C s || _ dS )a& Sets the time_end of this OptimizerStatisticsCollectionAggregationSummary. Indicates the end of the hour as the statistics are aggregated per hour. :param time_end: The time_end of this OptimizerStatisticsCollectionAggregationSummary. :type: datetime Nr2 )r) r r+ r+ r, r � s c C s | j S )a Gets the pending of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics are yet to be gathered. :return: The pending of this OptimizerStatisticsCollectionAggregationSummary. :rtype: int �r! r. r+ r+ r, r � s z7OptimizerStatisticsCollectionAggregationSummary.pendingc C s || _ dS )a! Sets the pending of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics are yet to be gathered. :param pending: The pending of this OptimizerStatisticsCollectionAggregationSummary. :type: int Nr3 )r) r r+ r+ r, r � s c C s | j S )a% Gets the in_progress of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics gathering is in progress. :return: The in_progress of this OptimizerStatisticsCollectionAggregationSummary. :rtype: int �r"