o
    ëÉ¶dq)  ã                   @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd„ deƒƒZdS )é   )ÚChannelé    )Ú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 )ÚTwilioChannelz1
    The configuration for a Twilio channel.
    c                 K   sH  i dd“dd“dd“dd“dd“dd“d	d“d
d“dd“dd“dd“dd“dd“dd“dd“dd“dd“| _ i dd“dd“dd“dd“dd“dd“d	d“d
d“dd“dd“dd“dd“dd“dd “dd!“dd"“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 TwilioChannel object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.TwilioChannel.type` attribute
        of this class is ``TWILIO`` and it should not be changed.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this TwilioChannel.
        :type id: str

        :param name:
            The value to assign to the name property of this TwilioChannel.
        :type name: str

        :param description:
            The value to assign to the description property of this TwilioChannel.
        :type description: str

        :param category:
            The value to assign to the category property of this TwilioChannel.
            Allowed values for this property are: "AGENT", "APPLICATION", "BOT", "BOT_AS_AGENT", "SYSTEM", "EVENT"
        :type category: str

        :param type:
            The value to assign to the type property of this TwilioChannel.
            Allowed values for this property are: "ANDROID", "APPEVENT", "APPLICATION", "CORTANA", "FACEBOOK", "IOS", "MSTEAMS", "OSS", "OSVC", "SERVICECLOUD", "SLACK", "TEST", "TWILIO", "WEB", "WEBHOOK"
        :type type: str

        :param session_expiry_duration_in_milliseconds:
            The value to assign to the session_expiry_duration_in_milliseconds property of this TwilioChannel.
        :type session_expiry_duration_in_milliseconds: int

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this TwilioChannel.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
        :type lifecycle_state: str

        :param time_created:
            The value to assign to the time_created property of this TwilioChannel.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this TwilioChannel.
        :type time_updated: datetime

        :param freeform_tags:
            The value to assign to the freeform_tags property of this TwilioChannel.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this TwilioChannel.
        :type defined_tags: dict(str, dict(str, object))

        :param account_sid:
            The value to assign to the account_sid property of this TwilioChannel.
        :type account_sid: str

        :param phone_number:
            The value to assign to the phone_number property of this TwilioChannel.
        :type phone_number: str

        :param is_mms_enabled:
            The value to assign to the is_mms_enabled property of this TwilioChannel.
        :type is_mms_enabled: bool

        :param original_connectors_url:
            The value to assign to the original_connectors_url property of this TwilioChannel.
        :type original_connectors_url: str

        :param bot_id:
            The value to assign to the bot_id property of this TwilioChannel.
        :type bot_id: str

        :param webhook_url:
            The value to assign to the webhook_url property of this TwilioChannel.
        :type webhook_url: str

        ÚidÚstrÚnameÚdescriptionÚcategoryÚtypeZ'session_expiry_duration_in_millisecondsÚintZlifecycle_stateZtime_createdÚdatetimeZtime_updatedZfreeform_tagszdict(str, str)Zdefined_tagszdict(str, dict(str, object))Úaccount_sidÚphone_numberÚis_mms_enabledÚboolÚoriginal_connectors_urlÚbot_idÚwebhook_urlZ#sessionExpiryDurationInMillisecondsZlifecycleStateZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZ
accountSIDZphoneNumberZisMmsEnabledZoriginalConnectorsUrlZbotIdZ
webhookUrlNZTWILIO)Zswagger_typesZattribute_mapZ_idÚ_nameZ_descriptionZ	_categoryZ_typeZ(_session_expiry_duration_in_millisecondsZ_lifecycle_stateZ_time_createdZ_time_updatedZ_freeform_tagsZ_defined_tagsÚ_account_sidÚ_phone_numberÚ_is_mms_enabledÚ_original_connectors_urlÚ_bot_idÚ_webhook_url)ÚselfÚkwargs© r!   úAusr/lib/python3.10/site-packages/oci/oda/models/twilio_channel.pyÚ__init__   s°   Nÿþýüûúùø	÷
öõôóòñðïÿþýüûúùø	÷
öõôóòñðï
zTwilioChannel.__init__c                 C   ó   | j S )zÉ
        **[Required]** Gets the account_sid of this TwilioChannel.
        The Account SID for the Twilio number.


        :return: The account_sid of this TwilioChannel.
        :rtype: str
        ©r   ©r   r!   r!   r"   r   ›   ó   
zTwilioChannel.account_sidc                 C   ó
   || _ dS )zÄ
        Sets the account_sid of this TwilioChannel.
        The Account SID for the Twilio number.


        :param account_sid: The account_sid of this TwilioChannel.
        :type: str
        Nr%   )r   r   r!   r!   r"   r   §   ó   

c                 C   r$   )z½
        **[Required]** Gets the phone_number of this TwilioChannel.
        The Twilio phone number.


        :return: The phone_number of this TwilioChannel.
        :rtype: str
        ©r   r&   r!   r!   r"   r   ³   r'   zTwilioChannel.phone_numberc                 C   r(   )z¹
        Sets the phone_number of this TwilioChannel.
        The Twilio phone number.


        :param phone_number: The phone_number of this TwilioChannel.
        :type: str
        Nr*   )r   r   r!   r!   r"   r   ¿   r)   c                 C   r$   )zÙ
        **[Required]** Gets the is_mms_enabled of this TwilioChannel.
        Whether MMS is enabled for this channel or not.


        :return: The is_mms_enabled of this TwilioChannel.
        :rtype: bool
        ©r   r&   r!   r!   r"   r   Ë   r'   zTwilioChannel.is_mms_enabledc                 C   r(   )z×
        Sets the is_mms_enabled of this TwilioChannel.
        Whether MMS is enabled for this channel or not.


        :param is_mms_enabled: The is_mms_enabled of this TwilioChannel.
        :type: bool
        Nr+   )r   r   r!   r!   r"   r   ×   r)   c                 C   r$   )zê
        Gets the original_connectors_url of this TwilioChannel.
        The original connectors URL (used for backward compatibility).


        :return: The original_connectors_url of this TwilioChannel.
        :rtype: str
        ©r   r&   r!   r!   r"   r   ã   r'   z%TwilioChannel.original_connectors_urlc                 C   r(   )a   
        Sets the original_connectors_url of this TwilioChannel.
        The original connectors URL (used for backward compatibility).


        :param original_connectors_url: The original_connectors_url of this TwilioChannel.
        :type: str
        Nr,   )r   r   r!   r!   r"   r   ï   r)   c                 C   r$   )zÑ
        Gets the bot_id of this TwilioChannel.
        The ID of the Skill or Digital Assistant that the Channel is routed to.


        :return: The bot_id of this TwilioChannel.
        :rtype: str
        ©r   r&   r!   r!   r"   r   û   r'   zTwilioChannel.bot_idc                 C   r(   )zÖ
        Sets the bot_id of this TwilioChannel.
        The ID of the Skill or Digital Assistant that the Channel is routed to.


        :param bot_id: The bot_id of this TwilioChannel.
        :type: str
        Nr-   )r   r   r!   r!   r"   r     r)   c                 C   r$   )aS  
        **[Required]** Gets the webhook_url of this TwilioChannel.
        The URL to use to send messages to this channel.
        This will be generally be used to configure a webhook in a 3rd party messaging system to send messages to this channel.


        :return: The webhook_url of this TwilioChannel.
        :rtype: str
        ©r   r&   r!   r!   r"   r     s   zTwilioChannel.webhook_urlc                 C   r(   )aN  
        Sets the webhook_url of this TwilioChannel.
        The URL to use to send messages to this channel.
        This will be generally be used to configure a webhook in a 3rd party messaging system to send messages to this channel.


        :param webhook_url: The webhook_url of this TwilioChannel.
        :type: str
        Nr.   )r   r   r!   r!   r"   r      s   
c                 C   s   t | ƒS ©N)r   r&   r!   r!   r"   Ú__repr__-  s   zTwilioChannel.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr!   r!   r"   Ú__eq__0  s   zTwilioChannel.__eq__c                 C   s
   | |k S r/   r!   r2   r!   r!   r"   Ú__ne__6  s   
zTwilioChannel.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r#   Úpropertyr   Úsetterr   r   r   r   r   r0   r4   r5   r!   r!   r!   r"   r      s>     












r   N)	Zchannelr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r!   r!   r!   r"   Ú<module>   s
   