ruạṛ
a ���f ( � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� FsuAction� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�RollbackActionz� Rollback Exadata Fleet Update Action details. This would rollback the specified targets to the source version before patching and remove them from the Collection. c K s� ddddddddddddddddddd�| _ d d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new RollbackAction object with values from keyword arguments. The default value of the :py:attr:`~oci.fleet_software_update.models.RollbackAction.type` attribute of this class is ``ROLLBACK_AND_REMOVE_TARGET`` and it should not be changed. 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 RollbackAction. :type id: str :param display_name: The value to assign to the display_name property of this RollbackAction. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this RollbackAction. :type compartment_id: str :param type: The value to assign to the type property of this RollbackAction. Allowed values for this property are: "STAGE", "PRECHECK", "APPLY", "ROLLBACK_AND_REMOVE_TARGET", "CLEANUP" :type type: str :param time_created: The value to assign to the time_created property of this RollbackAction. :type time_created: datetime :param time_started: The value to assign to the time_started property of this RollbackAction. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this RollbackAction. :type time_finished: datetime :param time_updated: The value to assign to the time_updated property of this RollbackAction. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this RollbackAction. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "UPDATING", "FAILED", "NEEDS_ATTENTION", "SUCCEEDED", "CANCELING", "CANCELED", "UNKNOWN", "DELETING", "DELETED" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this RollbackAction. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this RollbackAction. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this RollbackAction. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this RollbackAction. :type system_tags: dict(str, dict(str, object)) :param fsu_cycle_id: The value to assign to the fsu_cycle_id property of this RollbackAction. :type fsu_cycle_id: str :param related_fsu_action_id: The value to assign to the related_fsu_action_id property of this RollbackAction. :type related_fsu_action_id: str :param schedule_details: The value to assign to the schedule_details property of this RollbackAction. :type schedule_details: oci.fleet_software_update.models.ScheduleDetails :param progress: The value to assign to the progress property of this RollbackAction. :type progress: oci.fleet_software_update.models.FsuActionProgressDetails :param details: The value to assign to the details property of this RollbackAction. :type details: oci.fleet_software_update.models.RollbackDetails �strZdatetimezdict(str, str)zdict(str, dict(str, object))ZScheduleDetailsZFsuActionProgressDetailsZRollbackDetails)�idZdisplay_nameZcompartment_id�typeZtime_createdZtime_startedZ time_finishedZtime_updatedZlifecycle_stateZlifecycle_detailsZ freeform_tagsZdefined_tagsZsystem_tags�fsu_cycle_id�related_fsu_action_id�schedule_details�progress�detailsr ZdisplayNameZ compartmentIdr ZtimeCreatedZtimeStartedZtimeFinishedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsZ fsuCycleIdZrelatedFsuActionIdZscheduleDetailsr r NZROLLBACK_AND_REMOVE_TARGET)Z swagger_typesZ attribute_mapZ_idZ _display_nameZ_compartment_idZ_typeZ _time_createdZ _time_startedZ_time_finishedZ _time_updatedZ_lifecycle_stateZ_lifecycle_detailsZ_freeform_tagsZ _defined_tagsZ_system_tags� _fsu_cycle_id�_related_fsu_action_id�_schedule_details� _progress�_details)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/fleet_software_update/models/rollback_action.py�__init__ sr R��zRollbackAction.__init__c C s | j S )z� **[Required]** Gets the fsu_cycle_id of this RollbackAction. OCID identifier for the Exadata Fleet Update Cycle the Action will be part of. :return: The fsu_cycle_id of this RollbackAction. :rtype: str �r �r r r r r � s zRollbackAction.fsu_cycle_idc C s || _ dS )z� Sets the fsu_cycle_id of this RollbackAction. OCID identifier for the Exadata Fleet Update Cycle the Action will be part of. :param fsu_cycle_id: The fsu_cycle_id of this RollbackAction. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the related_fsu_action_id of this RollbackAction. OCID identifier for the Exadata Fleet Update Action. :return: The related_fsu_action_id of this RollbackAction. :rtype: str �r r r r r r � s z$RollbackAction.related_fsu_action_idc C s || _ dS )z� Sets the related_fsu_action_id of this RollbackAction. OCID identifier for the Exadata Fleet Update Action. :param related_fsu_action_id: The related_fsu_action_id of this RollbackAction. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the schedule_details of this RollbackAction. :return: The schedule_details of this RollbackAction. :rtype: oci.fleet_software_update.models.ScheduleDetails �r r r r r r � s zRollbackAction.schedule_detailsc C s || _ dS )z� Sets the schedule_details of this RollbackAction. :param schedule_details: The schedule_details of this RollbackAction. :type: oci.fleet_software_update.models.ScheduleDetails Nr )r r r r r r � s c C s | j S )z� Gets the progress of this RollbackAction. :return: The progress of this RollbackAction. :rtype: oci.fleet_software_update.models.FsuActionProgressDetails �r r r r r r � s zRollbackAction.progressc C s || _ dS )z� Sets the progress of this RollbackAction. :param progress: The progress of this RollbackAction. :type: oci.fleet_software_update.models.FsuActionProgressDetails Nr )r r r r r r � s c C s | j S )z� Gets the details of this RollbackAction. :return: The details of this RollbackAction. :rtype: oci.fleet_software_update.models.RollbackDetails �r r r r r r � s zRollbackAction.detailsc C s || _ dS )z� Sets the details of this RollbackAction. :param details: The details of this RollbackAction. :type: oci.fleet_software_update.models.RollbackDetails Nr )r r r r r r s c C s t | �S �N)r r r r r �__repr__ s zRollbackAction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zRollbackAction.__eq__c C s | |k S r! r r$ r r r �__ne__ s zRollbackAction.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r"