📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/umvavtmy/public_html/website_b18404e2/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
vn_monitoring
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/vn_monitoring/models/__pycache__
💾
Free:
48.2 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: routing_action.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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Ze dd � �Zejdd � �Ze dd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )� RoutingActionzL Defines the details for routing actions taken on the traffic flow. � FORWARDED�NO_ROUTE� INDETERMINATE�EXPLICIT�IMPLICIT� NOT_SUPPORTEDc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new RoutingAction object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.vn_monitoring.models.NoRouteRoutingAction` * :class:`~oci.vn_monitoring.models.IndeterminateRoutingAction` * :class:`~oci.vn_monitoring.models.ForwardedRoutingAction` 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 RoutingAction. Allowed values for this property are: "FORWARDED", "NO_ROUTE", "INDETERMINATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str :param action_type: The value to assign to the action_type property of this RoutingAction. Allowed values for this property are: "EXPLICIT", "IMPLICIT", "NOT_SUPPORTED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action_type: str �str)�action�action_typer Z actionTypeN)Z swagger_typesZ attribute_map�_action�_action_type)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/vn_monitoring/models/routing_action.py�__init__* s ��zRoutingAction.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S ) z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZNoRouteRoutingActionr ZIndeterminateRoutingActionr ZForwardedRoutingActionr Nr )Zobject_dictionary�typer r r �get_subtypeO s zRoutingAction.get_subtypec C s | j S )a� **[Required]** Gets the action of this RoutingAction. The routing action taken on the traffic flow. Allowed values for this property are: "FORWARDED", "NO_ROUTE", "INDETERMINATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The action of this RoutingAction. :rtype: str )r �r r r r r b s zRoutingAction.actionc C s g d�}t ||�sd}|| _dS )z� Sets the action of this RoutingAction. The routing action taken on the traffic flow. :param action: The action of this RoutingAction. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r q s c C s | j S )a� **[Required]** Gets the action_type of this RoutingAction. The type of the routing support for the traffic flow. Allowed values for this property are: "EXPLICIT", "IMPLICIT", "NOT_SUPPORTED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The action_type of this RoutingAction. :rtype: str )r r r r r r � s zRoutingAction.action_typec C s g d�}t ||�sd}|| _dS )z� Sets the action_type of this RoutingAction. The type of the routing support for the traffic flow. :param action_type: The action_type of this RoutingAction. :type: str )r r r r N)r r )r r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zRoutingAction.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zRoutingAction.__eq__c C s | |k S r r r r r r �__ne__� s zRoutingAction.__ne__N)�__name__� __module__�__qualname__�__doc__ZACTION_FORWARDEDZACTION_NO_ROUTEZACTION_INDETERMINATEZACTION_TYPE_EXPLICITZACTION_TYPE_IMPLICITZACTION_TYPE_NOT_SUPPORTEDr �staticmethodr �propertyr �setterr r r! r"