ruạṛ
a O��fr? � @ 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/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�RulezU A generic rule object - represents an ingest time rule or a scheduled task. �ACTIVE�DELETED�INGEST_TIME�SAVED_SEARCH�FAILED� SUCCEEDEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a2 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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kind: 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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :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 �str�datetimezdict(str, str)zdict(str, dict(str, object))�bool) �id�description�compartment_id�time_created�time_updated� freeform_tags�defined_tags�lifecycle_state�kind�display_name� is_enabled�last_execution_status�time_last_executedr r � compartmentId�timeCreated�timeUpdated�freeformTags�definedTags�lifecycleStater �displayName� isEnabled�lastExecutionStatus�timeLastExecutedN)� swagger_types� attribute_map�_id�_description�_compartment_id� _time_created� _time_updated�_freeform_tags� _defined_tags�_lifecycle_state�_kind� _display_name�_is_enabled�_last_execution_status�_time_last_executed)�self�kwargs� r8 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/rule.py�__init__( sR A��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) �r6 r8 r8 r9 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 Nr; )r6 r r8 r8 r9 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* r<