ruạṛ
a N��fI. � @ 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 dd � Z ed d� �Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Zd$d%� Zd&d'� Zd(d)� Zd*S )+�ProjectionRulez� Base type for how fields are projected. There are many different mechanisms for doing this such as by a name pattern, datatype and so on. See the `modelType` property for the types. �NAME_PATTERN_RULE�TYPE_LIST_RULE�NAME_LIST_RULE�TYPED_NAME_PATTERN_RULE�RENAME_RULE�GROUPED_NAME_PATTERN_RULEc K sd ddddddddd�| _ ddd d ddd dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a Initializes a new ProjectionRule 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_integration.models.RenameRule` * :class:`~oci.data_integration.models.TypeListRule` * :class:`~oci.data_integration.models.TypedNamePatternRule` * :class:`~oci.data_integration.models.NamePatternRule` * :class:`~oci.data_integration.models.GroupedNamePatternRule` * :class:`~oci.data_integration.models.NameListRule` 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 ProjectionRule. Allowed values for this property are: "NAME_PATTERN_RULE", "TYPE_LIST_RULE", "NAME_LIST_RULE", "TYPED_NAME_PATTERN_RULE", "RENAME_RULE", "GROUPED_NAME_PATTERN_RULE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param key: The value to assign to the key property of this ProjectionRule. :type key: str :param model_version: The value to assign to the model_version property of this ProjectionRule. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ProjectionRule. :type parent_ref: oci.data_integration.models.ParentReference :param is_java_regex_syntax: The value to assign to the is_java_regex_syntax property of this ProjectionRule. :type is_java_regex_syntax: bool :param config_values: The value to assign to the config_values property of this ProjectionRule. :type config_values: oci.data_integration.models.ConfigValues :param object_status: The value to assign to the object_status property of this ProjectionRule. :type object_status: int :param description: The value to assign to the description property of this ProjectionRule. :type description: str �str�ParentReference�bool�ConfigValues�int)� model_type�key� model_version� parent_ref�is_java_regex_syntax� config_values� object_status�description� modelTyper �modelVersion� parentRef�isJavaRegexSyntax�configValues�objectStatusr N) � swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_is_java_regex_syntax�_config_values�_object_status�_description)�self�kwargs� r, ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/projection_rule.py�__init__( s4 2��zProjectionRule.__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 r � RenameRuler �TypeListRuler �TypedNamePatternRuler �NamePatternRuler �GroupedNamePatternRuler �NameListRuler Nr, )�object_dictionary�typer, r, r- �get_subtypex s zProjectionRule.get_subtypec C s | j S )a� **[Required]** Gets the model_type of this ProjectionRule. The type of the project rule. Allowed values for this property are: "NAME_PATTERN_RULE", "TYPE_LIST_RULE", "NAME_LIST_RULE", "TYPED_NAME_PATTERN_RULE", "RENAME_RULE", "GROUPED_NAME_PATTERN_RULE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The model_type of this ProjectionRule. :rtype: str )r"