ruạṛ
a O��fXO � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdd� Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Z e jd'd&� �Z ed(d)� �Z!e!jd*d)� �Z!ed+d,� �Z"e"jd-d,� �Z"ed.d/� �Z#e#jd0d/� �Z#ed1d2� �Z$e$jd3d2� �Z$ed4d5� �Z%e%jd6d5� �Z%ed7d8� �Z&e&jd9d8� �Z&ed:d;� �Z'e'jd<d;� �Z'd=d>� Z(d?d@� Z)dAdB� Z*dCS )D�AbstractColumnzU Generic column defining all attributes common to all querylanguage columns. �COLUMN�CHART_COLUMN�CHART_DATA_COLUMN�TIME_STATS_COLUMN�TIME_STATS_DATA_COLUMN�TIME_CLUSTER_COLUMN�TIME_CLUSTER_DATA_COLUMN�TIME_COLUMN�TREND_COLUMN�CLASSIFY_COLUMN�LOG�BOOLEAN�STRING�DOUBLE�FLOAT�LONG�INTEGER� TIMESTAMP�FACETc K s� ddddddddddddd�| _ ddddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a Initializes a new AbstractColumn object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.log_analytics.models.TimeColumn` * :class:`~oci.log_analytics.models.ClassifyColumn` * :class:`~oci.log_analytics.models.TrendColumn` * :class:`~oci.log_analytics.models.TimeStatsColumn` * :class:`~oci.log_analytics.models.TimeClusterColumn` * :class:`~oci.log_analytics.models.Column` * :class:`~oci.log_analytics.models.TimeClusterDataColumn` * :class:`~oci.log_analytics.models.TimeStatsDataColumn` * :class:`~oci.log_analytics.models.ChartColumn` * :class:`~oci.log_analytics.models.ChartDataColumn` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this AbstractColumn. Allowed values for this property are: "COLUMN", "CHART_COLUMN", "CHART_DATA_COLUMN", "TIME_STATS_COLUMN", "TIME_STATS_DATA_COLUMN", "TIME_CLUSTER_COLUMN", "TIME_CLUSTER_DATA_COLUMN", "TIME_COLUMN", "TREND_COLUMN", "CLASSIFY_COLUMN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param display_name: The value to assign to the display_name property of this AbstractColumn. :type display_name: str :param sub_system: The value to assign to the sub_system property of this AbstractColumn. Allowed values for this property are: "LOG", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type sub_system: str :param values: The value to assign to the values property of this AbstractColumn. :type values: list[oci.log_analytics.models.FieldValue] :param is_list_of_values: The value to assign to the is_list_of_values property of this AbstractColumn. :type is_list_of_values: bool :param is_multi_valued: The value to assign to the is_multi_valued property of this AbstractColumn. :type is_multi_valued: bool :param is_case_sensitive: The value to assign to the is_case_sensitive property of this AbstractColumn. :type is_case_sensitive: bool :param is_groupable: The value to assign to the is_groupable property of this AbstractColumn. :type is_groupable: bool :param is_evaluable: The value to assign to the is_evaluable property of this AbstractColumn. :type is_evaluable: bool :param value_type: The value to assign to the value_type property of this AbstractColumn. Allowed values for this property are: "BOOLEAN", "STRING", "DOUBLE", "FLOAT", "LONG", "INTEGER", "TIMESTAMP", "FACET", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type value_type: str :param original_display_name: The value to assign to the original_display_name property of this AbstractColumn. :type original_display_name: str :param internal_name: The value to assign to the internal_name property of this AbstractColumn. :type internal_name: str �strzlist[FieldValue]�bool)�type�display_name� sub_system�values�is_list_of_values�is_multi_valued�is_case_sensitive�is_groupable�is_evaluable� value_type�original_display_name� internal_namer �displayName� subSystemr �isListOfValues� isMultiValued�isCaseSensitive�isGroupable�isEvaluable� valueType�originalDisplayName�internalNameN)� swagger_types� attribute_map�_type� _display_name�_sub_system�_values�_is_list_of_values�_is_multi_valued�_is_case_sensitive� _is_groupable� _is_evaluable�_value_type�_original_display_name�_internal_name)�self�kwargs� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/abstract_column.py�__init__\ sL J��zAbstractColumn.__init__c C s� | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS |dkr�dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r � TimeColumnr �ClassifyColumnr �TrendColumnr �TimeStatsColumnr �TimeClusterColumnr �Columnr �TimeClusterDataColumnr �TimeStatsDataColumnr �ChartColumnr �ChartDataColumnr NrB )�object_dictionaryr rB rB rC �get_subtype� s, zAbstractColumn.get_subtypec C s | j S )a< **[Required]** Gets the type of this AbstractColumn. Column classification when column requires special designation. Allowed values for this property are: "COLUMN", "CHART_COLUMN", "CHART_DATA_COLUMN", "TIME_STATS_COLUMN", "TIME_STATS_DATA_COLUMN", "TIME_CLUSTER_COLUMN", "TIME_CLUSTER_DATA_COLUMN", "TIME_COLUMN", "TREND_COLUMN", "CLASSIFY_COLUMN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this AbstractColumn. :rtype: str )r4 �r@ rB rB rC r � s zAbstractColumn.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this AbstractColumn. Column classification when column requires special designation. :param type: The type of this AbstractColumn. :type: str ) r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r4 )r@ r �allowed_valuesrB rB rC r s c C s | j S )z� Gets the display_name of this AbstractColumn. Column display name - will be alias if column is renamed by queryStrng. :return: The display_name of this AbstractColumn. :rtype: str �r5 rQ rB rB rC r s zAbstractColumn.display_namec C s || _ dS )z� Sets the display_name of this AbstractColumn. Column display name - will be alias if column is renamed by queryStrng. :param display_name: The display_name of this AbstractColumn. :type: str NrT )r@ r rB rB rC r " s c C s | j S )aZ Gets the sub_system of this AbstractColumn. Subsystem column belongs to. Allowed values for this property are: "LOG", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The sub_system of this AbstractColumn. :rtype: str )r6 rQ rB rB rC r . s zAbstractColumn.sub_systemc C s dg}t ||�sd}|| _dS )z� Sets the sub_system of this AbstractColumn. Subsystem column belongs to. :param sub_system: The sub_system of this AbstractColumn. :type: str r rR N)r r6 )r@ r rS rB rB rC r = s c C s | j S )aE Gets the values of this AbstractColumn. If the column is a 'List of Values' column, this array contains the field values that are applicable to query results or all if no filters applied. :return: The values of this AbstractColumn. :rtype: list[oci.log_analytics.models.FieldValue] �r7 rQ rB rB rC r L s zAbstractColumn.valuesc C s || _ dS )aJ Sets the values of this AbstractColumn. If the column is a 'List of Values' column, this array contains the field values that are applicable to query results or all if no filters applied. :param values: The values of this AbstractColumn. :type: list[oci.log_analytics.models.FieldValue] NrU )r@ r rB rB rC r X s c C s | j S )z� Gets the is_list_of_values of this AbstractColumn. Identifies if all values in this column come from a pre-defined list of values. :return: The is_list_of_values of this AbstractColumn. :rtype: bool �r8 rQ rB rB rC r d s z AbstractColumn.is_list_of_valuesc C s || _ dS )a Sets the is_list_of_values of this AbstractColumn. Identifies if all values in this column come from a pre-defined list of values. :param is_list_of_values: The is_list_of_values of this AbstractColumn. :type: bool NrV )r@ r rB rB rC r p s c C s | j S )z� Gets the is_multi_valued of this AbstractColumn. Identifies if this column allows multiple values to exist in a single row. :return: The is_multi_valued of this AbstractColumn. :rtype: bool �r9 rQ rB rB rC r! | s zAbstractColumn.is_multi_valuedc C s || _ dS )z� Sets the is_multi_valued of this AbstractColumn. Identifies if this column allows multiple values to exist in a single row. :param is_multi_valued: The is_multi_valued of this AbstractColumn. :type: bool NrW )r@ r! rB rB rC r! � s c C s | j S )a Gets the is_case_sensitive of this AbstractColumn. A flag indicating whether or not the field is a case sensitive field. Only applies to string fields. :return: The is_case_sensitive of this AbstractColumn. :rtype: bool �r: rQ rB rB rC r"