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 ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zd d!� Zd"d#� Zd$S )%�ApiSpecificationRoutezq A single route that forwards requests to a particular backend and may contain some additional policies. �ANY�HEAD�GET�POST�PUT�PATCH�DELETE�OPTIONSc K sP ddddddd�| _ dd d ddd d�| _d| _d| _d| _d| _d| _d| _dS )a& Initializes a new ApiSpecificationRoute 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 ApiSpecificationRoute. :type path: str :param methods: The value to assign to the methods property of this ApiSpecificationRoute. Allowed values for items in this list are: "ANY", "HEAD", "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type methods: list[str] :param request_policies: The value to assign to the request_policies property of this ApiSpecificationRoute. :type request_policies: oci.apigateway.models.ApiSpecificationRouteRequestPolicies :param response_policies: The value to assign to the response_policies property of this ApiSpecificationRoute. :type response_policies: oci.apigateway.models.ApiSpecificationRouteResponsePolicies :param logging_policies: The value to assign to the logging_policies property of this ApiSpecificationRoute. :type logging_policies: oci.apigateway.models.ApiSpecificationLoggingPolicies :param backend: The value to assign to the backend property of this ApiSpecificationRoute. :type backend: oci.apigateway.models.ApiSpecificationRouteBackend �strz list[str]Z$ApiSpecificationRouteRequestPoliciesZ%ApiSpecificationRouteResponsePoliciesZApiSpecificationLoggingPoliciesZApiSpecificationRouteBackend)�path�methods�request_policies�response_policies�logging_policies�backendr r ZrequestPoliciesZresponsePoliciesZloggingPoliciesr N)Z swagger_typesZ attribute_map�_path�_methods�_request_policies�_response_policies�_logging_policies�_backend)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/apigateway/models/api_specification_route.py�__init__2 s( !� � zApiSpecificationRoute.__init__c C s | j S )aO **[Required]** Gets the path of this ApiSpecificationRoute. A URL path pattern that must be matched on this route. The path pattern may contain a subset of RFC 6570 identifiers to allow wildcard and parameterized matching. :return: The path of this ApiSpecificationRoute. :rtype: str �r �r r r r r k s zApiSpecificationRoute.pathc C s || _ dS )aC Sets the path of this ApiSpecificationRoute. A URL path pattern that must be matched on this route. The path pattern may contain a subset of RFC 6570 identifiers to allow wildcard and parameterized matching. :param path: The path of this ApiSpecificationRoute. :type: str Nr! )r r r r r r x s c C s | j S )a� Gets the methods of this ApiSpecificationRoute. A list of allowed methods on this route. Allowed values for items in this list are: "ANY", "HEAD", "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The methods of this ApiSpecificationRoute. :rtype: list[str] �r r"