ruạṛ
a ���f&� � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zed=d>� �Zejd?d>� �Zed@dA� �ZejdBdA� �ZedCdD� �ZejdEdD� �ZedFdG� �ZejdHdG� �ZedIdJ� �ZejdKdJ� �ZedLdM� �ZejdNdM� �ZedOdP� �Z e jdQdP� �Z edRdS� �Z!e!jdTdS� �Z!edUdV� �Z"e"jdWdV� �Z"edXdY� �Z#e#jdZdY� �Z#ed[d\� �Z$e$jd]d\� �Z$ed^d_� �Z%e%jd`d_� �Z%edadb� �Z&e&jdcdb� �Z&eddde� �Z'e'jdfde� �Z'edgdh� �Z(e(jdidh� �Z(edjdk� �Z)e)jdldk� �Z)edmdn� �Z*e*jdodn� �Z*edpdq� �Z+e+jdrdq� �Z+edsdt� �Z,e,jdudt� �Z,edvdw� �Z-e-jdxdw� �Z-dydz� Z.d{d|� Z/d}d~� Z0dS )��LogAnalyticsSourcez LogAnalyticsSource c ( K s� ddddddddd d dddd dddddddddddddddddddddddddd�'| _ ddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d�'| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _ d?| _ d?| _d?| _d?| _ d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _d?| _ d?| _!d?| _"d?| _#d?| _$d?| _%d?| _&d?| _'d?| _(d?S )@a� Initializes a new LogAnalyticsSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param label_conditions: The value to assign to the label_conditions property of this LogAnalyticsSource. :type label_conditions: list[oci.log_analytics.models.LogAnalyticsSourceLabelCondition] :param association_count: The value to assign to the association_count property of this LogAnalyticsSource. :type association_count: int :param association_entity: The value to assign to the association_entity property of this LogAnalyticsSource. :type association_entity: list[oci.log_analytics.models.LogAnalyticsAssociation] :param data_filter_definitions: The value to assign to the data_filter_definitions property of this LogAnalyticsSource. :type data_filter_definitions: list[oci.log_analytics.models.LogAnalyticsSourceDataFilter] :param database_credential: The value to assign to the database_credential property of this LogAnalyticsSource. :type database_credential: str :param extended_field_definitions: The value to assign to the extended_field_definitions property of this LogAnalyticsSource. :type extended_field_definitions: list[oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition] :param is_for_cloud: The value to assign to the is_for_cloud property of this LogAnalyticsSource. :type is_for_cloud: bool :param labels: The value to assign to the labels property of this LogAnalyticsSource. :type labels: list[oci.log_analytics.models.LogAnalyticsLabelView] :param metric_definitions: The value to assign to the metric_definitions property of this LogAnalyticsSource. :type metric_definitions: list[oci.log_analytics.models.LogAnalyticsMetric] :param metrics: The value to assign to the metrics property of this LogAnalyticsSource. :type metrics: list[oci.log_analytics.models.LogAnalyticsSourceMetric] :param oob_parsers: The value to assign to the oob_parsers property of this LogAnalyticsSource. :type oob_parsers: list[oci.log_analytics.models.LogAnalyticsParser] :param parameters: The value to assign to the parameters property of this LogAnalyticsSource. :type parameters: list[oci.log_analytics.models.LogAnalyticsParameter] :param pattern_count: The value to assign to the pattern_count property of this LogAnalyticsSource. :type pattern_count: int :param patterns: The value to assign to the patterns property of this LogAnalyticsSource. :type patterns: list[oci.log_analytics.models.LogAnalyticsSourcePattern] :param description: The value to assign to the description property of this LogAnalyticsSource. :type description: str :param display_name: The value to assign to the display_name property of this LogAnalyticsSource. :type display_name: str :param edit_version: The value to assign to the edit_version property of this LogAnalyticsSource. :type edit_version: int :param functions: The value to assign to the functions property of this LogAnalyticsSource. :type functions: list[oci.log_analytics.models.LogAnalyticsSourceFunction] :param source_id: The value to assign to the source_id property of this LogAnalyticsSource. :type source_id: int :param name: The value to assign to the name property of this LogAnalyticsSource. :type name: str :param is_secure_content: The value to assign to the is_secure_content property of this LogAnalyticsSource. :type is_secure_content: bool :param is_system: The value to assign to the is_system property of this LogAnalyticsSource. :type is_system: bool :param parsers: The value to assign to the parsers property of this LogAnalyticsSource. :type parsers: list[oci.log_analytics.models.LogAnalyticsParser] :param is_auto_association_enabled: The value to assign to the is_auto_association_enabled property of this LogAnalyticsSource. :type is_auto_association_enabled: bool :param is_auto_association_override: The value to assign to the is_auto_association_override property of this LogAnalyticsSource. :type is_auto_association_override: bool :param rule_id: The value to assign to the rule_id property of this LogAnalyticsSource. :type rule_id: int :param type_name: The value to assign to the type_name property of this LogAnalyticsSource. :type type_name: str :param type_display_name: The value to assign to the type_display_name property of this LogAnalyticsSource. :type type_display_name: str :param warning_config: The value to assign to the warning_config property of this LogAnalyticsSource. :type warning_config: int :param metadata_fields: The value to assign to the metadata_fields property of this LogAnalyticsSource. :type metadata_fields: list[oci.log_analytics.models.LogAnalyticsSourceMetadataField] :param label_definitions: The value to assign to the label_definitions property of this LogAnalyticsSource. :type label_definitions: list[oci.log_analytics.models.LogAnalyticsLabelDefinition] :param entity_types: The value to assign to the entity_types property of this LogAnalyticsSource. :type entity_types: list[oci.log_analytics.models.LogAnalyticsSourceEntityType] :param is_timezone_override: The value to assign to the is_timezone_override property of this LogAnalyticsSource. :type is_timezone_override: bool :param user_parsers: The value to assign to the user_parsers property of this LogAnalyticsSource. :type user_parsers: list[oci.log_analytics.models.LogAnalyticsParser] :param time_updated: The value to assign to the time_updated property of this LogAnalyticsSource. :type time_updated: datetime :param event_types: The value to assign to the event_types property of this LogAnalyticsSource. :type event_types: list[oci.log_analytics.models.EventType] :param categories: The value to assign to the categories property of this LogAnalyticsSource. :type categories: list[oci.log_analytics.models.LogAnalyticsCategory] :param endpoints: The value to assign to the endpoints property of this LogAnalyticsSource. :type endpoints: list[oci.log_analytics.models.LogAnalyticsEndpoint] :param source_properties: The value to assign to the source_properties property of this LogAnalyticsSource. :type source_properties: list[oci.log_analytics.models.LogAnalyticsProperty] z&list[LogAnalyticsSourceLabelCondition]�intzlist[LogAnalyticsAssociation]z"list[LogAnalyticsSourceDataFilter]�strz/list[LogAnalyticsSourceExtendedFieldDefinition]�boolzlist[LogAnalyticsLabelView]zlist[LogAnalyticsMetric]zlist[LogAnalyticsSourceMetric]zlist[LogAnalyticsParser]zlist[LogAnalyticsParameter]zlist[LogAnalyticsSourcePattern]z list[LogAnalyticsSourceFunction]z%list[LogAnalyticsSourceMetadataField]z!list[LogAnalyticsLabelDefinition]z"list[LogAnalyticsSourceEntityType]Zdatetimezlist[EventType]zlist[LogAnalyticsCategory]zlist[LogAnalyticsEndpoint]zlist[LogAnalyticsProperty])'�label_conditions�association_count�association_entity�data_filter_definitions�database_credential�extended_field_definitions�is_for_cloud�labels�metric_definitions�metrics�oob_parsers� parameters� pattern_count�patterns�description�display_name�edit_version� functions� source_id�name�is_secure_content� is_system�parsers�is_auto_association_enabled�is_auto_association_override�rule_id� type_name�type_display_name�warning_config�metadata_fields�label_definitions�entity_types�is_timezone_override�user_parsers�time_updated�event_types� categories� endpoints�source_propertiesZlabelConditionsZassociationCountZassociationEntityZdataFilterDefinitionsZdatabaseCredentialZextendedFieldDefinitionsZ isForCloudr ZmetricDefinitionsr Z oobParsersr ZpatternCountr r ZdisplayNameZeditVersionr ZsourceIdr ZisSecureContentZisSystemr ZisAutoAssociationEnabledZisAutoAssociationOverrideZruleIdZtypeNameZtypeDisplayNameZ warningConfigZmetadataFieldsZlabelDefinitionsZentityTypesZisTimezoneOverrideZuserParsersZtimeUpdatedZ eventTypesr. r/ ZsourcePropertiesN))Z swagger_typesZ attribute_map�_label_conditions�_association_count�_association_entity�_data_filter_definitions�_database_credential�_extended_field_definitions� _is_for_cloud�_labels�_metric_definitions�_metrics�_oob_parsers�_parameters�_pattern_count� _patterns�_description� _display_name� _edit_version� _functions� _source_id�_name�_is_secure_content� _is_system�_parsers�_is_auto_association_enabled�_is_auto_association_override�_rule_id� _type_name�_type_display_name�_warning_config�_metadata_fields�_label_definitions� _entity_types�_is_timezone_override� _user_parsers� _time_updated�_event_types�_categories� _endpoints�_source_properties)�self�kwargs� rZ �Q/usr/lib/python3.9/site-packages/oci/log_analytics/models/log_analytics_source.py�__init__ s� $�+�*zLogAnalyticsSource.__init__c C s | j S )z� Gets the label_conditions of this LogAnalyticsSource. The label alert conditions. :return: The label_conditions of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsSourceLabelCondition] �r1 �rX rZ rZ r[ r 0 s z#LogAnalyticsSource.label_conditionsc C s || _ dS )a Sets the label_conditions of this LogAnalyticsSource. The label alert conditions. :param label_conditions: The label_conditions of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsSourceLabelCondition] Nr] )rX r rZ rZ r[ r < s c C s | j S )z� Gets the association_count of this LogAnalyticsSource. The association count. :return: The association_count of this LogAnalyticsSource. :rtype: int �r2 r^ rZ rZ r[ r H s z$LogAnalyticsSource.association_countc C s || _ dS )z� Sets the association_count of this LogAnalyticsSource. The association count. :param association_count: The association_count of this LogAnalyticsSource. :type: int Nr_ )rX r rZ rZ r[ r T s c C s | j S )z� Gets the association_entity of this LogAnalyticsSource. The association entities. :return: The association_entity of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsAssociation] �r3 r^ rZ rZ r[ r ` s z%LogAnalyticsSource.association_entityc C s || _ dS )a Sets the association_entity of this LogAnalyticsSource. The association entities. :param association_entity: The association_entity of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsAssociation] Nr` )rX r rZ rZ r[ r l s c C s | j S )a Gets the data_filter_definitions of this LogAnalyticsSource. The data filter definitions. :return: The data_filter_definitions of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsSourceDataFilter] �r4 r^ rZ rZ r[ r x s z*LogAnalyticsSource.data_filter_definitionsc C s || _ dS )a Sets the data_filter_definitions of this LogAnalyticsSource. The data filter definitions. :param data_filter_definitions: The data_filter_definitions of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsSourceDataFilter] Nra )rX r rZ rZ r[ r � s c C s | j S )z� Gets the database_credential of this LogAnalyticsSource. The database credential. :return: The database_credential of this LogAnalyticsSource. :rtype: str �r5 r^ rZ rZ r[ r � s z&LogAnalyticsSource.database_credentialc C s || _ dS )z� Sets the database_credential of this LogAnalyticsSource. The database credential. :param database_credential: The database_credential of this LogAnalyticsSource. :type: str Nrb )rX r rZ rZ r[ r � s c C s | j S )a Gets the extended_field_definitions of this LogAnalyticsSource. The extended field definitions. :return: The extended_field_definitions of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition] �r6 r^ rZ rZ r[ r � s z-LogAnalyticsSource.extended_field_definitionsc C s || _ dS )a9 Sets the extended_field_definitions of this LogAnalyticsSource. The extended field definitions. :param extended_field_definitions: The extended_field_definitions of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition] Nrc )rX r rZ rZ r[ r � s c C s | j S )z� Gets the is_for_cloud of this LogAnalyticsSource. A flag indicating whether or not this is a cloud source. :return: The is_for_cloud of this LogAnalyticsSource. :rtype: bool �r7 r^ rZ rZ r[ r � s zLogAnalyticsSource.is_for_cloudc C s || _ dS )z� Sets the is_for_cloud of this LogAnalyticsSource. A flag indicating whether or not this is a cloud source. :param is_for_cloud: The is_for_cloud of this LogAnalyticsSource. :type: bool Nrd )rX r rZ rZ r[ r � s c C s | j S )z� Gets the labels of this LogAnalyticsSource. The labels associated with the source. :return: The labels of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsLabelView] �r8 r^ rZ rZ r[ r � s zLogAnalyticsSource.labelsc C s || _ dS )z� Sets the labels of this LogAnalyticsSource. The labels associated with the source. :param labels: The labels of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsLabelView] Nre )rX r rZ rZ r[ r � s c C s | j S )z� Gets the metric_definitions of this LogAnalyticsSource. The metric definitions. :return: The metric_definitions of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsMetric] �r9 r^ rZ rZ r[ r � s z%LogAnalyticsSource.metric_definitionsc C s || _ dS )a Sets the metric_definitions of this LogAnalyticsSource. The metric definitions. :param metric_definitions: The metric_definitions of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsMetric] Nrf )rX r rZ rZ r[ r � s c C s | j S )z� Gets the metrics of this LogAnalyticsSource. The metric source map. :return: The metrics of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsSourceMetric] �r: r^ rZ rZ r[ r s zLogAnalyticsSource.metricsc C s || _ dS )z� Sets the metrics of this LogAnalyticsSource. The metric source map. :param metrics: The metrics of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsSourceMetric] Nrg )rX r rZ rZ r[ r s c C s | j S )z� Gets the oob_parsers of this LogAnalyticsSource. The built in parsers associated with source. :return: The oob_parsers of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsParser] �r; r^ rZ rZ r[ r s zLogAnalyticsSource.oob_parsersc C s || _ dS )a Sets the oob_parsers of this LogAnalyticsSource. The built in parsers associated with source. :param oob_parsers: The oob_parsers of this LogAnalyticsSource. :type: list[oci.log_analytics.models.LogAnalyticsParser] Nrh )rX r rZ rZ r[ r , s c C s | j S )z� Gets the parameters of this LogAnalyticsSource. The source parameters. :return: The parameters of this LogAnalyticsSource. :rtype: list[oci.log_analytics.models.LogAnalyticsParameter] �r<