📂 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.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: update_rule_details.cpython-39.pyc
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 dd� Zdd� Zdd� ZdS ) �UpdateRuleDetailsz2 The rule attributes that you can update. c K sZ dddddddd�| _ ddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _dS )a Initializes a new UpdateRuleDetails 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 UpdateRuleDetails. :type display_name: str :param description: The value to assign to the description property of this UpdateRuleDetails. :type description: str :param is_enabled: The value to assign to the is_enabled property of this UpdateRuleDetails. :type is_enabled: bool :param condition: The value to assign to the condition property of this UpdateRuleDetails. :type condition: str :param actions: The value to assign to the actions property of this UpdateRuleDetails. :type actions: oci.events.models.ActionDetailsList :param freeform_tags: The value to assign to the freeform_tags property of this UpdateRuleDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateRuleDetails. :type defined_tags: dict(str, dict(str, object)) �str�boolZActionDetailsListzdict(str, str)zdict(str, dict(str, object)))�display_name�description� is_enabled� condition�actions� freeform_tags�defined_tagsZdisplayNamer Z isEnabledr r ZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map� _display_name�_description�_is_enabled� _condition�_actions�_freeform_tags� _defined_tags)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/events/models/update_rule_details.py�__init__ s. #�� zUpdateRuleDetails.__init__c C s | j S )a& Gets the display_name of this UpdateRuleDetails. 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 UpdateRuleDetails. :rtype: str �r �r r r r r P s zUpdateRuleDetails.display_namec C s || _ dS )a1 Sets the display_name of this UpdateRuleDetails. 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 UpdateRuleDetails. :type: str Nr )r r r r r r ] s c C s | j S )a3 Gets the description of this UpdateRuleDetails. 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 UpdateRuleDetails. :rtype: str �r r r r r r j s zUpdateRuleDetails.descriptionc C s || _ dS )a= Sets the description of this UpdateRuleDetails. 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 UpdateRuleDetails. :type: str Nr )r r r r r r w s c C s | j S )z� Gets the is_enabled of this UpdateRuleDetails. Whether or not this rule is currently enabled. Example: `true` :return: The is_enabled of this UpdateRuleDetails. :rtype: bool �r r r r r r � s zUpdateRuleDetails.is_enabledc C s || _ dS )z� Sets the is_enabled of this UpdateRuleDetails. Whether or not this rule is currently enabled. Example: `true` :param is_enabled: The is_enabled of this UpdateRuleDetails. :type: bool Nr )r r r r r r � s c C s | j S )am Gets the condition of this UpdateRuleDetails. 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 UpdateRuleDetails. :rtype: str �r r r r r r � s $zUpdateRuleDetails.conditionc C s || _ dS )au Sets the condition of this UpdateRuleDetails. 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 UpdateRuleDetails. :type: str Nr )r r r r r r � s $c C s | j S )z� Gets the actions of this UpdateRuleDetails. :return: The actions of this UpdateRuleDetails. :rtype: oci.events.models.ActionDetailsList �r r r r r r � s zUpdateRuleDetails.actionsc C s || _ dS )z� Sets the actions of this UpdateRuleDetails. :param actions: The actions of this UpdateRuleDetails. :type: oci.events.models.ActionDetailsList Nr! )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this UpdateRuleDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this UpdateRuleDetails. :rtype: dict(str, str) �r r r r r r s zUpdateRuleDetails.freeform_tagsc C s || _ dS )a Sets the freeform_tags of this UpdateRuleDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this UpdateRuleDetails. :type: dict(str, str) Nr"