ruạṛ
a N��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 @ sx e Zd ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Zdd� Z dd� Zdd� ZdS )�AbstractDataOperationConfigz3 The information about the data operation. �READ_OPERATION_CONFIG�WRITE_OPERATION_CONFIGc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new AbstractDataOperationConfig 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.data_connectivity.models.WriteOperationConfig` * :class:`~oci.data_connectivity.models.ReadOperationConfig` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this AbstractDataOperationConfig. Allowed values for this property are: "READ_OPERATION_CONFIG", "WRITE_OPERATION_CONFIG" :type model_type: str :param derived_attributes: The value to assign to the derived_attributes property of this AbstractDataOperationConfig. :type derived_attributes: dict(str, str) �strzdict(str, str))� model_type�derived_attributes� modelType�derivedAttributesN)� swagger_types� attribute_map�_model_type�_derived_attributes)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_connectivity/models/abstract_data_operation_config.py�__init__ s ��z$AbstractDataOperationConfig.__init__c C s( | d }|dkrdS |dkr dS 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 r �WriteOperationConfigr �ReadOperationConfigr Nr )�object_dictionary�typer r r �get_subtype9 s z'AbstractDataOperationConfig.get_subtypec C s | j S )a9 **[Required]** Gets the model_type of this AbstractDataOperationConfig. The type of data operation. Allowed values for this property are: "READ_OPERATION_CONFIG", "WRITE_OPERATION_CONFIG" :return: The model_type of this AbstractDataOperationConfig. :rtype: str )r �r r r r r I s z&AbstractDataOperationConfig.model_typec C s* ddg}t ||�s td�|���|| _dS )z� Sets the model_type of this AbstractDataOperationConfig. The type of data operation. :param model_type: The model_type of this AbstractDataOperationConfig. :type: str r r z:Invalid value for `model_type`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r W s ��c C s | j S )a Gets the derived_attributes of this AbstractDataOperationConfig. this map is used for passing BIP report/REST parameter values. :return: The derived_attributes of this AbstractDataOperationConfig. :rtype: dict(str, str) �r r r r r r i s z.AbstractDataOperationConfig.derived_attributesc C s || _ dS )a Sets the derived_attributes of this AbstractDataOperationConfig. this map is used for passing BIP report/REST parameter values. :param derived_attributes: The derived_attributes of this AbstractDataOperationConfig. :type: dict(str, str) Nr )r r r r r r u s c C s t | �S �N)r r r r r �__repr__� s z$AbstractDataOperationConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"AbstractDataOperationConfig.__eq__c C s | |k S r! r r$ r r r �__ne__� s z"AbstractDataOperationConfig.__ne__N)�__name__� __module__�__qualname__�__doc__� MODEL_TYPE_READ_OPERATION_CONFIG�!MODEL_TYPE_WRITE_OPERATION_CONFIGr �staticmethodr �propertyr �setterr r"