ruạṛ
a ���f�m � @ 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 ZdZ dZd ZdZdZdZdZdZdd� 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.� �Z e jd/d.� �Z ed0d1� �Z!e!jd2d1� �Z!ed3d4� �Z"e"jd5d4� �Z"ed6d7� �Z#e#jd8d7� �Z#ed9d:� �Z$e$jd;d:� �Z$ed<d=� �Z%e%jd>d=� �Z%ed?d@� �Z&e&jdAd@� �Z&edBdC� �Z'e'jdDdC� �Z'edEdF� �Z(e(jdGdF� �Z(edHdI� �Z)e)jdJdI� �Z)edKdL� �Z*e*jdMdL� �Z*edNdO� �Z+e+jdPdO� �Z+dQdR� Z,dSdT� Z-dUdV� Z.dWS )X�ExecutionWindowz) Details of an execution window. �CREATED� SCHEDULED�IN_PROGRESS�FAILED�CANCELED�UPDATING�DELETED� SUCCEEDED�PARTIAL_SUCCESS�CREATING�DELETING�DURATION_EXCEEDED�MAINTENANCE_IN_PROGRESS�WAITING�RESCHEDULED�PLANNED� UNPLANNEDc K s� ddddddddddddddddddddd�| _ dd d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _dS )a* Initializes a new ExecutionWindow 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 ExecutionWindow. :type id: str :param execution_resource_id: The value to assign to the execution_resource_id property of this ExecutionWindow. :type execution_resource_id: str :param compartment_id: The value to assign to the compartment_id property of this ExecutionWindow. :type compartment_id: str :param display_name: The value to assign to the display_name property of this ExecutionWindow. :type display_name: str :param description: The value to assign to the description property of this ExecutionWindow. :type description: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ExecutionWindow. Allowed values for this property are: "CREATED", "SCHEDULED", "IN_PROGRESS", "FAILED", "CANCELED", "UPDATING", "DELETED", "SUCCEEDED", "PARTIAL_SUCCESS", "CREATING", "DELETING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_substate: The value to assign to the lifecycle_substate property of this ExecutionWindow. Allowed values for this property are: "DURATION_EXCEEDED", "MAINTENANCE_IN_PROGRESS", "WAITING", "RESCHEDULED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_substate: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ExecutionWindow. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this ExecutionWindow. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ExecutionWindow. :type time_updated: datetime :param time_started: The value to assign to the time_started property of this ExecutionWindow. :type time_started: datetime :param time_ended: The value to assign to the time_ended property of this ExecutionWindow. :type time_ended: datetime :param time_scheduled: The value to assign to the time_scheduled property of this ExecutionWindow. :type time_scheduled: datetime :param window_duration_in_mins: The value to assign to the window_duration_in_mins property of this ExecutionWindow. :type window_duration_in_mins: int :param is_enforced_duration: The value to assign to the is_enforced_duration property of this ExecutionWindow. :type is_enforced_duration: bool :param estimated_time_in_mins: The value to assign to the estimated_time_in_mins property of this ExecutionWindow. :type estimated_time_in_mins: int :param total_time_taken_in_mins: The value to assign to the total_time_taken_in_mins property of this ExecutionWindow. :type total_time_taken_in_mins: int :param window_type: The value to assign to the window_type property of this ExecutionWindow. Allowed values for this property are: "PLANNED", "UNPLANNED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type window_type: str :param freeform_tags: The value to assign to the freeform_tags property of this ExecutionWindow. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ExecutionWindow. :type defined_tags: dict(str, dict(str, object)) �strZdatetime�int�boolzdict(str, str)zdict(str, dict(str, object)))�id�execution_resource_id�compartment_id�display_name�description�lifecycle_state�lifecycle_substate�lifecycle_details�time_created�time_updated�time_started� time_ended�time_scheduled�window_duration_in_mins�is_enforced_duration�estimated_time_in_mins�total_time_taken_in_mins�window_type� freeform_tags�defined_tagsr ZexecutionResourceIdZ compartmentIdZdisplayNamer ZlifecycleStateZlifecycleSubstateZlifecycleDetailsZtimeCreatedZtimeUpdatedZtimeStartedZ timeEndedZ timeScheduledZwindowDurationInMinsZisEnforcedDurationZestimatedTimeInMinsZtotalTimeTakenInMinsZ windowTypeZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_execution_resource_id�_compartment_id� _display_name�_description�_lifecycle_state�_lifecycle_substate�_lifecycle_details� _time_created� _time_updated� _time_started�_time_ended�_time_scheduled�_window_duration_in_mins�_is_enforced_duration�_estimated_time_in_mins�_total_time_taken_in_mins�_window_type�_freeform_tags� _defined_tags)�self�kwargs� rE �H/usr/lib/python3.9/site-packages/oci/database/models/execution_window.py�__init__V s| ]��zExecutionWindow.__init__c C s | j S )a **[Required]** Gets the id of this ExecutionWindow. The `OCID`__ of the execution window. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this ExecutionWindow. :rtype: str �r/ �rC rE rE rF r � s zExecutionWindow.idc C s || _ dS )z� Sets the id of this ExecutionWindow. The `OCID`__ of the execution window. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this ExecutionWindow. :type: str NrH )rC r rE rE rF r s c C s | j S )aU **[Required]** Gets the execution_resource_id of this ExecutionWindow. The `OCID`__ of the execution resource the execution window belongs to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The execution_resource_id of this ExecutionWindow. :rtype: str �r0 rI rE rE rF r s z%ExecutionWindow.execution_resource_idc C s || _ dS )aZ Sets the execution_resource_id of this ExecutionWindow. The `OCID`__ of the execution resource the execution window belongs to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param execution_resource_id: The execution_resource_id of this ExecutionWindow. :type: str NrJ )rC r rE rE rF r s c C s | j S )a **[Required]** Gets the compartment_id of this ExecutionWindow. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ExecutionWindow. :rtype: str �r1 rI rE rE rF r - s zExecutionWindow.compartment_idc C s || _ dS )a Sets the compartment_id of this ExecutionWindow. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ExecutionWindow. :type: str NrK )rC r rE rE rF r ; s c C s | j S )z� **[Required]** Gets the display_name of this ExecutionWindow. The user-friendly name for the execution window. The name does not need to be unique. :return: The display_name of this ExecutionWindow. :rtype: str �r2 rI rE rE rF r I s zExecutionWindow.display_namec C s || _ dS )z� Sets the display_name of this ExecutionWindow. The user-friendly name for the execution window. The name does not need to be unique. :param display_name: The display_name of this ExecutionWindow. :type: str NrL )rC r rE rE rF r U s c C s | j S )z� Gets the description of this ExecutionWindow. Description of the execution window. :return: The description of this ExecutionWindow. :rtype: str �r3 rI rE rE rF r a s zExecutionWindow.descriptionc C s || _ dS )z� Sets the description of this ExecutionWindow. Description of the execution window. :param description: The description of this ExecutionWindow. :type: str NrM )rC r rE rE rF r m s c C s | j S )a� **[Required]** Gets the lifecycle_state of this ExecutionWindow. The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS. Allowed values for this property are: "CREATED", "SCHEDULED", "IN_PROGRESS", "FAILED", "CANCELED", "UPDATING", "DELETED", "SUCCEEDED", "PARTIAL_SUCCESS", "CREATING", "DELETING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this ExecutionWindow. :rtype: str )r4 rI rE rE rF r y s zExecutionWindow.lifecycle_statec C s g d�}t ||�sd}|| _dS )aU Sets the lifecycle_state of this ExecutionWindow. The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS. :param lifecycle_state: The lifecycle_state of this ExecutionWindow. :type: str )r r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r4 )rC r �allowed_valuesrE rE rF r � s c C s | j S )a Gets the lifecycle_substate of this ExecutionWindow. The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING. Allowed values for this property are: "DURATION_EXCEEDED", "MAINTENANCE_IN_PROGRESS", "WAITING", "RESCHEDULED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_substate of this ExecutionWindow. :rtype: str )r5 rI rE rE rF r! � s z"ExecutionWindow.lifecycle_substatec C s g d�}t ||�sd}|| _dS )a. Sets the lifecycle_substate of this ExecutionWindow. The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING. :param lifecycle_substate: The lifecycle_substate of this ExecutionWindow. :type: str )r r r r rN N)r r5 )rC r! rO rE rE rF r! � s c C s | j S )z� Gets the lifecycle_details of this ExecutionWindow. Additional information about the current lifecycle state. :return: The lifecycle_details of this ExecutionWindow. :rtype: str �r6 rI rE rE rF r"