Dashboard
PHP:
8.3.33
OS:
Linux
User:
letter7
/
/
usr
/
libexec
/
oracle-cloud-agent
/
plugins
/
osms
/
oci
/
apigateway
/
models
📤 Upload
📝 New File
📁 New Folder
Close
Editing: dynamic_routing_backend.pyc
a N��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ApiSpecificationRouteBackend� )�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 )�DynamicRoutingBackendzg Send the request to the backend dynamically selected based on the incoming request's context. c K s8 dddd�| _ dddd�| _d| _d| _d| _d | _dS ) a^ Initializes a new DynamicRoutingBackend object with values from keyword arguments. The default value of the :py:attr:`~oci.apigateway.models.DynamicRoutingBackend.type` attribute of this class is ``DYNAMIC_ROUTING_BACKEND`` 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 DynamicRoutingBackend. Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND" :type type: str :param selection_source: The value to assign to the selection_source property of this DynamicRoutingBackend. :type selection_source: oci.apigateway.models.SelectionSourcePolicy :param routing_backends: The value to assign to the routing_backends property of this DynamicRoutingBackend. :type routing_backends: list[oci.apigateway.models.DynamicRoutingTypeRoutingBackend] �str�SelectionSourcePolicyz&list[DynamicRoutingTypeRoutingBackend])�type�selection_source�routing_backendsr �selectionSource�routingBackendsN�DYNAMIC_ROUTING_BACKEND)� swagger_types� attribute_map�_type�_selection_source�_routing_backends)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apigateway/models/dynamic_routing_backend.py�__init__ s ��zDynamicRoutingBackend.__init__c C s | j S )z� **[Required]** Gets the selection_source of this DynamicRoutingBackend. :return: The selection_source of this DynamicRoutingBackend. :rtype: oci.apigateway.models.SelectionSourcePolicy �r �r r r r r 5 s z&DynamicRoutingBackend.selection_sourcec C s || _ dS )z� Sets the selection_source of this DynamicRoutingBackend. :param selection_source: The selection_source of this DynamicRoutingBackend. :type: oci.apigateway.models.SelectionSourcePolicy Nr )r r r r r r ? s c C s | j S )a) **[Required]** Gets the routing_backends of this DynamicRoutingBackend. List of backends to chose from for Dynamic Routing. :return: The routing_backends of this DynamicRoutingBackend. :rtype: list[oci.apigateway.models.DynamicRoutingTypeRoutingBackend] �r r r r r r I s z&DynamicRoutingBackend.routing_backendsc C s || _ dS )a) Sets the routing_backends of this DynamicRoutingBackend. List of backends to chose from for Dynamic Routing. :param routing_backends: The routing_backends of this DynamicRoutingBackend. :type: list[oci.apigateway.models.DynamicRoutingTypeRoutingBackend] Nr )r r r r r r U s c C s t | �S �N)r r r r r �__repr__a s zDynamicRoutingBackend.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__d s zDynamicRoutingBackend.__eq__c C s | |k S r r r! r r r �__ne__j s zDynamicRoutingBackend.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r# r$ r r r r r s % r N) �api_specification_route_backendr �oci.utilr r r �oci.decoratorsr r r r r r �<module> s
Save
Cancel