📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
service_mesh
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/service_mesh/models
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: http_virtual_service_traffic_route_rule.pyc
a O��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�VirtualServiceTrafficRouteRule� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdd� Zedd� �Zejdd� �Zedd � �Z e jd d � �Z edd� �Z e jd d� �Z dd� Zdd� Zdd� Z dS )�"HttpVirtualServiceTrafficRouteRulezN Rule for routing incoming Virtual Service traffic with HTTP protocol �PREFIXc K sL dddddd�| _ ddddd d�| _d | _d | _d | _d | _d | _d| _d S )aF Initializes a new HttpVirtualServiceTrafficRouteRule object with values from keyword arguments. The default value of the :py:attr:`~oci.service_mesh.models.HttpVirtualServiceTrafficRouteRule.type` attribute of this class is ``HTTP`` 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 HttpVirtualServiceTrafficRouteRule. Allowed values for this property are: "HTTP", "TLS_PASSTHROUGH", "TCP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param destinations: The value to assign to the destinations property of this HttpVirtualServiceTrafficRouteRule. :type destinations: list[oci.service_mesh.models.VirtualDeploymentTrafficRuleTarget] :param path: The value to assign to the path property of this HttpVirtualServiceTrafficRouteRule. :type path: str :param path_type: The value to assign to the path_type property of this HttpVirtualServiceTrafficRouteRule. Allowed values for this property are: "PREFIX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type path_type: str :param is_grpc: The value to assign to the is_grpc property of this HttpVirtualServiceTrafficRouteRule. :type is_grpc: bool �strz(list[VirtualDeploymentTrafficRuleTarget]�bool)�type�destinations�path� path_type�is_grpcr r r �pathType�isGrpcN�HTTP)� swagger_types� attribute_map�_type� _destinations�_path� _path_type�_is_grpc)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/service_mesh/models/http_virtual_service_traffic_route_rule.py�__init__ s$ � �z+HttpVirtualServiceTrafficRouteRule.__init__c C s | j S )z� Gets the path of this HttpVirtualServiceTrafficRouteRule. Route to match :return: The path of this HttpVirtualServiceTrafficRouteRule. :rtype: str �r �r r r r r J s z'HttpVirtualServiceTrafficRouteRule.pathc C s || _ dS )z� Sets the path of this HttpVirtualServiceTrafficRouteRule. Route to match :param path: The path of this HttpVirtualServiceTrafficRouteRule. :type: str Nr )r r r r r r V s c C s | j S )a Gets the path_type of this HttpVirtualServiceTrafficRouteRule. Match type for the route Allowed values for this property are: "PREFIX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The path_type of this HttpVirtualServiceTrafficRouteRule. :rtype: str )r r! r r r r b s z,HttpVirtualServiceTrafficRouteRule.path_typec C s dg}t ||�sd}|| _dS )z� Sets the path_type of this HttpVirtualServiceTrafficRouteRule. Match type for the route :param path_type: The path_type of this HttpVirtualServiceTrafficRouteRule. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r q s c C s | j S )a? Gets the is_grpc of this HttpVirtualServiceTrafficRouteRule. If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values. :return: The is_grpc of this HttpVirtualServiceTrafficRouteRule. :rtype: bool �r r! r r r r � s z*HttpVirtualServiceTrafficRouteRule.is_grpcc C s || _ dS )aE Sets the is_grpc of this HttpVirtualServiceTrafficRouteRule. If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values. :param is_grpc: The is_grpc of this HttpVirtualServiceTrafficRouteRule. :type: bool Nr$ )r r r r r r � s c C s t | �S �N)r r! r r r �__repr__� s z+HttpVirtualServiceTrafficRouteRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z)HttpVirtualServiceTrafficRouteRule.__eq__c C s | |k S r% r r( r r r �__ne__� s z)HttpVirtualServiceTrafficRouteRule.__ne__N)�__name__� __module__�__qualname__�__doc__�PATH_TYPE_PREFIXr �propertyr �setterr r r&