📂 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
›
dns
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/dns/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: steering_policy_limit_rule.cpython-39.opt-1.pyc
a ���fX � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�SteeringPolicyRule� )�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 )�SteeringPolicyLimitRulez( SteeringPolicyLimitRule model. c K sB ddddd�| _ ddddd�| _d | _d | _d | _d | _d | _d S )aY Initializes a new SteeringPolicyLimitRule object with values from keyword arguments. The default value of the :py:attr:`~oci.dns.models.SteeringPolicyLimitRule.rule_type` attribute of this class is ``LIMIT`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param description: The value to assign to the description property of this SteeringPolicyLimitRule. :type description: str :param rule_type: The value to assign to the rule_type property of this SteeringPolicyLimitRule. Allowed values for this property are: "FILTER", "HEALTH", "WEIGHTED", "PRIORITY", "LIMIT" :type rule_type: str :param cases: The value to assign to the cases property of this SteeringPolicyLimitRule. :type cases: list[oci.dns.models.SteeringPolicyLimitRuleCase] :param default_count: The value to assign to the default_count property of this SteeringPolicyLimitRule. :type default_count: int �strz!list[SteeringPolicyLimitRuleCase]�int)�descriptionZ rule_type�cases� default_countr ZruleTyper ZdefaultCountNZLIMIT)Z swagger_typesZ attribute_mapZ_descriptionZ _rule_type�_cases�_default_count)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/dns/models/steering_policy_limit_rule.py�__init__ s ��z SteeringPolicyLimitRule.__init__c C s | j S )a� Gets the cases of this SteeringPolicyLimitRule. An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query. :return: The cases of this SteeringPolicyLimitRule. :rtype: list[oci.dns.models.SteeringPolicyLimitRuleCase] �r �r r r r r >