ruạṛ
a ���f�O � @ 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 Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zd:d;� Zd<d=� Z d>d?� Z!d@S )A�ScheduledTaskSummaryz5 Summary information about a scheduled task. �SAVED_SEARCH�ACCELERATION�PURGE�READY�PAUSED� COMPLETED�BLOCKED�FAILED� SUCCEEDEDc K s� dddddddddddddddd�| _ dddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new ScheduledTaskSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this ScheduledTaskSummary. :type id: str :param task_type: The value to assign to the task_type property of this ScheduledTaskSummary. Allowed values for this property are: "SAVED_SEARCH", "ACCELERATION", "PURGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type task_type: str :param target_service: The value to assign to the target_service property of this ScheduledTaskSummary. :type target_service: str :param compartment_id: The value to assign to the compartment_id property of this ScheduledTaskSummary. :type compartment_id: str :param time_created: The value to assign to the time_created property of this ScheduledTaskSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ScheduledTaskSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this ScheduledTaskSummary. :type lifecycle_state: str :param task_status: The value to assign to the task_status property of this ScheduledTaskSummary. Allowed values for this property are: "READY", "PAUSED", "COMPLETED", "BLOCKED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type task_status: str :param pause_reason: The value to assign to the pause_reason property of this ScheduledTaskSummary. :type pause_reason: str :param work_request_id: The value to assign to the work_request_id property of this ScheduledTaskSummary. :type work_request_id: str :param display_name: The value to assign to the display_name property of this ScheduledTaskSummary. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this ScheduledTaskSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ScheduledTaskSummary. :type defined_tags: dict(str, dict(str, object)) :param last_execution_status: The value to assign to the last_execution_status property of this ScheduledTaskSummary. Allowed values for this property are: "FAILED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type last_execution_status: str :param time_last_executed: The value to assign to the time_last_executed property of this ScheduledTaskSummary. :type time_last_executed: datetime �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�id� task_type�target_service�compartment_id�time_created�time_updated�lifecycle_state�task_status�pause_reason�work_request_id�display_name� freeform_tags�defined_tags�last_execution_status�time_last_executedr ZtaskTypeZ targetServiceZ compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZ taskStatusZpauseReasonZ workRequestIdZdisplayNameZfreeformTagsZdefinedTagsZlastExecutionStatusZtimeLastExecutedN)Z swagger_typesZ attribute_map�_id� _task_type�_target_service�_compartment_id� _time_created� _time_updated�_lifecycle_state�_task_status� _pause_reason�_work_request_id� _display_name�_freeform_tags� _defined_tags�_last_execution_status�_time_last_executed)�self�kwargs� r1 �S/usr/lib/python3.9/site-packages/oci/log_analytics/models/scheduled_task_summary.py�__init__6 s^ I��zScheduledTaskSummary.__init__c C s | j S )a **[Required]** Gets the id of this ScheduledTaskSummary. The `OCID`__ of the data plane resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this ScheduledTaskSummary. :rtype: str �r �r/ r1 r1 r2 r � s zScheduledTaskSummary.idc C s || _ dS )a Sets the id of this ScheduledTaskSummary. The `OCID`__ of the data plane resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this ScheduledTaskSummary. :type: str Nr4 )r/ r r1 r1 r2 r � s c C s | j S )a� **[Required]** Gets the task_type of this ScheduledTaskSummary. Task type. Allowed values for this property are: "SAVED_SEARCH", "ACCELERATION", "PURGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The task_type of this ScheduledTaskSummary. :rtype: str )r! r5 r1 r1 r2 r � s zScheduledTaskSummary.task_typec C s g d�}t ||�sd}|| _dS )z� Sets the task_type of this ScheduledTaskSummary. Task type. :param task_type: The task_type of this ScheduledTaskSummary. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r! )r/ r �allowed_valuesr1 r1 r2 r � s c C s | j S )z� Gets the target_service of this ScheduledTaskSummary. Target Service :return: The target_service of this ScheduledTaskSummary. :rtype: str �r"