o
    ëÉ¶d¡  ã                   @   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 )é   )ÚAbstractFieldé    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s0   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
S )ÚFieldzP
    Default field object representing fields specified in the queryString.
    c                 K   sˆ   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| _d| _	d| _
d| _d| _d| _dS )a  
        Initializes a new Field object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.Field.name` attribute
        of this class is ``FIELD`` and it should not be changed.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param name:
            The value to assign to the name property of this Field.
            Allowed values for this property are: "FIELD", "FIELDS", "FUNCTION", "SORT"
        :type name: str

        :param display_name:
            The value to assign to the display_name property of this Field.
        :type display_name: str

        :param is_declared:
            The value to assign to the is_declared property of this Field.
        :type is_declared: bool

        :param original_display_names:
            The value to assign to the original_display_names property of this Field.
        :type original_display_names: list[str]

        :param internal_name:
            The value to assign to the internal_name property of this Field.
        :type internal_name: str

        :param value_type:
            The value to assign to the value_type property of this Field.
            Allowed values for this property are: "BOOLEAN", "STRING", "DOUBLE", "FLOAT", "LONG", "INTEGER", "TIMESTAMP", "FACET"
        :type value_type: str

        :param is_groupable:
            The value to assign to the is_groupable property of this Field.
        :type is_groupable: bool

        :param is_duration:
            The value to assign to the is_duration property of this Field.
        :type is_duration: bool

        :param alias:
            The value to assign to the alias property of this Field.
        :type alias: str

        :param filter_query_string:
            The value to assign to the filter_query_string property of this Field.
        :type filter_query_string: str

        :param unit_type:
            The value to assign to the unit_type property of this Field.
        :type unit_type: str

        ÚstrÚboolz	list[str])ÚnameÚdisplay_nameZis_declaredZoriginal_display_namesZinternal_nameZ
value_typeZis_groupableZis_durationÚaliasZfilter_query_stringZ	unit_typer   ZdisplayNameZ
isDeclaredZoriginalDisplayNamesZinternalNameZ	valueTypeZisGroupableZ
isDurationr   ZfilterQueryStringZunitTypeNZFIELD)Zswagger_typesZattribute_mapÚ_nameÚ_display_nameZ_is_declaredZ_original_display_namesZ_internal_nameZ_value_typeZ_is_groupableZ_is_durationÚ_aliasZ_filter_query_stringZ
_unit_type)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/log_analytics/models/field.pyÚ__init__   sH   6õõ
zField.__init__c                 C   s   t | ƒS ©N)r   )r   r   r   r   Ú__repr__p   s   zField.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__s   s   zField.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__y   s   
zField.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r   r      s    ^r   N)	Zabstract_fieldr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   Ú<module>   s
   