ruạṛ
a ���fnU � @ 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 ZdZdZdZdZdZdZdZdZdZdd� Zedd� �Zedd� �Zejdd� �Zedd� �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#jd,d+� �Z#ed-d.� �Z$e$jd/d.� �Z$ed0d1� �Z%e%jd2d1� �Z%ed3d4� �Z&e&jd5d4� �Z&ed6d7� �Z'e'jd8d7� �Z'ed9d:� �Z(e(jd;d:� �Z(ed<d=� �Z)e)jd>d=� �Z)ed?d@� �Z*e*jdAd@� �Z*dBdC� Z+dDdE� Z,dFdG� Z-dHS )I�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�TABLE_COLUMN�TIME_COLUMN�TREND_COLUMN�CLASSIFY_COLUMN�LOG�BOOLEAN�STRING�DOUBLE�FLOAT�LONG�INTEGER� TIMESTAMP�FACET�TABLEc K s� dddddddddddddd� | _ ddddd d ddd ddddd� | _d| _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.TableColumn` * :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", "TABLE_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 is_hidden: The value to assign to the is_hidden property of this AbstractColumn. :type is_hidden: 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", "TABLE", '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� is_hidden� value_type�original_display_name� internal_namer ZdisplayNameZ subSystemr! ZisListOfValuesZ isMultiValuedZisCaseSensitiveZisGroupableZisEvaluableZisHiddenZ valueTypeZoriginalDisplayNameZinternalNameN)Z swagger_typesZ attribute_map�_type� _display_name�_sub_system�_values�_is_list_of_values�_is_multi_valued�_is_case_sensitive� _is_groupable� _is_evaluable� _is_hidden�_value_type�_original_display_name�_internal_name)�self�kwargs� r: �L/usr/lib/python3.9/site-packages/oci/log_analytics/models/abstract_column.py�__init__f sR O��zAbstractColumn.__init__c C s� | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS |dkrtdS |dkr�dS |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 Z TimeColumnr ZClassifyColumnr ZTrendColumnr ZTimeStatsColumnr ZTimeClusterColumnr ZColumnr ZTimeClusterDataColumnr ZTimeStatsDataColumnr ZTableColumnr ZChartColumnr ZChartDataColumnr Nr: )Zobject_dictionaryr r: r: r; �get_subtype� s0 zAbstractColumn.get_subtypec C s | j S )aL **[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", "TABLE_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 )r+ �r8 r: r: r; 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 r �UNKNOWN_ENUM_VALUEN)r r+ )r8 r �allowed_valuesr: r: r; 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 �r, r>