o
    ëÉ¶dõ  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s~   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	dd„ Z
dd„ Zdd„ ZdS )ÚApiSpecificationzG
    The logical configuration of the API exposed by a deployment.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )	a#  
        Initializes a new ApiSpecification object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param request_policies:
            The value to assign to the request_policies property of this ApiSpecification.
        :type request_policies: oci.apigateway.models.ApiSpecificationRequestPolicies

        :param logging_policies:
            The value to assign to the logging_policies property of this ApiSpecification.
        :type logging_policies: oci.apigateway.models.ApiSpecificationLoggingPolicies

        :param routes:
            The value to assign to the routes property of this ApiSpecification.
        :type routes: list[oci.apigateway.models.ApiSpecificationRoute]

        ZApiSpecificationRequestPoliciesZApiSpecificationLoggingPolicieszlist[ApiSpecificationRoute])Úrequest_policiesÚlogging_policiesÚroutesZrequestPoliciesZloggingPoliciesr	   N)Zswagger_typesZattribute_mapÚ_request_policiesÚ_logging_policiesÚ_routes)ÚselfÚkwargs© r   úKusr/lib/python3.10/site-packages/oci/apigateway/models/api_specification.pyÚ__init__   s   ýý
zApiSpecification.__init__c                 C   ó   | j S )zÌ
        Gets the request_policies of this ApiSpecification.

        :return: The request_policies of this ApiSpecification.
        :rtype: oci.apigateway.models.ApiSpecificationRequestPolicies
        ©r
   ©r   r   r   r   r   4   ó   z!ApiSpecification.request_policiesc                 C   ó
   || _ dS )zÛ
        Sets the request_policies of this ApiSpecification.

        :param request_policies: The request_policies of this ApiSpecification.
        :type: oci.apigateway.models.ApiSpecificationRequestPolicies
        Nr   )r   r   r   r   r   r   >   ó   
c                 C   r   )zÌ
        Gets the logging_policies of this ApiSpecification.

        :return: The logging_policies of this ApiSpecification.
        :rtype: oci.apigateway.models.ApiSpecificationLoggingPolicies
        ©r   r   r   r   r   r   H   r   z!ApiSpecification.logging_policiesc                 C   r   )zÛ
        Sets the logging_policies of this ApiSpecification.

        :param logging_policies: The logging_policies of this ApiSpecification.
        :type: oci.apigateway.models.ApiSpecificationLoggingPolicies
        Nr   )r   r   r   r   r   r   R   r   c                 C   r   )zå
        Gets the routes of this ApiSpecification.
        A list of routes that this API exposes.


        :return: The routes of this ApiSpecification.
        :rtype: list[oci.apigateway.models.ApiSpecificationRoute]
        ©r   r   r   r   r   r	   \   s   
zApiSpecification.routesc                 C   r   )zê
        Sets the routes of this ApiSpecification.
        A list of routes that this API exposes.


        :param routes: The routes of this ApiSpecification.
        :type: list[oci.apigateway.models.ApiSpecificationRoute]
        Nr   )r   r	   r   r   r   r	   h   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__t   s   zApiSpecification.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__w   s   zApiSpecification.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__}   s   
zApiSpecification.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r	   r   r   r    r   r   r   r   r      s$    "
	
	
	
	

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   