ruạṛ
a ���f8 � @ 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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zd/d0� Zd1d2� Zd3d4� Zd5S )6�AddmTaskSummaryz7 The object containing the ADDM task metadata. �INITIAL� EXECUTING�INTERRUPTED� COMPLETED�ERROR�AUTO�MANUALc K s� ddddddddddddd�| _ ddddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a^ Initializes a new AddmTaskSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param task_name: The value to assign to the task_name property of this AddmTaskSummary. :type task_name: str :param task_id: The value to assign to the task_id property of this AddmTaskSummary. :type task_id: int :param description: The value to assign to the description property of this AddmTaskSummary. :type description: str :param db_user: The value to assign to the db_user property of this AddmTaskSummary. :type db_user: str :param status: The value to assign to the status property of this AddmTaskSummary. Allowed values for this property are: "INITIAL", "EXECUTING", "INTERRUPTED", "COMPLETED", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param time_created: The value to assign to the time_created property of this AddmTaskSummary. :type time_created: datetime :param how_created: The value to assign to the how_created property of this AddmTaskSummary. Allowed values for this property are: "AUTO", "MANUAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type how_created: str :param start_snapshot_time: The value to assign to the start_snapshot_time property of this AddmTaskSummary. :type start_snapshot_time: datetime :param end_snapshot_time: The value to assign to the end_snapshot_time property of this AddmTaskSummary. :type end_snapshot_time: datetime :param begin_snapshot_id: The value to assign to the begin_snapshot_id property of this AddmTaskSummary. :type begin_snapshot_id: int :param end_snapshot_id: The value to assign to the end_snapshot_id property of this AddmTaskSummary. :type end_snapshot_id: int :param findings: The value to assign to the findings property of this AddmTaskSummary. :type findings: int �str�intZdatetime)� task_name�task_id�description�db_user�status�time_created�how_created�start_snapshot_time�end_snapshot_time�begin_snapshot_id�end_snapshot_id�findingsZtaskNameZtaskIdr ZdbUserr ZtimeCreatedZ howCreatedZstartSnapshotTimeZendSnapshotTimeZbeginSnapshotIdZ endSnapshotIdr N)Z swagger_typesZ attribute_map� _task_name�_task_id�_description�_db_user�_status� _time_created�_how_created�_start_snapshot_time�_end_snapshot_time�_begin_snapshot_id�_end_snapshot_id� _findings)�self�kwargs� r* �T/usr/lib/python3.9/site-packages/oci/database_management/models/addm_task_summary.py�__init__. sL ;��zAddmTaskSummary.__init__c C s | j S )z� Gets the task_name of this AddmTaskSummary. The name of the ADDM task. :return: The task_name of this AddmTaskSummary. :rtype: str �r �r( r* r* r+ r � s zAddmTaskSummary.task_namec C s || _ dS )z� Sets the task_name of this AddmTaskSummary. The name of the ADDM task. :param task_name: The task_name of this AddmTaskSummary. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the task_id of this AddmTaskSummary. The ID number of the ADDM task. :return: The task_id of this AddmTaskSummary. :rtype: int �r r. r* r* r+ r � s zAddmTaskSummary.task_idc C s || _ dS )z� Sets the task_id of this AddmTaskSummary. The ID number of the ADDM task. :param task_id: The task_id of this AddmTaskSummary. :type: int Nr/ )r( r r* r* r+ r � s c C s | j S )z� Gets the description of this AddmTaskSummary. The description of the ADDM task. :return: The description of this AddmTaskSummary. :rtype: str �r r. r* r* r+ r � s zAddmTaskSummary.descriptionc C s || _ dS )z� Sets the description of this AddmTaskSummary. The description of the ADDM task. :param description: The description of this AddmTaskSummary. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� Gets the db_user of this AddmTaskSummary. The database user who owns the ADDM task. :return: The db_user of this AddmTaskSummary. :rtype: str �r r. r* r* r+ r � s zAddmTaskSummary.db_userc C s || _ dS )z� Sets the db_user of this AddmTaskSummary. The database user who owns the ADDM task. :param db_user: The db_user of this AddmTaskSummary. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )a� Gets the status of this AddmTaskSummary. The status of the ADDM task. Allowed values for this property are: "INITIAL", "EXECUTING", "INTERRUPTED", "COMPLETED", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this AddmTaskSummary. :rtype: str )r r. r* r* r+ r � s zAddmTaskSummary.statusc C s g d�}t ||�sd}|| _dS )z� Sets the status of this AddmTaskSummary. The status of the ADDM task. :param status: The status of this AddmTaskSummary. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r )r( r �allowed_valuesr* r* r+ r s c C s | j S )z� **[Required]** Gets the time_created of this AddmTaskSummary. The creation date of the ADDM task. :return: The time_created of this AddmTaskSummary. :rtype: datetime �r! r. r* r* r+ r s zAddmTaskSummary.time_createdc C s || _ dS )z� Sets the time_created of this AddmTaskSummary. The creation date of the ADDM task. :param time_created: The time_created of this AddmTaskSummary. :type: datetime Nr4 )r( r r* r* r+ r s c C s | j S )aw Gets the how_created of this AddmTaskSummary. A description of how the task was created. Allowed values for this property are: "AUTO", "MANUAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The how_created of this AddmTaskSummary. :rtype: str )r"