o
    ɶd0                     @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd deZdS )   )TypedObject    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   sJ   e Zd ZdZdd Zedd Zejdd Zdd Zd	d
 Z	dd Z
dS )Shapez
    The shape object.
    c              
   K   st   dddddddddd	| _ ddd	d
dddddd	| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _dS )aG  
        Initializes a new Shape object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Shape.model_type` attribute
        of this class is ``SHAPE`` and it should not be changed.
        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 Shape.
            Allowed values for this property are: "SHAPE", "INPUT_PORT", "SHAPE_FIELD", "INPUT_FIELD", "DERIVED_FIELD", "MACRO_FIELD", "OUTPUT_FIELD", "DYNAMIC_PROXY_FIELD", "OUTPUT_PORT", "DYNAMIC_INPUT_FIELD", "PROXY_FIELD", "PARAMETER", "PIVOT_FIELD", "MACRO_PIVOT_FIELD", "CONDITIONAL_OUTPUT_PORT", "INPUT_PROXY_FIELD", "MATERIALIZED_DYNAMIC_FIELD", "DECISION_OUTPUT_PORT", '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 Shape.
        :type key: str

        :param model_version:
            The value to assign to the model_version property of this Shape.
        :type model_version: str

        :param parent_ref:
            The value to assign to the parent_ref property of this Shape.
        :type parent_ref: oci.data_integration.models.ParentReference

        :param config_values:
            The value to assign to the config_values property of this Shape.
        :type config_values: oci.data_integration.models.ConfigValues

        :param object_status:
            The value to assign to the object_status property of this Shape.
        :type object_status: int

        :param name:
            The value to assign to the name property of this Shape.
        :type name: str

        :param description:
            The value to assign to the description property of this Shape.
        :type description: str

        :param type:
            The value to assign to the type property of this Shape.
        :type type: oci.data_integration.models.BaseType

        strZParentReferenceZConfigValuesintZBaseType)	Z
model_typekeyZmodel_versionZ
parent_refZconfig_valuesZobject_statusnamedescriptiontypeZ	modelTyper   ZmodelVersionZ	parentRefZconfigValuesZobjectStatusr   r   r   NZSHAPE)Zswagger_typesZattribute_mapZ_model_type_keyZ_model_versionZ_parent_refZ_config_valuesZ_object_status_nameZ_description_type)selfkwargs r   Eusr/lib/python3.10/site-packages/oci/data_integration/models/shape.py__init__   s<   .
zShape.__init__c                 C   s   | j S )z
        Gets the type of this Shape.

        :return: The type of this Shape.
        :rtype: oci.data_integration.models.BaseType
        r   r   r   r   r   r   b   s   z
Shape.typec                 C   s
   || _ dS )z
        Sets the type of this Shape.

        :param type: The type of this Shape.
        :type: oci.data_integration.models.BaseType
        Nr   )r   r   r   r   r   r   l   s   
c                 C   s   t | S N)r   r   r   r   r   __repr__v   s   zShape.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__y   s   zShape.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zShape.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr   r   r   r   r   r   r   r      s    P
	
	r   N)	Ztyped_objectr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   <module>   s
   