ruạṛ
a O��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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�ClusterCompareCommandDescriptorzF Command descriptor for querylanguage CLUSTERCOMPARE command. c K s� dddddddddddddd� | _ dddd d ddd dddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new ClusterCompareCommandDescriptor object with values from keyword arguments. The default value of the :py:attr:`~oci.log_analytics.models.ClusterCompareCommandDescriptor.name` attribute of this class is ``CLUSTER_COMPARE`` 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 ClusterCompareCommandDescriptor. 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", "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" :type name: str :param display_query_string: The value to assign to the display_query_string property of this ClusterCompareCommandDescriptor. :type display_query_string: str :param internal_query_string: The value to assign to the internal_query_string property of this ClusterCompareCommandDescriptor. :type internal_query_string: str :param category: The value to assign to the category property of this ClusterCompareCommandDescriptor. :type category: str :param referenced_fields: The value to assign to the referenced_fields property of this ClusterCompareCommandDescriptor. :type referenced_fields: list[oci.log_analytics.models.AbstractField] :param declared_fields: The value to assign to the declared_fields property of this ClusterCompareCommandDescriptor. :type declared_fields: list[oci.log_analytics.models.AbstractField] :param is_hidden: The value to assign to the is_hidden property of this ClusterCompareCommandDescriptor. :type is_hidden: bool :param time_shift: The value to assign to the time_shift property of this ClusterCompareCommandDescriptor. :type time_shift: str :param time_start: The value to assign to the time_start property of this ClusterCompareCommandDescriptor. :type time_start: int :param time_end: The value to assign to the time_end property of this ClusterCompareCommandDescriptor. :type time_end: int :param should_include_trends: The value to assign to the should_include_trends property of this ClusterCompareCommandDescriptor. :type should_include_trends: bool :param span: The value to assign to the span property of this ClusterCompareCommandDescriptor. :type span: str :param baseline_query: The value to assign to the baseline_query property of this ClusterCompareCommandDescriptor. :type baseline_query: str �strzlist[AbstractField]�bool�int) �name�display_query_string�internal_query_string�category�referenced_fields�declared_fields� is_hidden� time_shift� time_start�time_end�should_include_trends�span�baseline_queryr �displayQueryString�internalQueryStringr �referencedFields�declaredFields�isHidden� timeShift� timeStart�timeEnd�shouldIncludeTrendsr � baselineQueryN�CLUSTER_COMPARE)� swagger_types� attribute_map�_name�_display_query_string�_internal_query_string� _category�_referenced_fields�_declared_fields� _is_hidden�_time_shift�_time_start� _time_end�_should_include_trends�_span�_baseline_query)�self�kwargs� r5 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/cluster_compare_command_descriptor.py�__init__ sT =��z(ClusterCompareCommandDescriptor.__init__c C s | j S )a7 Gets the time_shift of this ClusterCompareCommandDescriptor. To shift time range of main query backwards using a relative time expression e.g -24hrs. E.g compare against the previous 24 hrs. :return: The time_shift of this ClusterCompareCommandDescriptor. :rtype: str �r- �r3 r5 r5 r6 r { s z*ClusterCompareCommandDescriptor.time_shiftc C s || _ dS )a@ Sets the time_shift of this ClusterCompareCommandDescriptor. To shift time range of main query backwards using a relative time expression e.g -24hrs. E.g compare against the previous 24 hrs. :param time_shift: The time_shift of this ClusterCompareCommandDescriptor. :type: str Nr8 )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the time_start of this ClusterCompareCommandDescriptor. Start time to apply to base line query if specified. :return: The time_start of this ClusterCompareCommandDescriptor. :rtype: int �r. r9 r5 r5 r6 r � s z*ClusterCompareCommandDescriptor.time_startc C s || _ dS )z� Sets the time_start of this ClusterCompareCommandDescriptor. Start time to apply to base line query if specified. :param time_start: The time_start of this ClusterCompareCommandDescriptor. :type: int Nr: )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the time_end of this ClusterCompareCommandDescriptor. End time to apply to base line query if specified. :return: The time_end of this ClusterCompareCommandDescriptor. :rtype: int �r/ r9 r5 r5 r6 r � s z(ClusterCompareCommandDescriptor.time_endc C s || _ dS )z� Sets the time_end of this ClusterCompareCommandDescriptor. End time to apply to base line query if specified. :param time_end: The time_end of this ClusterCompareCommandDescriptor. :type: int Nr; )r3 r r5 r5 r6 r � s c C s | j S )a Gets the should_include_trends of this ClusterCompareCommandDescriptor. Option to calculate trends of each cluster if specified. :return: The should_include_trends of this ClusterCompareCommandDescriptor. :rtype: bool �r0 r9 r5 r5 r6 r � s z5ClusterCompareCommandDescriptor.should_include_trendsc C s || _ dS )a Sets the should_include_trends of this ClusterCompareCommandDescriptor. Option to calculate trends of each cluster if specified. :param should_include_trends: The should_include_trends of this ClusterCompareCommandDescriptor. :type: bool Nr<