ruạṛ
a ���f�X � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,d-� Z.e/d.d/� �Z0e0j1d0d/� �Z0e/d1d2� �Z2e2j1d3d2� �Z2e/d4d5� �Z3e3j1d6d5� �Z3e/d7d8� �Z4e4j1d9d8� �Z4e/d:d;� �Z5e5j1d<d;� �Z5e/d=d>� �Z6e6j1d?d>� �Z6e/d@dA� �Z7e7j1dBdA� �Z7e/dCdD� �Z8e8j1dEdD� �Z8e/dFdG� �Z9e9j1dHdG� �Z9e/dIdJ� �Z:e:j1dKdJ� �Z:e/dLdM� �Z;e;j1dNdM� �Z;dOdP� Z<dQdR� Z=dSdT� Z>dUS )V� Attributez Attribute �LENGTH_FIVE�LENGTH_SIXTEEN�LENGTH_THIRTYTWO�LENGTH_SIXTYFOUR�LENGTH_ONETWOEIGHT�LENGTH_TWOFIFTYSIX�LENGTH_FIVETWELVE�LENGTH_SEVENFIFTY�LENGTH_ONE_THOUSAND�LENGTH_TWO_THOUSAND�LENGTH_FOUR_THOUSAND�BACKEND_GEN� CALLER_GEN� MANDATORY�OPTIONAL�CREATE�UPDATE�CREATE_AND_UPDATE�DELETE� RE_CREATE�DETAIL�LIST�FUNCTION_WITH_LOOKUP� DB_PATTERN�CREATE_FIRSTTIME_T1�UPDATE_OOB_METRIC�INTEGER�LONG�FLOAT�STRING� TIMESTAMP�DATE�CLOB�TAG_REF� PARSER_REF�STT_REF� LOOKUP_REF�META_FUNCTION_REF�COMMON_FIELD_REF�NONE�LOW�HIGHc K s� dddddddddddd�| _ ddddd d ddd ddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a Initializes a new Attribute object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param default_value: The value to assign to the default_value property of this Attribute. :type default_value: object :param dynamic_value_range_ref_attr: The value to assign to the dynamic_value_range_ref_attr property of this Attribute. :type dynamic_value_range_ref_attr: str :param maximum_len: The value to assign to the maximum_len property of this Attribute. Allowed values for this property are: "LENGTH_FIVE", "LENGTH_SIXTEEN", "LENGTH_THIRTYTWO", "LENGTH_SIXTYFOUR", "LENGTH_ONETWOEIGHT", "LENGTH_TWOFIFTYSIX", "LENGTH_FIVETWELVE", "LENGTH_SEVENFIFTY", "LENGTH_ONE_THOUSAND", "LENGTH_TWO_THOUSAND", "LENGTH_FOUR_THOUSAND" :type maximum_len: str :param name: The value to assign to the name property of this Attribute. :type name: str :param populated_by: The value to assign to the populated_by property of this Attribute. Allowed values for this property are: "BACKEND_GEN", "CALLER_GEN" :type populated_by: str :param required_in_json: The value to assign to the required_in_json property of this Attribute. Allowed values for this property are: "MANDATORY", "OPTIONAL" :type required_in_json: str :param schema_column: The value to assign to the schema_column property of this Attribute. :type schema_column: str :param is_string_exceed_maximum_length: The value to assign to the is_string_exceed_maximum_length property of this Attribute. :type is_string_exceed_maximum_length: bool :param usage_senario: The value to assign to the usage_senario property of this Attribute. Allowed values for this property are: "CREATE", "UPDATE", "CREATE_AND_UPDATE", "DELETE", "RE_CREATE", "DETAIL", "LIST", "FUNCTION_WITH_LOOKUP", "DB_PATTERN", "CREATE_FIRSTTIME_T1", "UPDATE_OOB_METRIC" :type usage_senario: str :param value_data_type: The value to assign to the value_data_type property of this Attribute. Allowed values for this property are: "INTEGER", "LONG", "FLOAT", "STRING", "TIMESTAMP", "DATE", "CLOB", "TAG_REF", "PARSER_REF", "STT_REF", "LOOKUP_REF", "META_FUNCTION_REF", "COMMON_FIELD_REF" :type value_data_type: str :param value_population_priority: The value to assign to the value_population_priority property of this Attribute. Allowed values for this property are: "NONE", "LOW", "HIGH" :type value_population_priority: str �object�str�bool)� default_value�dynamic_value_range_ref_attr�maximum_len�name�populated_by�required_in_json� schema_column�is_string_exceed_maximum_length� usage_senario�value_data_type�value_population_priorityZdefaultValueZdynamicValueRangeRefAttrZ maximumLenr7 ZpopulatedByZrequiredInJSONZschemaColumnZisStringExceedMaximumLengthZusageSenarioZ valueDataTypeZvaluePopulationPriorityN) Z swagger_typesZ attribute_map�_default_value�_dynamic_value_range_ref_attr�_maximum_len�_name� _populated_by�_required_in_json�_schema_column� _is_string_exceed_maximum_length�_usage_senario�_value_data_type�_value_population_priority)�self�kwargs� rL �F/usr/lib/python3.9/site-packages/oci/log_analytics/models/attribute.py�__init__� sF 9��zAttribute.__init__c C s | j S )z� Gets the default_value of this Attribute. default value :return: The default_value of this Attribute. :rtype: object �r? �rJ rL rL rM r4 s zAttribute.default_valuec C s || _ dS )z� Sets the default_value of this Attribute. default value :param default_value: The default_value of this Attribute. :type: object NrO )rJ r4 rL rL rM r4 $ s c C s | j S )z� Gets the dynamic_value_range_ref_attr of this Attribute. dynamic value range reference attribute :return: The dynamic_value_range_ref_attr of this Attribute. :rtype: str �r@ rP rL rL rM r5 0 s z&Attribute.dynamic_value_range_ref_attrc C s || _ dS )z� Sets the dynamic_value_range_ref_attr of this Attribute. dynamic value range reference attribute :param dynamic_value_range_ref_attr: The dynamic_value_range_ref_attr of this Attribute. :type: str NrQ )rJ r5 rL rL rM r5 < s c C s | j S )a� Gets the maximum_len of this Attribute. maximum length Allowed values for this property are: "LENGTH_FIVE", "LENGTH_SIXTEEN", "LENGTH_THIRTYTWO", "LENGTH_SIXTYFOUR", "LENGTH_ONETWOEIGHT", "LENGTH_TWOFIFTYSIX", "LENGTH_FIVETWELVE", "LENGTH_SEVENFIFTY", "LENGTH_ONE_THOUSAND", "LENGTH_TWO_THOUSAND", "LENGTH_FOUR_THOUSAND" :return: The maximum_len of this Attribute. :rtype: str )rA rP rL rL rM r6 H s zAttribute.maximum_lenc C s* g d�}t ||�s td�|���|| _dS )z� Sets the maximum_len of this Attribute. maximum length :param maximum_len: The maximum_len of this Attribute. :type: str )r r r r r r r r r r r z;Invalid value for `maximum_len`, must be None or one of {0}N)r � ValueError�formatrA )rJ r6 �allowed_valuesrL rL rM r6 V s ��c C s | j S )z� Gets the name of this Attribute. name :return: The name of this Attribute. :rtype: str �rB rP rL rL rM r7 h s zAttribute.namec C s || _ dS )z� Sets the name of this Attribute. name :param name: The name of this Attribute. :type: str NrU )rJ r7 rL rL rM r7 t s c C s | j S )z� Gets the populated_by of this Attribute. populated by Allowed values for this property are: "BACKEND_GEN", "CALLER_GEN" :return: The populated_by of this Attribute. :rtype: str )rC rP rL rL rM r8 � s zAttribute.populated_byc C s* ddg}t ||�s td�|���|| _dS )z� Sets the populated_by of this Attribute. populated by :param populated_by: The populated_by of this Attribute. :type: str r r z<Invalid value for `populated_by`, must be None or one of {0}N)r rR rS rC )rJ r8 rT rL rL rM r8 � s ��c C s | j S )z� Gets the required_in_json of this Attribute. required in JSON Allowed values for this property are: "MANDATORY", "OPTIONAL" :return: The required_in_json of this Attribute. :rtype: str )rD rP rL rL rM r9 � s zAttribute.required_in_jsonc C s* ddg}t ||�s td�|���|| _dS )z� Sets the required_in_json of this Attribute. required in JSON :param required_in_json: The required_in_json of this Attribute. :type: str r r z@Invalid value for `required_in_json`, must be None or one of {0}N)r rR rS rD )rJ r9 rT rL rL rM r9 � s ��c C s | j S )z� Gets the schema_column of this Attribute. schema column :return: The schema_column of this Attribute. :rtype: str �rE rP rL rL rM r: � s zAttribute.schema_columnc C s || _ dS )z� Sets the schema_column of this Attribute. schema column :param schema_column: The schema_column of this Attribute. :type: str NrV )rJ r: rL rL rM r: � s c C s | j S )z� Gets the is_string_exceed_maximum_length of this Attribute. is string exceed maximum length :return: The is_string_exceed_maximum_length of this Attribute. :rtype: bool �rF rP rL rL rM r; � s z)Attribute.is_string_exceed_maximum_lengthc C s || _ dS )z� Sets the is_string_exceed_maximum_length of this Attribute. is string exceed maximum length :param is_string_exceed_maximum_length: The is_string_exceed_maximum_length of this Attribute. :type: bool NrW )rJ r; rL rL rM r; � s c C s | j S )ao Gets the usage_senario of this Attribute. usage senario Allowed values for this property are: "CREATE", "UPDATE", "CREATE_AND_UPDATE", "DELETE", "RE_CREATE", "DETAIL", "LIST", "FUNCTION_WITH_LOOKUP", "DB_PATTERN", "CREATE_FIRSTTIME_T1", "UPDATE_OOB_METRIC" :return: The usage_senario of this Attribute. :rtype: str )rG rP rL rL rM r<