ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AbstractCommandDescriptor� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�HighlightCommandDescriptorzA Command descriptor for querylanguage HIGHLIGHT command. c K s~ ddddddddddd� | _ dddd d ddd ddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new HighlightCommandDescriptor object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.HighlightCommandDescriptor.name` attribute of this class is ``HIGHLIGHT`` 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 HighlightCommandDescriptor. Allowed values for this property are: "COMMAND", "SEARCH", "STATS", "GEO_STATS", "TIME_STATS", "SORT", "FIELDS", "ADD_FIELDS", "LINK", "LINK_DETAILS", "CLUSTER", "CLUSTER_DETAILS", "CLUSTER_SPLIT", "EVAL", "EXTRACT", "JSON_EXTRACT", "XML_EXTRACT", "EVENT_STATS", "BUCKET", "CLASSIFY", "TOP", "BOTTOM", "HEAD", "TAIL", "FIELD_SUMMARY", "REGEX", "RENAME", "TIME_COMPARE", "WHERE", "CLUSTER_COMPARE", "DELETE", "CREATETABLE", "SEQUENCE", "DELTA", "DISTINCT", "SEARCH_LOOKUP", "LOOKUP", "DEMO_MODE", "MACRO", "MODULE", "MULTI_SEARCH", "HIGHLIGHT", "HIGHLIGHT_ROWS", "HIGHLIGHT_GROUPS", "CREATE_VIEW", "MAP", "NLP", "COMPARE", "ADD_INSIGHTS", "ANOMALY", "DEDUP", "TIME_CLUSTER", "FREQUENT", "RARE", "OUTLIER" :type name: str :param display_query_string: The value to assign to the display_query_string property of this HighlightCommandDescriptor. :type display_query_string: str :param internal_query_string: The value to assign to the internal_query_string property of this HighlightCommandDescriptor. :type internal_query_string: str :param category: The value to assign to the category property of this HighlightCommandDescriptor. :type category: str :param referenced_fields: The value to assign to the referenced_fields property of this HighlightCommandDescriptor. :type referenced_fields: list[oci.log_analytics.models.AbstractField] :param declared_fields: The value to assign to the declared_fields property of this HighlightCommandDescriptor. :type declared_fields: list[oci.log_analytics.models.AbstractField] :param is_hidden: The value to assign to the is_hidden property of this HighlightCommandDescriptor. :type is_hidden: bool :param color: The value to assign to the color property of this HighlightCommandDescriptor. :type color: str :param fields: The value to assign to the fields property of this HighlightCommandDescriptor. :type fields: list[str] :param keywords: The value to assign to the keywords property of this HighlightCommandDescriptor. :type keywords: list[str] �strzlist[AbstractField]�boolz list[str]) �nameZdisplay_query_stringZinternal_query_string�categoryZreferenced_fieldsZdeclared_fieldsZ is_hidden�color�fields�keywordsr ZdisplayQueryStringZinternalQueryStringr ZreferencedFieldsZdeclaredFieldsZisHiddenr r r NZ HIGHLIGHT)Z swagger_typesZ attribute_map�_nameZ_display_query_stringZ_internal_query_stringZ _categoryZ_referenced_fieldsZ_declared_fieldsZ _is_hidden�_color�_fields� _keywords)�self�kwargs� r �Y/usr/lib/python3.9/site-packages/oci/log_analytics/models/highlight_command_descriptor.py�__init__ sB 1�� z#HighlightCommandDescriptor.__init__c C s | j S )z� Gets the color of this HighlightCommandDescriptor. User specified color to highlight matches with if found. :return: The color of this HighlightCommandDescriptor. :rtype: str �r �r r r r r h s z HighlightCommandDescriptor.colorc C s || _ dS )z� Sets the color of this HighlightCommandDescriptor. User specified color to highlight matches with if found. :param color: The color of this HighlightCommandDescriptor. :type: str Nr )r r r r r r t s c C s | j S )z� Gets the fields of this HighlightCommandDescriptor. List of fields specified to highlight with the same color if matches found. :return: The fields of this HighlightCommandDescriptor. :rtype: list[str] �r r r r r r � s z!HighlightCommandDescriptor.fieldsc C s || _ dS )z� Sets the fields of this HighlightCommandDescriptor. List of fields specified to highlight with the same color if matches found. :param fields: The fields of this HighlightCommandDescriptor. :type: list[str] Nr )r r r r r r � s c C s | j S )z� Gets the keywords of this HighlightCommandDescriptor. List of terms or phrases to highlight if found. :return: The keywords of this HighlightCommandDescriptor. :rtype: list[str] �r r r r r r � s z#HighlightCommandDescriptor.keywordsc C s || _ dS )z� Sets the keywords of this HighlightCommandDescriptor. List of terms or phrases to highlight if found. :param keywords: The keywords of this HighlightCommandDescriptor. :type: list[str] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z#HighlightCommandDescriptor.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z!HighlightCommandDescriptor.__eq__c C s | |k S r r r r r r �__ne__� s z!HighlightCommandDescriptor.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r"