📂 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
›
service_mesh
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/service_mesh/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: virtual_service_traffic_rule_target.cpython-39.pyc
a ���fi � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�TrafficRuleTarget� )�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 d d� Z dd� Zdd� ZdS )�VirtualServiceTrafficRuleTargetz7 Traffic router target for an ingress gateway. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d | _dS ) a� Initializes a new VirtualServiceTrafficRuleTarget object with values from keyword arguments. The default value of the :py:attr:`~oci.service_mesh.models.VirtualServiceTrafficRuleTarget.type` attribute of this class is ``VIRTUAL_SERVICE`` 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 VirtualServiceTrafficRuleTarget. Allowed values for this property are: "VIRTUAL_DEPLOYMENT", "VIRTUAL_SERVICE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param virtual_service_id: The value to assign to the virtual_service_id property of this VirtualServiceTrafficRuleTarget. :type virtual_service_id: str :param port: The value to assign to the port property of this VirtualServiceTrafficRuleTarget. :type port: int :param weight: The value to assign to the weight property of this VirtualServiceTrafficRuleTarget. :type weight: int �str�int)�type�virtual_service_id�port�weightr ZvirtualServiceIdr r NZVIRTUAL_SERVICE)Z swagger_typesZ attribute_mapZ_type�_virtual_service_id�_port�_weight)�self�kwargs� r �_/usr/lib/python3.9/site-packages/oci/service_mesh/models/virtual_service_traffic_rule_target.py�__init__ s ��z(VirtualServiceTrafficRuleTarget.__init__c C s | j S )a Gets the virtual_service_id of this VirtualServiceTrafficRuleTarget. The OCID of the virtual service where the request will be routed. :return: The virtual_service_id of this VirtualServiceTrafficRuleTarget. :rtype: str �r �r r r r r ? s z2VirtualServiceTrafficRuleTarget.virtual_service_idc C s || _ dS )a Sets the virtual_service_id of this VirtualServiceTrafficRuleTarget. The OCID of the virtual service where the request will be routed. :param virtual_service_id: The virtual_service_id of this VirtualServiceTrafficRuleTarget. :type: str Nr )r r r r r r K s c C s | j S )a" Gets the port of this VirtualServiceTrafficRuleTarget. The port on the virtual service to target. Mandatory if the virtual deployments are listening on multiple ports. :return: The port of this VirtualServiceTrafficRuleTarget. :rtype: int �r r r r r r W s z$VirtualServiceTrafficRuleTarget.portc C s || _ dS )a% Sets the port of this VirtualServiceTrafficRuleTarget. The port on the virtual service to target. Mandatory if the virtual deployments are listening on multiple ports. :param port: The port of this VirtualServiceTrafficRuleTarget. :type: int Nr )r r r r r r d s c C s | j S )z� Gets the weight of this VirtualServiceTrafficRuleTarget. Weight of traffic target. :return: The weight of this VirtualServiceTrafficRuleTarget. :rtype: int �r r r r r r q s z&VirtualServiceTrafficRuleTarget.weightc C s || _ dS )z� Sets the weight of this VirtualServiceTrafficRuleTarget. Weight of traffic target. :param weight: The weight of this VirtualServiceTrafficRuleTarget. :type: int Nr )r r r r r r } s c C s t | �S �N)r r r r r �__repr__� s z(VirtualServiceTrafficRuleTarget.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z&VirtualServiceTrafficRuleTarget.__eq__c C s | |k S r r r r r r �__ne__� s z&VirtualServiceTrafficRuleTarget.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r! r r r r r s"