ruạṛ
a ���f.Q � @ 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 ZdZdZdZdd� Zedd� �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&dBdC� Z'dDdE� Z(dFdG� Z)dHS )I�FsuJobz, Exadata Fleet Update Job resource. �STAGE�PRECHECK�APPLY�ROLLBACK_AND_REMOVE_TARGET�CLEANUP�ACCEPTED�IN_PROGRESS�UNKNOWN� TERMINATED�FAILED�NEEDS_ATTENTION� SUCCEEDED�WAITING� CANCELING�CANCELEDc K s� dddddddddddddddd�| _ ddd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )ac Initializes a new FsuJob object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.fleet_software_update.models.ApplyFsuJob` * :class:`~oci.fleet_software_update.models.StageFsuJob` * :class:`~oci.fleet_software_update.models.PrecheckFsuJob` * :class:`~oci.fleet_software_update.models.RollbackFsuJob` * :class:`~oci.fleet_software_update.models.CleanupFsuJob` 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 FsuJob. :type id: str :param display_name: The value to assign to the display_name property of this FsuJob. :type display_name: str :param type: The value to assign to the type property of this FsuJob. Allowed values for this property are: "STAGE", "PRECHECK", "APPLY", "ROLLBACK_AND_REMOVE_TARGET", "CLEANUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param compartment_id: The value to assign to the compartment_id property of this FsuJob. :type compartment_id: str :param fsu_action_id: The value to assign to the fsu_action_id property of this FsuJob. :type fsu_action_id: str :param progress: The value to assign to the progress property of this FsuJob. :type progress: oci.fleet_software_update.models.JobProgressDetails :param time_created: The value to assign to the time_created property of this FsuJob. :type time_created: datetime :param time_started: The value to assign to the time_started property of this FsuJob. :type time_started: datetime :param time_updated: The value to assign to the time_updated property of this FsuJob. :type time_updated: datetime :param time_finished: The value to assign to the time_finished property of this FsuJob. :type time_finished: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this FsuJob. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "UNKNOWN", "TERMINATED", "FAILED", "NEEDS_ATTENTION", "SUCCEEDED", "WAITING", "CANCELING", "CANCELED", '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 FsuJob. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this FsuJob. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this FsuJob. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this FsuJob. :type system_tags: dict(str, dict(str, object)) �strZJobProgressDetailsZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�type�compartment_id� fsu_action_id�progress�time_created�time_started�time_updated� time_finished�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr ZdisplayNamer Z compartmentIdZfsuActionIdr ZtimeCreatedZtimeStartedZtimeUpdatedZtimeFinishedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_type�_compartment_id�_fsu_action_id� _progress� _time_created� _time_started� _time_updated�_time_finished�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r7 �L/usr/lib/python3.9/site-packages/oci/fleet_software_update/models/fsu_job.py�__init__N s^ O��zFsuJob.__init__c C sL | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS dS d S )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZApplyFsuJobr ZStageFsuJobr ZPrecheckFsuJobr ZRollbackFsuJobr Z CleanupFsuJobr Nr7 )Zobject_dictionaryr r7 r7 r8 �get_subtype� s zFsuJob.get_subtypec C s | j S )z� **[Required]** Gets the id of this FsuJob. OCID identifier for the Exadata Fleet Update Job. :return: The id of this FsuJob. :rtype: str �r&