ruạṛ
a ���fDA � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�RulezU A generic rule object - represents an ingest time rule or a scheduled task. �ACTIVE�DELETED�INGEST_TIME�SAVED_SEARCH�FAILED� SUCCEEDEDc K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )aV Initializes a new Rule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Rule. :type id: str :param description: The value to assign to the description property of this Rule. :type description: str :param compartment_id: The value to assign to the compartment_id property of this Rule. :type compartment_id: str :param time_created: The value to assign to the time_created property of this Rule. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Rule. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this Rule. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Rule. :type defined_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this Rule. Allowed values for this property are: "ACTIVE", "DELETED" :type lifecycle_state: str :param kind: The value to assign to the kind property of this Rule. Allowed values for this property are: "INGEST_TIME", "SAVED_SEARCH" :type kind: str :param target_service: The value to assign to the target_service property of this Rule. :type target_service: str :param display_name: The value to assign to the display_name property of this Rule. :type display_name: str :param is_enabled: The value to assign to the is_enabled property of this Rule. :type is_enabled: bool :param last_execution_status: The value to assign to the last_execution_status property of this Rule. Allowed values for this property are: "FAILED", "SUCCEEDED" :type last_execution_status: str :param time_last_executed: The value to assign to the time_last_executed property of this Rule. :type time_last_executed: datetime �strZdatetimezdict(str, str)zdict(str, dict(str, object))�bool)�id�description�compartment_id�time_created�time_updated� freeform_tags�defined_tags�lifecycle_state�kind�target_service�display_name� is_enabled�last_execution_status�time_last_executedr r Z compartmentIdZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZlifecycleStater Z targetServiceZdisplayNameZ isEnabledZlastExecutionStatusZtimeLastExecutedN)Z swagger_typesZ attribute_map�_id�_description�_compartment_id� _time_created� _time_updated�_freeform_tags� _defined_tags�_lifecycle_state�_kind�_target_service� _display_name�_is_enabled�_last_execution_status�_time_last_executed)�self�kwargs� r- �A/usr/lib/python3.9/site-packages/oci/log_analytics/models/rule.py�__init__* sX B��z Rule.__init__c C s | j S )aK **[Required]** Gets the id of this Rule. The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud. :return: The id of this Rule. :rtype: str �r �r+ r- r- r. r � s zRule.idc C s || _ dS )a= Sets the id of this Rule. The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud. :param id: The id of this Rule. :type: str Nr0 )r+ r r- r- r. r � s c C s | j S )z� Gets the description of this Rule. Description for this resource. :return: The description of this Rule. :rtype: str �r r1 r- r- r. r � s zRule.descriptionc C s || _ dS )z� Sets the description of this Rule. Description for this resource. :param description: The description of this Rule. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )a **[Required]** Gets the compartment_id of this Rule. Compartment Identifier `OCID]`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Rule. :rtype: str �r r1 r- r- r. r � s zRule.compartment_idc C s || _ dS )a Sets the compartment_id of this Rule. Compartment Identifier `OCID]`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Rule. :type: str Nr3 )r+ r r- r- r. r � s c C s | j S )z� Gets the time_created of this Rule. The date and time the resource was created, in the format defined by RFC3339. :return: The time_created of this Rule. :rtype: datetime �r r1 r- r- r. r � s zRule.time_createdc C s || _ dS )z� Sets the time_created of this Rule. The date and time the resource was created, in the format defined by RFC3339. :param time_created: The time_created of this Rule. :type: datetime Nr4 )r+ r r- r- r. r � s c C s | j S )z� Gets the time_updated of this Rule. The date and time the resource was last updated, in the format defined by RFC3339. :return: The time_updated of this Rule. :rtype: datetime �r! r1 r- r- r. r s zRule.time_updatedc C s || _ dS )z� Sets the time_updated of this Rule. The date and time the resource was last updated, in the format defined by RFC3339. :param time_updated: The time_updated of this Rule. :type: datetime Nr5 )r+ r r- r- r. r s c C s | j S )a/ Gets the freeform_tags of this Rule. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this Rule. :rtype: dict(str, str) �r"