ruạṛ
a O��f|e � @ 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 dRdS� Z!dTdU� Z"dVdW� Z#dXS )Y�LogAnalyticsWarningz LogAnalyticsWarning c K s ddddddddddddddddddddddddddd�| _ dddd d ddd ddddddddddddddddddd�| _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 LogAnalyticsWarning object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param agent_id: The value to assign to the agent_id property of this LogAnalyticsWarning. :type agent_id: str :param host_name: The value to assign to the host_name property of this LogAnalyticsWarning. :type host_name: str :param rule_display_name: The value to assign to the rule_display_name property of this LogAnalyticsWarning. :type rule_display_name: str :param source_name: The value to assign to the source_name property of this LogAnalyticsWarning. :type source_name: str :param compartment_id: The value to assign to the compartment_id property of this LogAnalyticsWarning. :type compartment_id: str :param source_display_name: The value to assign to the source_display_name property of this LogAnalyticsWarning. :type source_display_name: str :param entity_name: The value to assign to the entity_name property of this LogAnalyticsWarning. :type entity_name: str :param time_collected: The value to assign to the time_collected property of this LogAnalyticsWarning. :type time_collected: datetime :param warning_id: The value to assign to the warning_id property of this LogAnalyticsWarning. :type warning_id: str :param time_of_initial_warning: The value to assign to the time_of_initial_warning property of this LogAnalyticsWarning. :type time_of_initial_warning: datetime :param is_active: The value to assign to the is_active property of this LogAnalyticsWarning. :type is_active: bool :param is_suppressed: The value to assign to the is_suppressed property of this LogAnalyticsWarning. :type is_suppressed: bool :param time_of_latest_warning: The value to assign to the time_of_latest_warning property of this LogAnalyticsWarning. :type time_of_latest_warning: datetime :param warning_level: The value to assign to the warning_level property of this LogAnalyticsWarning. :type warning_level: str :param warning_message: The value to assign to the warning_message property of this LogAnalyticsWarning. :type warning_message: str :param pattern_id: The value to assign to the pattern_id property of this LogAnalyticsWarning. :type pattern_id: str :param pattern_text: The value to assign to the pattern_text property of this LogAnalyticsWarning. :type pattern_text: str :param rule_id: The value to assign to the rule_id property of this LogAnalyticsWarning. :type rule_id: str :param source_id: The value to assign to the source_id property of this LogAnalyticsWarning. :type source_id: str :param suppressed_by: The value to assign to the suppressed_by property of this LogAnalyticsWarning. :type suppressed_by: str :param entity_id: The value to assign to the entity_id property of this LogAnalyticsWarning. :type entity_id: str :param entity_type: The value to assign to the entity_type property of this LogAnalyticsWarning. :type entity_type: str :param entity_type_display_name: The value to assign to the entity_type_display_name property of this LogAnalyticsWarning. :type entity_type_display_name: str :param type_display_name: The value to assign to the type_display_name property of this LogAnalyticsWarning. :type type_display_name: str :param type_name: The value to assign to the type_name property of this LogAnalyticsWarning. :type type_name: str :param severity: The value to assign to the severity property of this LogAnalyticsWarning. :type severity: int �str�datetime�bool�int)�agent_id� host_name�rule_display_name�source_name�compartment_id�source_display_name�entity_name�time_collected� warning_id�time_of_initial_warning� is_active� is_suppressed�time_of_latest_warning� warning_level�warning_message� pattern_id�pattern_text�rule_id� source_id� suppressed_by� entity_id�entity_type�entity_type_display_name�type_display_name� type_name�severity�agentId�hostName�ruleDisplayName� sourceName� compartmentId�sourceDisplayName� entityName� timeCollected� warningId�timeOfInitialWarning�isActive�isSuppressed�timeOfLatestWarning�warningLevel�warningMessage� patternId�patternText�ruleId�sourceId�suppressedBy�entityId� entityType�entityTypeDisplayName�typeDisplayName�typeNamer$ N)� swagger_types� attribute_map� _agent_id� _host_name�_rule_display_name�_source_name�_compartment_id�_source_display_name�_entity_name�_time_collected�_warning_id�_time_of_initial_warning� _is_active�_is_suppressed�_time_of_latest_warning�_warning_level�_warning_message�_pattern_id� _pattern_text�_rule_id� _source_id�_suppressed_by� _entity_id�_entity_type�_entity_type_display_name�_type_display_name� _type_name� _severity)�self�kwargs� r\ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/log_analytics_warning.py�__init__ s� o��zLogAnalyticsWarning.__init__c C s | j S )z� Gets the agent_id of this LogAnalyticsWarning. The unique identifier of the agent associated with the warning :return: The agent_id of this LogAnalyticsWarning. :rtype: str �r@ �rZ r\ r\ r] r � s zLogAnalyticsWarning.agent_idc C s || _ dS )z� Sets the agent_id of this LogAnalyticsWarning. The unique identifier of the agent associated with the warning :param agent_id: The agent_id of this LogAnalyticsWarning. :type: str Nr_ )rZ r r\ r\ r] r � s c C s | j S )z� Gets the host_name of this LogAnalyticsWarning. The host containing the agent associated with the warning :return: The host_name of this LogAnalyticsWarning. :rtype: str �rA r` r\ r\ r] r � s zLogAnalyticsWarning.host_namec C s || _ dS )z� Sets the host_name of this LogAnalyticsWarning. The host containing the agent associated with the warning :param host_name: The host_name of this LogAnalyticsWarning. :type: str Nra )rZ r r\ r\ r] r � s c C s | j S )z� Gets the rule_display_name of this LogAnalyticsWarning. The display name of the rule which triggered the warning :return: The rule_display_name of this LogAnalyticsWarning. :rtype: str �rB r` r\ r\ r] r s z%LogAnalyticsWarning.rule_display_namec C s || _ dS )z� Sets the rule_display_name of this LogAnalyticsWarning. The display name of the rule which triggered the warning :param rule_display_name: The rule_display_name of this LogAnalyticsWarning. :type: str Nrb )rZ r r\ r\ r] r s c C s | j S )z� Gets the source_name of this LogAnalyticsWarning. The name of the source associated with the warning :return: The source_name of this LogAnalyticsWarning. :rtype: str �rC r` r\ r\ r] r s zLogAnalyticsWarning.source_namec C s || _ dS )z� Sets the source_name of this LogAnalyticsWarning. The name of the source associated with the warning :param source_name: The source_name of this LogAnalyticsWarning. :type: str Nrc )rZ r r\ r\ r] r ' s c C s | j S )z� Gets the compartment_id of this LogAnalyticsWarning. The entity compartment ID. :return: The compartment_id of this LogAnalyticsWarning. :rtype: str �rD r` r\ r\ r] r 3 s z"LogAnalyticsWarning.compartment_idc C s || _ dS )z� Sets the compartment_id of this LogAnalyticsWarning. The entity compartment ID. :param compartment_id: The compartment_id of this LogAnalyticsWarning. :type: str Nrd )rZ r r\ r\ r] r ? s c C s | j S )z� Gets the source_display_name of this LogAnalyticsWarning. The display name of the source associated with the warning :return: The source_display_name of this LogAnalyticsWarning. :rtype: str �rE r` r\ r\ r] r K s z'LogAnalyticsWarning.source_display_namec C s || _ dS )z� Sets the source_display_name of this LogAnalyticsWarning. The display name of the source associated with the warning :param source_display_name: The source_display_name of this LogAnalyticsWarning. :type: str Nre )rZ r r\ r\ r] r W s c C s | j S )z� Gets the entity_name of this LogAnalyticsWarning. The name of the entity associated with the warning :return: The entity_name of this LogAnalyticsWarning. :rtype: str �rF r` r\ r\ r] r c s zLogAnalyticsWarning.entity_namec C s || _ dS )z� Sets the entity_name of this LogAnalyticsWarning. The name of the entity associated with the warning :param entity_name: The entity_name of this LogAnalyticsWarning. :type: str Nrf )rZ r r\ r\ r] r o s c C s | j S )z� Gets the time_collected of this LogAnalyticsWarning. The time at which the warning was most recently collected :return: The time_collected of this LogAnalyticsWarning. :rtype: datetime �rG r` r\ r\ r] r { s z"LogAnalyticsWarning.time_collectedc C s || _ dS )z� Sets the time_collected of this LogAnalyticsWarning. The time at which the warning was most recently collected :param time_collected: The time_collected of this LogAnalyticsWarning. :type: datetime Nrg )rZ r r\ r\ r] r � s c C s | j S )z� Gets the warning_id of this LogAnalyticsWarning. The unique identifier of the warning :return: The warning_id of this LogAnalyticsWarning. :rtype: str �rH r` r\ r\ r] r � s zLogAnalyticsWarning.warning_idc C s || _ dS )z� Sets the warning_id of this LogAnalyticsWarning. The unique identifier of the warning :param warning_id: The warning_id of this LogAnalyticsWarning. :type: str Nrh )rZ r r\ r\ r] r � s c C s | j S )z� Gets the time_of_initial_warning of this LogAnalyticsWarning. The date at which the warning was initially triggered :return: The time_of_initial_warning of this LogAnalyticsWarning. :rtype: datetime �rI r` r\ r\ r] r � s z+LogAnalyticsWarning.time_of_initial_warningc C s || _ dS )a Sets the time_of_initial_warning of this LogAnalyticsWarning. The date at which the warning was initially triggered :param time_of_initial_warning: The time_of_initial_warning of this LogAnalyticsWarning. :type: datetime Nri )rZ r r\ r\ r] r � s c C s | j S )z� Gets the is_active of this LogAnalyticsWarning. A flag indicating if the warning is currently active :return: The is_active of this LogAnalyticsWarning. :rtype: bool �rJ r` r\ r\ r] r � s zLogAnalyticsWarning.is_activec C s || _ dS )z� Sets the is_active of this LogAnalyticsWarning. A flag indicating if the warning is currently active :param is_active: The is_active of this LogAnalyticsWarning. :type: bool Nrj )rZ r r\ r\ r] r � s c C s | j S )z� Gets the is_suppressed of this LogAnalyticsWarning. A flag indicating if the warning is currently suppressed :return: The is_suppressed of this LogAnalyticsWarning. :rtype: bool �rK r` r\ r\ r] r � s z!LogAnalyticsWarning.is_suppressedc C s || _ dS )z� Sets the is_suppressed of this LogAnalyticsWarning. A flag indicating if the warning is currently suppressed :param is_suppressed: The is_suppressed of this LogAnalyticsWarning. :type: bool Nrk )rZ r r\ r\ r] r � s c C s | j S )z� Gets the time_of_latest_warning of this LogAnalyticsWarning. The most recent date on which the warning was triggered :return: The time_of_latest_warning of this LogAnalyticsWarning. :rtype: datetime �rL r` r\ r\ r] r � s z*LogAnalyticsWarning.time_of_latest_warningc C s || _ dS )a Sets the time_of_latest_warning of this LogAnalyticsWarning. The most recent date on which the warning was triggered :param time_of_latest_warning: The time_of_latest_warning of this LogAnalyticsWarning. :type: datetime Nrl )rZ r r\ r\ r] r � s c C s | j S )z� Gets the warning_level of this LogAnalyticsWarning. The warning level - either pattern, rule, or source. :return: The warning_level of this LogAnalyticsWarning. :rtype: str �rM r` r\ r\ r] r s z!LogAnalyticsWarning.warning_levelc C s || _ dS )z� Sets the warning_level of this LogAnalyticsWarning. The warning level - either pattern, rule, or source. :param warning_level: The warning_level of this LogAnalyticsWarning. :type: str Nrm )rZ r r\ r\ r] r s c C s | j S )a� Gets the warning_message of this LogAnalyticsWarning. A description of the warning intended for the consumer of the warning. It will usually detail the cause of the warning, may suggest a remedy, and can contain any other relevant information the consumer might find useful :return: The warning_message of this LogAnalyticsWarning. :rtype: str �rN r` r\ r\ r] r # s z#LogAnalyticsWarning.warning_messagec C s || _ dS )a� Sets the warning_message of this LogAnalyticsWarning. A description of the warning intended for the consumer of the warning. It will usually detail the cause of the warning, may suggest a remedy, and can contain any other relevant information the consumer might find useful :param warning_message: The warning_message of this LogAnalyticsWarning. :type: str Nrn )rZ r r\ r\ r] r 1 s c C s | j S )z� Gets the pattern_id of this LogAnalyticsWarning. The unique identifier of the warning pattern :return: The pattern_id of this LogAnalyticsWarning. :rtype: str �rO r` r\ r\ r] r ? s zLogAnalyticsWarning.pattern_idc C s || _ dS )z� Sets the pattern_id of this LogAnalyticsWarning. The unique identifier of the warning pattern :param pattern_id: The pattern_id of this LogAnalyticsWarning. :type: str Nro )rZ r r\ r\ r] r K s c C s | j S )z� Gets the pattern_text of this LogAnalyticsWarning. The text of the pattern used by the warning :return: The pattern_text of this LogAnalyticsWarning. :rtype: str �rP r` r\ r\ r] r W s z LogAnalyticsWarning.pattern_textc C s || _ dS )z� Sets the pattern_text of this LogAnalyticsWarning. The text of the pattern used by the warning :param pattern_text: The pattern_text of this LogAnalyticsWarning. :type: str Nrp )rZ r r\ r\ r] r c s c C s | j S )z� Gets the rule_id of this LogAnalyticsWarning. The unique identifier of the rule associated with the warning :return: The rule_id of this LogAnalyticsWarning. :rtype: str �rQ r` r\ r\ r] r o s zLogAnalyticsWarning.rule_idc C s || _ dS )z� Sets the rule_id of this LogAnalyticsWarning. The unique identifier of the rule associated with the warning :param rule_id: The rule_id of this LogAnalyticsWarning. :type: str Nrq )rZ r r\ r\ r] r { s c C s | j S )z� Gets the source_id of this LogAnalyticsWarning. The unique identifier of the source associated with the warning :return: The source_id of this LogAnalyticsWarning. :rtype: str �rR r` r\ r\ r] r � s zLogAnalyticsWarning.source_idc C s || _ dS )z� Sets the source_id of this LogAnalyticsWarning. The unique identifier of the source associated with the warning :param source_id: The source_id of this LogAnalyticsWarning. :type: str Nrr )rZ r r\ r\ r] r � s c C s | j S )z� Gets the suppressed_by of this LogAnalyticsWarning. The user who suppressed the warning, or empty if the warning is not suppressed :return: The suppressed_by of this LogAnalyticsWarning. :rtype: str �rS r` r\ r\ r] r � s z!LogAnalyticsWarning.suppressed_byc C s || _ dS )z� Sets the suppressed_by of this LogAnalyticsWarning. The user who suppressed the warning, or empty if the warning is not suppressed :param suppressed_by: The suppressed_by of this LogAnalyticsWarning. :type: str Nrs )rZ r r\ r\ r] r � s c C s | j S )z� Gets the entity_id of this LogAnalyticsWarning. The unique identifier of the entity associated with the warning :return: The entity_id of this LogAnalyticsWarning. :rtype: str �rT r` r\ r\ r] r � s zLogAnalyticsWarning.entity_idc C s || _ dS )z� Sets the entity_id of this LogAnalyticsWarning. The unique identifier of the entity associated with the warning :param entity_id: The entity_id of this LogAnalyticsWarning. :type: str Nrt )rZ r r\ r\ r] r � s c C s | j S )z� Gets the entity_type of this LogAnalyticsWarning. The type of the entity associated with the warning :return: The entity_type of this LogAnalyticsWarning. :rtype: str �rU r` r\ r\ r] r � s zLogAnalyticsWarning.entity_typec C s || _ dS )z� Sets the entity_type of this LogAnalyticsWarning. The type of the entity associated with the warning :param entity_type: The entity_type of this LogAnalyticsWarning. :type: str Nru )rZ r r\ r\ r] r � s c C s | j S )z� Gets the entity_type_display_name of this LogAnalyticsWarning. The display name of the entity type associated with the warning :return: The entity_type_display_name of this LogAnalyticsWarning. :rtype: str �rV r` r\ r\ r] r! � s z,LogAnalyticsWarning.entity_type_display_namec C s || _ dS )a Sets the entity_type_display_name of this LogAnalyticsWarning. The display name of the entity type associated with the warning :param entity_type_display_name: The entity_type_display_name of this LogAnalyticsWarning. :type: str Nrv )rZ r! r\ r\ r] r! � s c C s | j S )z� Gets the type_display_name of this LogAnalyticsWarning. The display name of the warning type :return: The type_display_name of this LogAnalyticsWarning. :rtype: str �rW r` r\ r\ r] r"