o
    ëÉ¶dÀ  ã                   @   s$   d dl mZmZ G dd„ deƒZdS )é   )ÚHEADER_NEXT_PAGEÚHEADER_REQUEST_IDc                   @   s    e Zd Zdd„ Zedd„ ƒZdS )ÚResponsec                 C   s^   || _ 	 || _	 || _	 || _	 d| _	 d| _	 | jdur-| j t¡| _| j t¡| _dS dS )aÈ  
        :param status: The HTTP status code for the Response
        :param headers: The HTTP headers for the Response
        :param data: The response data.  The type of data depends on the request.
        :param request: The corresponding request for this response.
        :param next_page: (optional) The value of the `opc-next-page` response header.
        :param request_id: (optional) The ID of the request that generated this response.
        N)	ÚstatusÚheadersÚdataÚrequestÚ	next_pageZ
request_idÚgetr   r   )Úselfr   r   r   r   © r   ú0usr/lib/python3.10/site-packages/oci/response.pyÚ__init__	   s    
þzResponse.__init__c                 C   s
   | j duS )z„
        Gets a value representing whether or not there is a next page of results in a list Response.

        :rtype: bool
        N)r	   )r   r   r   r   Úhas_next_pageA   s   
zResponse.has_next_pageN)Ú__name__Ú
__module__Ú__qualname__r   Úpropertyr   r   r   r   r   r      s    8r   N)Ú	constantsr   r   Úobjectr   r   r   r   r   Ú<module>   s   