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 )�LinkCommandDescriptorz< Command descriptor for querylanguage LINK command. c K s~ ddddddddddd� | _ ddddd d ddd dd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new LinkCommandDescriptor object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.LinkCommandDescriptor.name` attribute of this class is ``LINK`` 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 LinkCommandDescriptor. 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 LinkCommandDescriptor. :type display_query_string: str :param internal_query_string: The value to assign to the internal_query_string property of this LinkCommandDescriptor. :type internal_query_string: str :param category: The value to assign to the category property of this LinkCommandDescriptor. :type category: str :param referenced_fields: The value to assign to the referenced_fields property of this LinkCommandDescriptor. :type referenced_fields: list[oci.log_analytics.models.AbstractField] :param declared_fields: The value to assign to the declared_fields property of this LinkCommandDescriptor. :type declared_fields: list[oci.log_analytics.models.AbstractField] :param is_hidden: The value to assign to the is_hidden property of this LinkCommandDescriptor. :type is_hidden: bool :param should_include_nulls: The value to assign to the should_include_nulls property of this LinkCommandDescriptor. :type should_include_nulls: bool :param should_include_trends: The value to assign to the should_include_trends property of this LinkCommandDescriptor. :type should_include_trends: bool :param span: The value to assign to the span property of this LinkCommandDescriptor. :type span: str �strzlist[AbstractField]�bool) �nameZdisplay_query_stringZinternal_query_string�categoryZreferenced_fieldsZdeclared_fieldsZ is_hidden�should_include_nulls�should_include_trends�spanr ZdisplayQueryStringZinternalQueryStringr ZreferencedFieldsZdeclaredFieldsZisHiddenZshouldIncludeNullsZshouldIncludeTrendsr NZLINK)Z swagger_typesZ attribute_map�_nameZ_display_query_stringZ_internal_query_stringZ _categoryZ_referenced_fieldsZ_declared_fieldsZ _is_hidden�_should_include_nulls�_should_include_trends�_span)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/log_analytics/models/link_command_descriptor.py�__init__ sB 1�� zLinkCommandDescriptor.__init__c C s | j S )z� Gets the should_include_nulls of this LinkCommandDescriptor. Option to return groups with a null value if specified. :return: The should_include_nulls of this LinkCommandDescriptor. :rtype: bool �r �r r r r r h s z*LinkCommandDescriptor.should_include_nullsc C s || _ dS )a Sets the should_include_nulls of this LinkCommandDescriptor. Option to return groups with a null value if specified. :param should_include_nulls: The should_include_nulls of this LinkCommandDescriptor. :type: bool Nr )r r r r r r t s c C s | j S )z� Gets the should_include_trends of this LinkCommandDescriptor. Option to calculate trends of each group if specified. :return: The should_include_trends of this LinkCommandDescriptor. :rtype: bool �r r r r r r � s z+LinkCommandDescriptor.should_include_trendsc C s || _ dS )a Sets the should_include_trends of this LinkCommandDescriptor. Option to calculate trends of each group if specified. :param should_include_trends: The should_include_trends of this LinkCommandDescriptor. :type: bool Nr )r r r r r r � s c C s | j S )aZ Gets the span of this LinkCommandDescriptor. Option to control the size of buckets in the histogram e.g 8hrs - each bar other than first and last should represent 8hr time span. Will be adjusted to a larger span if time range is very large. :return: The span of this LinkCommandDescriptor. :rtype: str �r r r r r r � s zLinkCommandDescriptor.spanc C s || _ dS )a] Sets the span of this LinkCommandDescriptor. Option to control the size of buckets in the histogram e.g 8hrs - each bar other than first and last should represent 8hr time span. Will be adjusted to a larger span if time range is very large. :param span: The span of this LinkCommandDescriptor. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zLinkCommandDescriptor.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zLinkCommandDescriptor.__eq__c C s | |k S r r r r r r �__ne__� s zLinkCommandDescriptor.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r"