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 )�ClassifyCommandDescriptorz@ Command descriptor for querylanguage CLASSIFY command. c K s~ ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a Initializes a new ClassifyCommandDescriptor object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.ClassifyCommandDescriptor.name` attribute of this class is ``CLASSIFY`` 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 ClassifyCommandDescriptor. 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 ClassifyCommandDescriptor. :type display_query_string: str :param internal_query_string: The value to assign to the internal_query_string property of this ClassifyCommandDescriptor. :type internal_query_string: str :param category: The value to assign to the category property of this ClassifyCommandDescriptor. :type category: str :param referenced_fields: The value to assign to the referenced_fields property of this ClassifyCommandDescriptor. :type referenced_fields: list[oci.log_analytics.models.AbstractField] :param declared_fields: The value to assign to the declared_fields property of this ClassifyCommandDescriptor. :type declared_fields: list[oci.log_analytics.models.AbstractField] :param is_hidden: The value to assign to the is_hidden property of this ClassifyCommandDescriptor. :type is_hidden: bool :param top_count: The value to assign to the top_count property of this ClassifyCommandDescriptor. :type top_count: int :param bottom_count: The value to assign to the bottom_count property of this ClassifyCommandDescriptor. :type bottom_count: int :param correlate: The value to assign to the correlate property of this ClassifyCommandDescriptor. :type correlate: list[oci.log_analytics.models.FieldsAddRemoveField] �strzlist[AbstractField]�bool�intzlist[FieldsAddRemoveField]) �nameZdisplay_query_stringZinternal_query_string�categoryZreferenced_fieldsZdeclared_fieldsZ is_hidden� top_count�bottom_count� correlater ZdisplayQueryStringZinternalQueryStringr ZreferencedFieldsZdeclaredFieldsZisHiddenZtopCountZbottomCountr NZCLASSIFY)Z swagger_typesZ attribute_map�_nameZ_display_query_stringZ_internal_query_stringZ _categoryZ_referenced_fieldsZ_declared_fieldsZ _is_hidden� _top_count� _bottom_count� _correlate)�self�kwargs� r �X/usr/lib/python3.9/site-packages/oci/log_analytics/models/classify_command_descriptor.py�__init__ sB 1�� z"ClassifyCommandDescriptor.__init__c C s | j S )a Gets the top_count of this ClassifyCommandDescriptor. Value specified in CLASSIFY command in queryString if set limits the results returned to top N. :return: The top_count of this ClassifyCommandDescriptor. :rtype: int �r �r r r r r h s z#ClassifyCommandDescriptor.top_countc C s || _ dS )a Sets the top_count of this ClassifyCommandDescriptor. Value specified in CLASSIFY command in queryString if set limits the results returned to top N. :param top_count: The top_count of this ClassifyCommandDescriptor. :type: int Nr )r r r r r r t s c C s | j S )a Gets the bottom_count of this ClassifyCommandDescriptor. Value specified in CLASSIFY command in queryString if set limits the results returned to bottom N. :return: The bottom_count of this ClassifyCommandDescriptor. :rtype: int �r r r r r r � s z&ClassifyCommandDescriptor.bottom_countc C s || _ dS )a Sets the bottom_count of this ClassifyCommandDescriptor. Value specified in CLASSIFY command in queryString if set limits the results returned to bottom N. :param bottom_count: The bottom_count of this ClassifyCommandDescriptor. :type: int Nr )r r r r r r � s c C s | j S )aA Gets the correlate of this ClassifyCommandDescriptor. Fields specified in CLASSIFY command in queryString if set include / exclude fields in correlate results. :return: The correlate of this ClassifyCommandDescriptor. :rtype: list[oci.log_analytics.models.FieldsAddRemoveField] �r r r r r r � s z#ClassifyCommandDescriptor.correlatec C s || _ dS )aI Sets the correlate of this ClassifyCommandDescriptor. Fields specified in CLASSIFY command in queryString if set include / exclude fields in correlate results. :param correlate: The correlate of this ClassifyCommandDescriptor. :type: list[oci.log_analytics.models.FieldsAddRemoveField] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z"ClassifyCommandDescriptor.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z ClassifyCommandDescriptor.__eq__c C s | |k S r r r! r r r �__ne__� s z ClassifyCommandDescriptor.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r# r$ r r r r r s"