ruạṛ
a O��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 @ sV e Zd ZdZdd� Zedd� �Zedd� �Zej dd� �Zd d � Z dd� Zd d� ZdS )�JobOperationDetailsz> Job details that are specific to the operation type. c K s ddi| _ ddi| _d| _dS )a� Initializes a new JobOperationDetails 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.resource_manager.models.ImportTfStateJobOperationDetails` * :class:`~oci.resource_manager.models.PlanJobOperationDetails` * :class:`~oci.resource_manager.models.ApplyRollbackJobOperationDetails` * :class:`~oci.resource_manager.models.PlanRollbackJobOperationDetails` * :class:`~oci.resource_manager.models.ApplyJobOperationDetails` * :class:`~oci.resource_manager.models.DestroyJobOperationDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operation: The value to assign to the operation property of this JobOperationDetails. :type operation: str � operation�strN)� swagger_types� attribute_map� _operation)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/resource_manager/models/job_operation_details.py�__init__ s ��zJobOperationDetails.__init__c C sX | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S dS dS )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 �IMPORT_TF_STATE� ImportTfStateJobOperationDetails�PLAN�PlanJobOperationDetails�APPLY_ROLLBACK� ApplyRollbackJobOperationDetails� PLAN_ROLLBACK�PlanRollbackJobOperationDetails�APPLY�ApplyJobOperationDetails�DESTROY�DestroyJobOperationDetailsr Nr )�object_dictionary�typer r r �get_subtype- s zJobOperationDetails.get_subtypec C s | j S )z� **[Required]** Gets the operation of this JobOperationDetails. Terraform-specific operation to execute. :return: The operation of this JobOperationDetails. :rtype: str �r �r r r r r I s zJobOperationDetails.operationc C s || _ dS )z� Sets the operation of this JobOperationDetails. Terraform-specific operation to execute. :param operation: The operation of this JobOperationDetails. :type: str Nr )r r r r r r U s c C s t | �S �N)r r! r r r �__repr__a s zJobOperationDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__d s zJobOperationDetails.__eq__c C s | |k S r"