o
    ëÉ¶d«  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sd   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZd
d„ Z	dd„ Z
dd„ ZdS )ÚPublishResultz0
    The response to a PublishMessage call.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aæ  
        Initializes a new PublishResult object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param message_id:
            The value to assign to the message_id property of this PublishResult.
        :type message_id: str

        :param time_stamp:
            The value to assign to the time_stamp property of this PublishResult.
        :type time_stamp: datetime

        ÚstrÚdatetime)Ú
message_idÚ
time_stampZ	messageIdZ	timeStampN)Zswagger_typesZattribute_mapÚ_message_idÚ_time_stamp)ÚselfÚkwargs© r   úAusr/lib/python3.10/site-packages/oci/ons/models/publish_result.pyÚ__init__   s   þþ
zPublishResult.__init__c                 C   ó   | j S )z¹
        **[Required]** Gets the message_id of this PublishResult.
        The UUID of the message.


        :return: The message_id of this PublishResult.
        :rtype: str
        ©r   ©r   r   r   r   r	   -   ó   
zPublishResult.message_idc                 C   ó
   || _ dS )z³
        Sets the message_id of this PublishResult.
        The UUID of the message.


        :param message_id: The message_id of this PublishResult.
        :type: str
        Nr   )r   r	   r   r   r   r	   9   ó   

c                 C   r   )zÆ
        Gets the time_stamp of this PublishResult.
        The time that the service received the message.


        :return: The time_stamp of this PublishResult.
        :rtype: datetime
        ©r   r   r   r   r   r
   E   r   zPublishResult.time_stampc                 C   r   )zÏ
        Sets the time_stamp of this PublishResult.
        The time that the service received the message.


        :param time_stamp: The time_stamp of this PublishResult.
        :type: datetime
        Nr   )r   r
   r   r   r   r
   Q   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__]   s   zPublishResult.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__`   s   zPublishResult.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__f   s   
zPublishResult.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r   r   r   r   r   r      s    



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   