
    *j^                     v    d dl mZmZmZmZmZmZmZmZm	Z	 d dl
mZ  G d de          Z G d de          ZdS )    )	AnyOptionalUnionDictListSetIOCallableType)initc                   @    e Zd ZeeeeeedZddZedd            ZdS )	
Attachment)
file_tokennametypesizeurltmp_urlNc                     d | _         d | _        d | _        d | _        d | _        d | _        t          | || j                   d S N)r   r   r   r   r   r   r   _types)selfds     j/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/lark_oapi/api/bitable/v1/model/attachment.py__init__zAttachment.__init__   sF    )-#'	#'	#'	"&&*T1dk"""""    returnAttachmentBuilderc                      t                      S r   )r    r   r   builderzAttachment.builder   s     """r   r   )r   r   )	__name__
__module____qualname__strintr   r   staticmethodr!   r    r   r   r   r      sf         F# # # # # # # \# # #r   r   c                   ~    e Zd ZddZdedd fdZdedd fdZdedd fd	Zd
edd fdZ	dedd fdZ
dedd fdZddZdS )r   r   Nc                 ,    t                      | _        d S r   )r   _attachmentr   s    r   r   zAttachmentBuilder.__init__    s    %<<r   r   c                     || j         _        | S r   )r*   r   )r   r   s     r   r   zAttachmentBuilder.file_token#   s    &0#r   r   c                     || j         _        | S r   )r*   r   )r   r   s     r   r   zAttachmentBuilder.name'        $r   r   c                     || j         _        | S r   )r*   r   )r   r   s     r   r   zAttachmentBuilder.type+   r.   r   r   c                     || j         _        | S r   )r*   r   )r   r   s     r   r   zAttachmentBuilder.size/   r.   r   r   c                     || j         _        | S r   )r*   r   )r   r   s     r   r   zAttachmentBuilder.url3   s    "r   r   c                     || j         _        | S r   )r*   r   )r   r   s     r   r   zAttachmentBuilder.tmp_url7   s    #* r   r   c                     | j         S r   )r*   r+   s    r   buildzAttachmentBuilder.build;   s    r   )r   N)r   r   )r"   r#   r$   r   r%   r   r   r   r&   r   r   r   r4   r    r   r   r   r      s       ( ( ( (S -@     !4     !4     !4    s 2    s ':               r   r   N)typingr   r   r   r   r   r   r	   r
   r   lark_oapi.core.constructr   objectr   r   r    r   r   <module>r8      s    M L L L L L L L L L L L L L L L L L L L L L ) ) ) ) ) )# # # # # # # #0                   r   