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
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 )ConfirmationResulta  
    The confirmation details for the specified subscription.
    For information about confirming subscriptions, see
    `To confirm a subscription`__.

    __ https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#confirmSub
    c                 K   sP   ddddddd| _ ddddddd| _d	| _d	| _d	| _d	| _d	| _d	| _d	S )
a=  
        Initializes a new ConfirmationResult object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param topic_name:
            The value to assign to the topic_name property of this ConfirmationResult.
        :type topic_name: str

        :param topic_id:
            The value to assign to the topic_id property of this ConfirmationResult.
        :type topic_id: str

        :param endpoint:
            The value to assign to the endpoint property of this ConfirmationResult.
        :type endpoint: str

        :param unsubscribe_url:
            The value to assign to the unsubscribe_url property of this ConfirmationResult.
        :type unsubscribe_url: str

        :param message:
            The value to assign to the message property of this ConfirmationResult.
        :type message: str

        :param subscription_id:
            The value to assign to the subscription_id property of this ConfirmationResult.
        :type subscription_id: str

        str)
topic_nametopic_idendpointunsubscribe_urlmessagesubscription_idZ	topicNameZtopicIdr
   ZunsubscribeUrlr   ZsubscriptionIdN)Zswagger_typesZattribute_map_topic_name	_topic_id	_endpoint_unsubscribe_url_message_subscription_id)selfkwargs r   Fusr/lib/python3.10/site-packages/oci/ons/models/confirmation_result.py__init__   s(   
	
zConfirmationResult.__init__c                 C      | j S )z
        **[Required]** Gets the topic_name of this ConfirmationResult.
        The name of the subscribed topic.


        :return: The topic_name of this ConfirmationResult.
        :rtype: str
        r   r   r   r   r   r   M      
zConfirmationResult.topic_namec                 C   
   || _ dS )z
        Sets the topic_name of this ConfirmationResult.
        The name of the subscribed topic.


        :param topic_name: The topic_name of this ConfirmationResult.
        :type: str
        Nr   )r   r   r   r   r   r   Y      

c                 C   r   )aD  
        **[Required]** Gets the topic_id of this ConfirmationResult.
        The `OCID`__ of the topic associated with the specified subscription.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The topic_id of this ConfirmationResult.
        :rtype: str
        r   r   r   r   r   r	   e      zConfirmationResult.topic_idc                 C   r   )a<  
        Sets the topic_id of this ConfirmationResult.
        The `OCID`__ of the topic associated with the specified subscription.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param topic_id: The topic_id of this ConfirmationResult.
        :type: str
        Nr   )r   r	   r   r   r   r	   s      
c                 C   r   )av  
        **[Required]** Gets the endpoint of this ConfirmationResult.
        A locator that corresponds to the subscription protocol.
        For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol.


        :return: The endpoint of this ConfirmationResult.
        :rtype: str
        r   r   r   r   r   r
      s   zConfirmationResult.endpointc                 C   r   )an  
        Sets the endpoint of this ConfirmationResult.
        A locator that corresponds to the subscription protocol.
        For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol.


        :param endpoint: The endpoint of this ConfirmationResult.
        :type: str
        Nr"   )r   r
   r   r   r   r
      s   
c                 C   r   )z
        **[Required]** Gets the unsubscribe_url of this ConfirmationResult.
        The URL for unsubscribing from the topic.


        :return: The unsubscribe_url of this ConfirmationResult.
        :rtype: str
        r   r   r   r   r   r      r   z"ConfirmationResult.unsubscribe_urlc                 C   r   )z
        Sets the unsubscribe_url of this ConfirmationResult.
        The URL for unsubscribing from the topic.


        :param unsubscribe_url: The unsubscribe_url of this ConfirmationResult.
        :type: str
        Nr#   )r   r   r   r   r   r      r   c                 C   r   )z
        **[Required]** Gets the message of this ConfirmationResult.
        A human-readable string indicating the status of the subscription confirmation.


        :return: The message of this ConfirmationResult.
        :rtype: str
        r   r   r   r   r   r      r   zConfirmationResult.messagec                 C   r   )z
        Sets the message of this ConfirmationResult.
        A human-readable string indicating the status of the subscription confirmation.


        :param message: The message of this ConfirmationResult.
        :type: str
        Nr$   )r   r   r   r   r   r      r   c                 C   r   )aG  
        **[Required]** Gets the subscription_id of this ConfirmationResult.
        The `OCID`__ of the subscription specified in the request.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The subscription_id of this ConfirmationResult.
        :rtype: str
        r   r   r   r   r   r      r    z"ConfirmationResult.subscription_idc                 C   r   )aF  
        Sets the subscription_id of this ConfirmationResult.
        The `OCID`__ of the subscription specified in the request.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param subscription_id: The subscription_id of this ConfirmationResult.
        :type: str
        Nr%   )r   r   r   r   r   r      r!   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zConfirmationResult.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zConfirmationResult.__eq__c                 C   s
   | |k S r&   r   r)   r   r   r   __ne__   s   
zConfirmationResult.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr	   r
   r   r   r   r'   r+   r,   r   r   r   r   r      s<    7











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   