ruạṛ
a O��fN$ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateChannelDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�CreateTwilioChannelDetailsz9 Properties required to create a Twilio channel. c K s� ddddddddddddd�| _ ddd d ddd dddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a Initializes a new CreateTwilioChannelDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.CreateTwilioChannelDetails.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 name: The value to assign to the name property of this CreateTwilioChannelDetails. :type name: str :param description: The value to assign to the description property of this CreateTwilioChannelDetails. :type description: str :param type: The value to assign to the type property of this CreateTwilioChannelDetails. 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 CreateTwilioChannelDetails. :type session_expiry_duration_in_milliseconds: int :param freeform_tags: The value to assign to the freeform_tags property of this CreateTwilioChannelDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateTwilioChannelDetails. :type defined_tags: dict(str, dict(str, object)) :param account_sid: The value to assign to the account_sid property of this CreateTwilioChannelDetails. :type account_sid: str :param phone_number: The value to assign to the phone_number property of this CreateTwilioChannelDetails. :type phone_number: str :param auth_token: The value to assign to the auth_token property of this CreateTwilioChannelDetails. :type auth_token: str :param is_mms_enabled: The value to assign to the is_mms_enabled property of this CreateTwilioChannelDetails. :type is_mms_enabled: bool :param original_connectors_url: The value to assign to the original_connectors_url property of this CreateTwilioChannelDetails. :type original_connectors_url: str :param bot_id: The value to assign to the bot_id property of this CreateTwilioChannelDetails. :type bot_id: str �str�intzdict(str, str)zdict(str, dict(str, object))�bool)�name�description�type�'session_expiry_duration_in_milliseconds� freeform_tags�defined_tags�account_sid�phone_number� auth_token�is_mms_enabled�original_connectors_url�bot_idr r r �#sessionExpiryDurationInMilliseconds�freeformTags�definedTags� accountSID�phoneNumber� authToken�isMmsEnabled�originalConnectorsUrl�botIdN�TWILIO)� swagger_types� attribute_map�_name�_description�_type�(_session_expiry_duration_in_milliseconds�_freeform_tags� _defined_tags�_account_sid� _phone_number�_auth_token�_is_mms_enabled�_original_connectors_url�_bot_id)�self�kwargs� r2 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/oda/models/create_twilio_channel_details.py�__init__ sN 9��z#CreateTwilioChannelDetails.__init__c C s | j S )z� **[Required]** Gets the account_sid of this CreateTwilioChannelDetails. The Account SID for the Twilio number. :return: The account_sid of this CreateTwilioChannelDetails. :rtype: str �r* �r0 r2 r2 r3 r t s z&CreateTwilioChannelDetails.account_sidc C s || _ dS )z� Sets the account_sid of this CreateTwilioChannelDetails. The Account SID for the Twilio number. :param account_sid: The account_sid of this CreateTwilioChannelDetails. :type: str Nr5 )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the phone_number of this CreateTwilioChannelDetails. The Twilio phone number. :return: The phone_number of this CreateTwilioChannelDetails. :rtype: str �r+ r6 r2 r2 r3 r � s z'CreateTwilioChannelDetails.phone_numberc C s || _ dS )z� Sets the phone_number of this CreateTwilioChannelDetails. The Twilio phone number. :param phone_number: The phone_number of this CreateTwilioChannelDetails. :type: str Nr7 )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the auth_token of this CreateTwilioChannelDetails. The Auth Token for the Twilio number. :return: The auth_token of this CreateTwilioChannelDetails. :rtype: str �r, r6 r2 r2 r3 r � s z%CreateTwilioChannelDetails.auth_tokenc C s || _ dS )z� Sets the auth_token of this CreateTwilioChannelDetails. The Auth Token for the Twilio number. :param auth_token: The auth_token of this CreateTwilioChannelDetails. :type: str Nr8 )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the is_mms_enabled of this CreateTwilioChannelDetails. Whether MMS is enabled for this channel or not. :return: The is_mms_enabled of this CreateTwilioChannelDetails. :rtype: bool �r- r6 r2 r2 r3 r � s z)CreateTwilioChannelDetails.is_mms_enabledc C s || _ dS )z� Sets the is_mms_enabled of this CreateTwilioChannelDetails. Whether MMS is enabled for this channel or not. :param is_mms_enabled: The is_mms_enabled of this CreateTwilioChannelDetails. :type: bool Nr9 )r0 r r2 r2 r3 r � s c C s | j S )a Gets the original_connectors_url of this CreateTwilioChannelDetails. The original connectors URL (used for backward compatibility). :return: The original_connectors_url of this CreateTwilioChannelDetails. :rtype: str �r. r6 r2 r2 r3 r � s z2CreateTwilioChannelDetails.original_connectors_urlc C s || _ dS )a Sets the original_connectors_url of this CreateTwilioChannelDetails. The original connectors URL (used for backward compatibility). :param original_connectors_url: The original_connectors_url of this CreateTwilioChannelDetails. :type: str Nr: )r0 r r2 r2 r3 r � s c C s | j S )z� Gets the bot_id of this CreateTwilioChannelDetails. The ID of the Skill or Digital Assistant that the Channel is routed to. :return: The bot_id of this CreateTwilioChannelDetails. :rtype: str �r/ r6 r2 r2 r3 r � s z!CreateTwilioChannelDetails.bot_idc C s || _ dS )z� Sets the bot_id of this CreateTwilioChannelDetails. The ID of the Skill or Digital Assistant that the Channel is routed to. :param bot_id: The bot_id of this CreateTwilioChannelDetails. :type: str Nr; )r0 r r2 r2 r3 r � s c C s t | �S �N)r r6 r2 r2 r3 �__repr__ s z#CreateTwilioChannelDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r0 �otherr2 r2 r3 �__eq__ s z!CreateTwilioChannelDetails.__eq__c C s | |k S r<