o
    Á¿im  ã                	   @   s>   d dl mZmZmZmZmZmZ G dd„ deeeeeeƒZdS )é    )ÚGetableAPIResourceÚCreateableAPIResourceÚUpdatableAPIResourceÚDeletableAPIResourceÚActionAPIResourceÚListableAPIResourcec                       s8   e Zd ZdZdZe‡ fdd„ƒZe‡ fdd„ƒZ‡  ZS )ÚScreenboardz0
    A wrapper around Screenboard HTTP API.
    Úscreenc                    ó   t t| ƒ dd|¡S )zÂ
        Share the screenboard with given id

        :param board_id: screenboard to share
        :type board_id: id

        :returns: Dictionary representing the API's JSON response
        ÚPOSTúscreen/share©Úsuperr   Ú_trigger_action©ÚclsÚboard_id©Ú	__class__© úL/home/ubuntu/.local/lib/python3.10/site-packages/datadog/api/screenboards.pyÚshare   ó   
zScreenboard.sharec                    r
   )zÉ
        Revoke a shared screenboard with given id

        :param board_id: screenboard to revoke
        :type board_id: id

        :returns: Dictionary representing the API's JSON response
        ÚDELETEr   r   r   r   r   r   Úrevoke(   r   zScreenboard.revoke)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú_resource_nameÚclassmethodr   r   Ú__classcell__r   r   r   r   r      s    r   N)Údatadog.api.resourcesr   r   r   r   r   r   r   r   r   r   r   Ú<module>   s    

ú