
    soj                     R    d dl mZ d dlmZ d dlmZ d dlmZ  G d de          ZdS )    )
DevilFruit)User)TgRest)TgRestObjectTypec            
       8     e Zd ZdZdededededef
 fdZ xZS )TgRestDevilFruitAwardzT
    TgRestDevilFruitAward class is used to create a Telegram REST API request.
    bot_idobject_typeuser_iddevil_fruit_idreasonc                    t                                          ||           || _        t          j        t          j        |k              | _        t          j        t          j        |k              | _        || _	        dS )z
        Constructor

        :param user_id: The user id
        :param devil_fruit_id: The devil fruit id
        :param reason: The reason why the devil fruit was awarded
        N)
super__init__r   r   getiduserr   devil_fruitr   )selfr	   r
   r   r   r   	__class__s         ./app/src/model/tgrest/TgRestDevilFruitAward.pyr   zTgRestDevilFruitAward.__init__   sb      	---#HTW/00	%>*->*IJJ!    )	__name__
__module____qualname____doc__strr   intr   __classcell__)r   s   @r   r   r      sw         "" &" 	"
 " " " " " " " " " " "r   r   N)	src.model.DevilFruitr   src.model.Userr   src.model.tgrest.TgRestr   !src.model.tgrest.TgRestObjectTyper   r    r   r   <module>r%      s    + + + + + +       * * * * * * > > > > > >" " " " "F " " " " "r   