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                   @   s˜   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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 )ÚAnnouncementSummaryz>
    A summary of a announcement on Console Overview page
    c                 K   s<   dddddœ| _ dddddœ| _d	| _d	| _d	| _d	| _d	S )
aò  
        Initializes a new AnnouncementSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this AnnouncementSummary.
        :type key: int

        :param summary:
            The value to assign to the summary property of this AnnouncementSummary.
        :type summary: str

        :param url:
            The value to assign to the url property of this AnnouncementSummary.
        :type url: str

        :param time_released:
            The value to assign to the time_released property of this AnnouncementSummary.
        :type time_released: datetime

        ÚintÚstrÚdatetime)ÚkeyÚsummaryÚurlÚtime_releasedr
   r   r   ZtimeReleasedN)Zswagger_typesZattribute_mapÚ_keyÚ_summaryÚ_urlÚ_time_released)ÚselfÚkwargs© r   úGusr/lib/python3.10/site-packages/oci/jms/models/announcement_summary.pyÚ__init__   s   üü
zAnnouncementSummary.__init__c                 C   ó   | j S )z¼
        **[Required]** Gets the key of this AnnouncementSummary.
        Unique id of the announcement


        :return: The key of this AnnouncementSummary.
        :rtype: int
        ©r   ©r   r   r   r   r
   ;   ó   
zAnnouncementSummary.keyc                 C   ó
   || _ dS )z¯
        Sets the key of this AnnouncementSummary.
        Unique id of the announcement


        :param key: The key of this AnnouncementSummary.
        :type: int
        Nr   )r   r
   r   r   r   r
   G   ó   

c                 C   r   )zÇ
        **[Required]** Gets the summary of this AnnouncementSummary.
        Summary text of the announcement


        :return: The summary of this AnnouncementSummary.
        :rtype: str
        ©r   r   r   r   r   r   S   r   zAnnouncementSummary.summaryc                 C   r   )z¾
        Sets the summary of this AnnouncementSummary.
        Summary text of the announcement


        :param summary: The summary of this AnnouncementSummary.
        :type: str
        Nr   )r   r   r   r   r   r   _   r   c                 C   r   )z¿
        **[Required]** Gets the url of this AnnouncementSummary.
        URL to the announcement web page


        :return: The url of this AnnouncementSummary.
        :rtype: str
        ©r   r   r   r   r   r   k   r   zAnnouncementSummary.urlc                 C   r   )z²
        Sets the url of this AnnouncementSummary.
        URL to the announcement web page


        :param url: The url of this AnnouncementSummary.
        :type: str
        Nr   )r   r   r   r   r   r   w   r   c                 C   r   )zè
        **[Required]** Gets the time_released of this AnnouncementSummary.
        Date time on which the announcement was released


        :return: The time_released of this AnnouncementSummary.
        :rtype: datetime
        ©r   r   r   r   r   r   ƒ   r   z!AnnouncementSummary.time_releasedc                 C   r   )zå
        Sets the time_released of this AnnouncementSummary.
        Date time on which the announcement was released


        :param time_released: The time_released of this AnnouncementSummary.
        :type: datetime
        Nr   )r   r   r   r   r   r      r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__›   s   zAnnouncementSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__ž   s   zAnnouncementSummary.__eq__c                 C   s
   | |k S r    r   r#   r   r   r   Ú__ne__¤   s   
zAnnouncementSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr
   Úsetterr   r   r   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   