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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�ComponentPropertiesz% The properties of the task. �ABORT�CONTINUE�ROLLBACKc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )aV Initializes a new ComponentProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param run_on: The value to assign to the run_on property of this ComponentProperties. :type run_on: str :param condition: The value to assign to the condition property of this ComponentProperties. :type condition: str :param action_on_failure: The value to assign to the action_on_failure property of this ComponentProperties. Allowed values for this property are: "ABORT", "CONTINUE", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action_on_failure: str �str)�run_on� condition�action_on_failureZrunOnr ZactionOnFailureN)Z swagger_typesZ attribute_map�_run_on� _condition�_action_on_failure)�self�kwargs� r �Y/usr/lib/python3.9/site-packages/oci/fleet_apps_management/models/component_properties.py�__init__ s ��zComponentProperties.__init__c C s | j S )z� Gets the run_on of this ComponentProperties. The hosts to execute on. :return: The run_on of this ComponentProperties. :rtype: str �r �r r r r r B s zComponentProperties.run_onc C s || _ dS )z� Sets the run_on of this ComponentProperties. The hosts to execute on. :param run_on: The run_on of this ComponentProperties. :type: str Nr )r r r r r r N s c C s | j S )z� Gets the condition of this ComponentProperties. The condition in which the task is to be executed. :return: The condition of this ComponentProperties. :rtype: str �r r r r r r Z s zComponentProperties.conditionc C s || _ dS )z� Sets the condition of this ComponentProperties. The condition in which the task is to be executed. :param condition: The condition of this ComponentProperties. :type: str Nr )r r r r r r f s c C s | j S )a� **[Required]** Gets the action_on_failure of this ComponentProperties. The action to be taken in case of task failure. Allowed values for this property are: "ABORT", "CONTINUE", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The action_on_failure of this ComponentProperties. :rtype: str )r r r r r r r s z%ComponentProperties.action_on_failurec C s g d�}t ||�sd}|| _dS )z� Sets the action_on_failure of this ComponentProperties. The action to be taken in case of task failure. :param action_on_failure: The action_on_failure of this ComponentProperties. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s zComponentProperties.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zComponentProperties.__eq__c C s | |k S r r r r r r �__ne__� s zComponentProperties.__ne__N)�__name__� __module__�__qualname__�__doc__ZACTION_ON_FAILURE_ABORTZACTION_ON_FAILURE_CONTINUEZACTION_ON_FAILURE_ROLLBACKr �propertyr �setterr r r r r r r r r r s( $ r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn