📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
events
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/events/models/__pycache__
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_rule_details.cpython-39.pyc
a ���f{3 � @ 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� �Zdd� Zdd� Zd d!� Zd"S )#�CreateRuleDetailsz' Object used to create a rule. c K sd ddddddddd�| _ ddd d ddd dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a� Initializes a new CreateRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateRuleDetails. :type display_name: str :param description: The value to assign to the description property of this CreateRuleDetails. :type description: str :param is_enabled: The value to assign to the is_enabled property of this CreateRuleDetails. :type is_enabled: bool :param condition: The value to assign to the condition property of this CreateRuleDetails. :type condition: str :param compartment_id: The value to assign to the compartment_id property of this CreateRuleDetails. :type compartment_id: str :param actions: The value to assign to the actions property of this CreateRuleDetails. :type actions: oci.events.models.ActionDetailsList :param freeform_tags: The value to assign to the freeform_tags property of this CreateRuleDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateRuleDetails. :type defined_tags: dict(str, dict(str, object)) �str�boolZActionDetailsListzdict(str, str)zdict(str, dict(str, object)))�display_name�description� is_enabled� condition�compartment_id�actions� freeform_tags�defined_tagsZdisplayNamer Z isEnabledr Z compartmentIdr ZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map� _display_name�_description�_is_enabled� _condition�_compartment_id�_actions�_freeform_tags� _defined_tags)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/events/models/create_rule_details.py�__init__ s4 '��zCreateRuleDetails.__init__c C s | j S )a5 **[Required]** Gets the display_name of this CreateRuleDetails. A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. :return: The display_name of this CreateRuleDetails. :rtype: str �r �r r r r r W s zCreateRuleDetails.display_namec C s || _ dS )a1 Sets the display_name of this CreateRuleDetails. A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. :param display_name: The display_name of this CreateRuleDetails. :type: str Nr )r r r r r r d s c C s | j S )a3 Gets the description of this CreateRuleDetails. A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. :return: The description of this CreateRuleDetails. :rtype: str �r r r r r r q s zCreateRuleDetails.descriptionc C s || _ dS )a= Sets the description of this CreateRuleDetails. A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. :param description: The description of this CreateRuleDetails. :type: str Nr )r r r r r r ~ s c C s | j S )z� **[Required]** Gets the is_enabled of this CreateRuleDetails. Whether or not this rule is currently enabled. Example: `true` :return: The is_enabled of this CreateRuleDetails. :rtype: bool �r r r r r r � s zCreateRuleDetails.is_enabledc C s || _ dS )z� Sets the is_enabled of this CreateRuleDetails. Whether or not this rule is currently enabled. Example: `true` :param is_enabled: The is_enabled of this CreateRuleDetails. :type: bool Nr! )r r r r r r � s c C s | j S )a| **[Required]** Gets the condition of this CreateRuleDetails. A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` For more examples, see `Matching Events with Filters`__. * For a condition with fields to match an event, the event must contain all the field names listed in the condition. Field names must appear in the condition with the same nesting structure used in the event. For a list of reference events, see `Services that Produce Events`__. * Rules apply to events in the compartment in which you create them and any child compartments. This means that a condition specified by a rule only matches events emitted from resources in the compartment or any of its child compartments. * Wildcard matching is supported with the asterisk (*) character. For examples of wildcard matching, see `Matching Events with Filters`__ Example: `\"eventType\": \"com.oraclecloud.databaseservice.autonomous.database.backup.end\"` __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Reference/eventsproducers.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm :return: The condition of this CreateRuleDetails. :rtype: str �r r r r r r � s $zCreateRuleDetails.conditionc C s || _ dS )au Sets the condition of this CreateRuleDetails. A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` For more examples, see `Matching Events with Filters`__. * For a condition with fields to match an event, the event must contain all the field names listed in the condition. Field names must appear in the condition with the same nesting structure used in the event. For a list of reference events, see `Services that Produce Events`__. * Rules apply to events in the compartment in which you create them and any child compartments. This means that a condition specified by a rule only matches events emitted from resources in the compartment or any of its child compartments. * Wildcard matching is supported with the asterisk (*) character. For examples of wildcard matching, see `Matching Events with Filters`__ Example: `\"eventType\": \"com.oraclecloud.databaseservice.autonomous.database.backup.end\"` __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Reference/eventsproducers.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm :param condition: The condition of this CreateRuleDetails. :type: str Nr"