ruạṛ
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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )� PathRoutez� A "path route rule" to evaluate an incoming URI path, and then route a matching request to the specified backend set. Path route rules apply only to HTTP and HTTPS requests. They have no effect on TCP requests. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new PathRoute object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param path: The value to assign to the path property of this PathRoute. :type path: str :param path_match_type: The value to assign to the path_match_type property of this PathRoute. :type path_match_type: oci.load_balancer.models.PathMatchType :param backend_set_name: The value to assign to the backend_set_name property of this PathRoute. :type backend_set_name: str �strZ PathMatchType)�path�path_match_type�backend_set_namer Z pathMatchTypeZbackendSetNameN)Z swagger_typesZ attribute_map�_path�_path_match_type�_backend_set_name)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/load_balancer/models/path_route.py�__init__ s ��zPathRoute.__init__c C s | j S )a� **[Required]** Gets the path of this PathRoute. The path string to match against the incoming URI path. * Path strings are case-insensitive. * Asterisk (*) wildcards are not supported. * Regular expressions are not supported. Example: `/example/video/123` :return: The path of this PathRoute. :rtype: str �r �r r r r r 6 s zPathRoute.pathc C s || _ dS )aw Sets the path of this PathRoute. The path string to match against the incoming URI path. * Path strings are case-insensitive. * Asterisk (*) wildcards are not supported. * Regular expressions are not supported. Example: `/example/video/123` :param path: The path of this PathRoute. :type: str Nr )r r r r r r J s c C s | j S )z� **[Required]** Gets the path_match_type of this PathRoute. The type of matching to apply to incoming URIs. :return: The path_match_type of this PathRoute. :rtype: oci.load_balancer.models.PathMatchType �r r r r r r ^ s zPathRoute.path_match_typec C s || _ dS )z� Sets the path_match_type of this PathRoute. The type of matching to apply to incoming URIs. :param path_match_type: The path_match_type of this PathRoute. :type: oci.load_balancer.models.PathMatchType Nr )r r r r r r j s c C s | j S )a/ **[Required]** Gets the backend_set_name of this PathRoute. The name of the target backend set for requests where the incoming URI matches the specified path. Example: `example_backend_set` :return: The backend_set_name of this PathRoute. :rtype: str �r r r r r r v s zPathRoute.backend_set_namec C s || _ dS )a/ Sets the backend_set_name of this PathRoute. The name of the target backend set for requests where the incoming URI matches the specified path. Example: `example_backend_set` :param backend_set_name: The backend_set_name of this PathRoute. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zPathRoute.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPathRoute.__eq__c C s | |k S r r r r r r �__ne__� s zPathRoute.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"