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 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� �Zdd� Zdd� Zdd� ZdS )�ScheduledRunz! The saved schedule run. �FAILED� SUCCEEDEDc K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new ScheduledRun 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 ScheduledRun. :type id: str :param schedule_id: The value to assign to the schedule_id property of this ScheduledRun. :type schedule_id: str :param time_created: The value to assign to the time_created property of this ScheduledRun. :type time_created: datetime :param time_finished: The value to assign to the time_finished property of this ScheduledRun. :type time_finished: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this ScheduledRun. 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 lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ScheduledRun. :type lifecycle_details: str �strZdatetime)�id�schedule_id�time_created� time_finished�lifecycle_state�lifecycle_detailsr Z scheduleIdZtimeCreatedZtimeFinishedZlifecycleStateZlifecycleDetailsN)Z swagger_typesZ attribute_map�_id�_schedule_id� _time_created�_time_finished�_lifecycle_state�_lifecycle_details)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/usage_api/models/scheduled_run.py�__init__ s( !� � zScheduledRun.__init__c C s | j S )z� **[Required]** Gets the id of this ScheduledRun. The ocid representing unique shedule run :return: The id of this ScheduledRun. :rtype: str �r �r r r r r S s zScheduledRun.idc C s || _ dS )z� Sets the id of this ScheduledRun. The ocid representing unique shedule run :param id: The id of this ScheduledRun. :type: str Nr )r r r r r r _ s c C s | j S )z� **[Required]** Gets the schedule_id of this ScheduledRun. The ocid representing unique shedule :return: The schedule_id of this ScheduledRun. :rtype: str �r r r r r r k s zScheduledRun.schedule_idc C s || _ dS )z� Sets the schedule_id of this ScheduledRun. The ocid representing unique shedule :param schedule_id: The schedule_id of this ScheduledRun. :type: str Nr )r r r r r r w s c C s | j S )z� **[Required]** Gets the time_created of this ScheduledRun. The time when schedule started executing :return: The time_created of this ScheduledRun. :rtype: datetime �r r r r r r � s zScheduledRun.time_createdc C s || _ dS )z� Sets the time_created of this ScheduledRun. The time when schedule started executing :param time_created: The time_created of this ScheduledRun. :type: datetime Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the time_finished of this ScheduledRun. The time when schedule finished executing :return: The time_finished of this ScheduledRun. :rtype: datetime �r r r r r r � s zScheduledRun.time_finishedc C s || _ dS )z� Sets the time_finished of this ScheduledRun. The time when schedule finished executing :param time_finished: The time_finished of this ScheduledRun. :type: datetime Nr )r r r r r r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this ScheduledRun. Specifies if the schedule job was run successfully or not. 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'. :return: The lifecycle_state of this ScheduledRun. :rtype: str )r r r r r r � s zScheduledRun.lifecycle_statec C s ddg}t ||�sd}|| _dS )z� Sets the lifecycle_state of this ScheduledRun. Specifies if the schedule job was run successfully or not. :param lifecycle_state: The lifecycle_state of this ScheduledRun. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� **[Required]** Gets the lifecycle_details of this ScheduledRun. Additional details about scheduled run failure :return: The lifecycle_details of this ScheduledRun. :rtype: str �r r r r r r � s zScheduledRun.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this ScheduledRun. Additional details about scheduled run failure :param lifecycle_details: The lifecycle_details of this ScheduledRun. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zScheduledRun.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zScheduledRun.__eq__c C s | |k S r! r r$ r r r �__ne__� s zScheduledRun.__ne__N)�__name__� __module__�__qualname__�__doc__ZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_SUCCEEDEDr �propertyr �setterr r r r r r"