ruạṛ
a ���f. � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Rule� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )� AllowRulea� An object that represents the action of configuring an access control rule. Access control rules permit access to application resources based on user-specified match conditions. This rule applies only to HTTP listeners. **NOTES:** * If you do not specify any access control rules, the default rule is to allow all traffic. * If you add access control rules, the load balancer denies any traffic that does not match the rules. * Maximum of two match conditions can be specified in a rule. * You can specify this rule only with the following `RuleCondition` combinations: * `SOURCE_IP_ADDRESS` * `SOURCE_VCN_ID` * `SOURCE_VCN_ID", "SOURCE_VCN_IP_ADDRESS` c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) aM Initializes a new AllowRule object with values from keyword arguments. The default value of the :py:attr:`~oci.fusion_apps.models.AllowRule.action` attribute of this class is ``ALLOW`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param action: The value to assign to the action property of this AllowRule. Allowed values for this property are: "ALLOW" :type action: str :param conditions: The value to assign to the conditions property of this AllowRule. :type conditions: list[oci.fusion_apps.models.RuleCondition] :param description: The value to assign to the description property of this AllowRule. :type description: str �strzlist[RuleCondition])�action� conditions�descriptionr r r NZALLOW)Z swagger_typesZ attribute_map�_action�_conditions�_description)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/fusion_apps/models/allow_rule.py�__init__ s ��zAllowRule.__init__c C s | j S )z� **[Required]** Gets the conditions of this AllowRule. :return: The conditions of this AllowRule. :rtype: list[oci.fusion_apps.models.RuleCondition] �r �r r r r r @ s zAllowRule.conditionsc C s || _ dS )z� Sets the conditions of this AllowRule. :param conditions: The conditions of this AllowRule. :type: list[oci.fusion_apps.models.RuleCondition] Nr )r r r r r r J s c C s | j S )a= Gets the description of this AllowRule. A brief description of the access control rule. Avoid entering confidential information. example: `192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.` :return: The description of this AllowRule. :rtype: str �r r r r r r T s zAllowRule.descriptionc C s || _ dS )aG Sets the description of this AllowRule. A brief description of the access control rule. Avoid entering confidential information. example: `192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.` :param description: The description of this AllowRule. :type: str Nr )r r r r r r a s c C s t | �S �N)r r r r r �__repr__n s zAllowRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__q s zAllowRule.__eq__c C s | |k S r r r r r r �__ne__w s zAllowRule.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zruler Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn