ruạṛ
a ���f � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�TrafficNode� )�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 )�VisibleTrafficNodezR Defines the configuration of a traffic node that is visible to the user. c K s` dddddddd�| _ dddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d| _d S )a� Initializes a new VisibleTrafficNode object with values from keyword arguments. The default value of the :py:attr:`~oci.vn_monitoring.models.VisibleTrafficNode.type` attribute of this class is ``VISIBLE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this VisibleTrafficNode. Allowed values for this property are: "VISIBLE", "ACCESS_DENIED" :type type: str :param egress_traffic: The value to assign to the egress_traffic property of this VisibleTrafficNode. :type egress_traffic: oci.vn_monitoring.models.EgressTrafficSpec :param next_hop_routing_action: The value to assign to the next_hop_routing_action property of this VisibleTrafficNode. :type next_hop_routing_action: oci.vn_monitoring.models.RoutingAction :param egress_security_action: The value to assign to the egress_security_action property of this VisibleTrafficNode. :type egress_security_action: oci.vn_monitoring.models.SecurityAction :param ingress_security_action: The value to assign to the ingress_security_action property of this VisibleTrafficNode. :type ingress_security_action: oci.vn_monitoring.models.SecurityAction :param entity_id: The value to assign to the entity_id property of this VisibleTrafficNode. :type entity_id: str :param transformation_description: The value to assign to the transformation_description property of this VisibleTrafficNode. :type transformation_description: str �strZEgressTrafficSpecZ RoutingActionZSecurityAction)�typeZegress_trafficZnext_hop_routing_actionZegress_security_actionZingress_security_action� entity_id�transformation_descriptionr Z egressTrafficZnextHopRoutingActionZegressSecurityActionZingressSecurityActionZentityIdZtransformationDescriptionNZVISIBLE) Z swagger_typesZ attribute_mapZ_typeZ_egress_trafficZ_next_hop_routing_actionZ_egress_security_actionZ_ingress_security_action� _entity_id�_transformation_description)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/vn_monitoring/models/visible_traffic_node.py�__init__ s0 %�� zVisibleTrafficNode.__init__c C s | j S )aN Gets the entity_id of this VisibleTrafficNode. The `OCID`__ of the OCI entity that represents the traffic node (Instance, GW, LB, etc.). __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The entity_id of this VisibleTrafficNode. :rtype: str �r �r r r r r S s zVisibleTrafficNode.entity_idc C s || _ dS )aV Sets the entity_id of this VisibleTrafficNode. The `OCID`__ of the OCI entity that represents the traffic node (Instance, GW, LB, etc.). __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param entity_id: The entity_id of this VisibleTrafficNode. :type: str Nr )r r r r r r b s c C s | j S )aj Gets the transformation_description of this VisibleTrafficNode. Describes how the traffic was transformed. For example, if an address is translated by a NAT GW, the string will describe the translation: 'SNAT: 10.0.0.1->204.0.0.1' :return: The transformation_description of this VisibleTrafficNode. :rtype: str �r r r r r r q s z-VisibleTrafficNode.transformation_descriptionc C s || _ dS )a� Sets the transformation_description of this VisibleTrafficNode. Describes how the traffic was transformed. For example, if an address is translated by a NAT GW, the string will describe the translation: 'SNAT: 10.0.0.1->204.0.0.1' :param transformation_description: The transformation_description of this VisibleTrafficNode. :type: str Nr )r r r r r r ~ s c C s t | �S �N)r r r r r �__repr__� s zVisibleTrafficNode.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zVisibleTrafficNode.__eq__c C s | |k S r r r r r r �__ne__� s zVisibleTrafficNode.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s A r N) Ztraffic_noder Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn