o
    ɶd                     @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd deZdS )   )ApiSpecificationRouteBackend    )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	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 )HTTPBackendz.
    Send the request to an HTTP backend.
    c                 K   sV   ddddddd| _ ddddd	d
d| _d| _d| _d| _d| _d| _d| _d| _dS )a  
        Initializes a new HTTPBackend object with values from keyword arguments. The default value of the :py:attr:`~oci.apigateway.models.HTTPBackend.type` attribute
        of this class is ``HTTP_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 HTTPBackend.
            Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND"
        :type type: str

        :param url:
            The value to assign to the url property of this HTTPBackend.
        :type url: str

        :param connect_timeout_in_seconds:
            The value to assign to the connect_timeout_in_seconds property of this HTTPBackend.
        :type connect_timeout_in_seconds: float

        :param read_timeout_in_seconds:
            The value to assign to the read_timeout_in_seconds property of this HTTPBackend.
        :type read_timeout_in_seconds: float

        :param send_timeout_in_seconds:
            The value to assign to the send_timeout_in_seconds property of this HTTPBackend.
        :type send_timeout_in_seconds: float

        :param is_ssl_verify_disabled:
            The value to assign to the is_ssl_verify_disabled property of this HTTPBackend.
        :type is_ssl_verify_disabled: bool

        strfloatbool)typeurlconnect_timeout_in_secondsread_timeout_in_secondssend_timeout_in_secondsis_ssl_verify_disabledr   r   ZconnectTimeoutInSecondsZreadTimeoutInSecondsZsendTimeoutInSecondsZisSslVerifyDisabledNZHTTP_BACKEND)Zswagger_typesZattribute_mapZ_type_url_connect_timeout_in_seconds_read_timeout_in_seconds_send_timeout_in_seconds_is_ssl_verify_disabled)selfkwargs r   Fusr/lib/python3.10/site-packages/oci/apigateway/models/http_backend.py__init__   s*   !
	
zHTTPBackend.__init__c                 C      | j S )z
        **[Required]** Gets the url of this HTTPBackend.

        :return: The url of this HTTPBackend.
        :rtype: str
        r   r   r   r   r   r   L   s   zHTTPBackend.urlc                 C   
   || _ dS )zx
        Sets the url of this HTTPBackend.

        :param url: The url of this HTTPBackend.
        :type: str
        Nr   )r   r   r   r   r   r   V   s   
c                 C   r   )z
        Gets the connect_timeout_in_seconds of this HTTPBackend.
        Defines a timeout for establishing a connection with a proxied server.


        :return: The connect_timeout_in_seconds of this HTTPBackend.
        :rtype: float
        r   r   r   r   r   r   `      
z&HTTPBackend.connect_timeout_in_secondsc                 C   r   )a  
        Sets the connect_timeout_in_seconds of this HTTPBackend.
        Defines a timeout for establishing a connection with a proxied server.


        :param connect_timeout_in_seconds: The connect_timeout_in_seconds of this HTTPBackend.
        :type: float
        Nr    )r   r   r   r   r   r   l      

c                 C   r   )z
        Gets the read_timeout_in_seconds of this HTTPBackend.
        Defines a timeout for reading a response from the proxied server.


        :return: The read_timeout_in_seconds of this HTTPBackend.
        :rtype: float
        r   r   r   r   r   r   x   r!   z#HTTPBackend.read_timeout_in_secondsc                 C   r   )a  
        Sets the read_timeout_in_seconds of this HTTPBackend.
        Defines a timeout for reading a response from the proxied server.


        :param read_timeout_in_seconds: The read_timeout_in_seconds of this HTTPBackend.
        :type: float
        Nr#   )r   r   r   r   r   r      r"   c                 C   r   )z
        Gets the send_timeout_in_seconds of this HTTPBackend.
        Defines a timeout for transmitting a request to the proxied server.


        :return: The send_timeout_in_seconds of this HTTPBackend.
        :rtype: float
        r   r   r   r   r   r      r!   z#HTTPBackend.send_timeout_in_secondsc                 C   r   )a  
        Sets the send_timeout_in_seconds of this HTTPBackend.
        Defines a timeout for transmitting a request to the proxied server.


        :param send_timeout_in_seconds: The send_timeout_in_seconds of this HTTPBackend.
        :type: float
        Nr$   )r   r   r   r   r   r      r"   c                 C   r   )z
        Gets the is_ssl_verify_disabled of this HTTPBackend.
        Defines whether or not to uphold SSL verification.


        :return: The is_ssl_verify_disabled of this HTTPBackend.
        :rtype: bool
        r   r   r   r   r   r      r!   z"HTTPBackend.is_ssl_verify_disabledc                 C   r   )z
        Sets the is_ssl_verify_disabled of this HTTPBackend.
        Defines whether or not to uphold SSL verification.


        :param is_ssl_verify_disabled: The is_ssl_verify_disabled of this HTTPBackend.
        :type: bool
        Nr%   )r   r   r   r   r   r      r"   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zHTTPBackend.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zHTTPBackend.__eq__c                 C   s
   | |k S r&   r   r)   r   r   r   __ne__   s   
zHTTPBackend.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr   r   r   r   r'   r+   r,   r   r   r   r   r      s4    :
	
	







r   N)	Zapi_specification_route_backendr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   <module>   s
   