o
    #`^hO                     @  sJ   d Z ddlmZ ddlmZmZmZ ddlmZm	Z	m
Z
 G dd dZdS )zAPI response object.    )annotations)AnyDictOptional)Field	StrictInt	StrictStrc                   @  st   e Zd ZU dZedddZded< edddZded	< edd
dZded< edddZ	ded< 				dddZ
dS )ApiResponsez
    API response object
    NzHTTP status code)descriptionzOptional[StrictInt]status_codezHTTP headersz$Optional[Dict[StrictStr, StrictStr]]headersz%Deserialized data given the data typezOptional[Any]datazRaw data (HTTP response body)raw_datac                 C  s   || _ || _|| _|| _d S )N)r   r   r   r   )selfr   r   r   r    r   _/home/air/shanriGPT/back/venv/lib/python3.10/site-packages/linebot/v3/messaging/api_response.py__init__   s   
zApiResponse.__init__)NNNN)__name__
__module____qualname____doc__r   r   __annotations__r   r   r   r   r   r   r   r   r	      s   
 r	   N)r   
__future__r   typingr   r   r   pydantic.v1r   r   r   r	   r   r   r   r   <module>   s
    