ruạṛ
a O��f* � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Channel� )�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 d d� Z dd� Zdd� ZdS )�MSTeamsChannelz4 The configuration for an MS Teams channel. c K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a; Initializes a new MSTeamsChannel object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.MSTeamsChannel.type` attribute of this class is ``MSTEAMS`` 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 MSTeamsChannel. :type id: str :param name: The value to assign to the name property of this MSTeamsChannel. :type name: str :param description: The value to assign to the description property of this MSTeamsChannel. :type description: str :param category: The value to assign to the category property of this MSTeamsChannel. 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 MSTeamsChannel. 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 MSTeamsChannel. :type session_expiry_duration_in_milliseconds: int :param lifecycle_state: The value to assign to the lifecycle_state property of this MSTeamsChannel. 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 MSTeamsChannel. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MSTeamsChannel. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this MSTeamsChannel. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MSTeamsChannel. :type defined_tags: dict(str, dict(str, object)) :param msa_app_id: The value to assign to the msa_app_id property of this MSTeamsChannel. :type msa_app_id: str :param bot_id: The value to assign to the bot_id property of this MSTeamsChannel. :type bot_id: str :param webhook_url: The value to assign to the webhook_url property of this MSTeamsChannel. :type webhook_url: str �str�int�datetimezdict(str, str)zdict(str, dict(str, object)))�id�name�description�category�type�'session_expiry_duration_in_milliseconds�lifecycle_state�time_created�time_updated� freeform_tags�defined_tags� msa_app_id�bot_id�webhook_urlr r r r r �#sessionExpiryDurationInMilliseconds�lifecycleState�timeCreated�timeUpdated�freeformTags�definedTags�msaAppId�botId� webhookUrlN�MSTEAMS)� swagger_types� attribute_map�_id�_name�_description� _category�_type�(_session_expiry_duration_in_milliseconds�_lifecycle_state� _time_created� _time_updated�_freeform_tags� _defined_tags�_msa_app_id�_bot_id�_webhook_url)�self�kwargs� r6 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/oda/models/ms_teams_channel.py�__init__ sZ C��zMSTeamsChannel.__init__c C s | j S )z� **[Required]** Gets the msa_app_id of this MSTeamsChannel. The Microsoft App ID that you obtained when you created your bot registration in Azure. :return: The msa_app_id of this MSTeamsChannel. :rtype: str �r1 �r4 r6 r6 r7 r � s zMSTeamsChannel.msa_app_idc C s || _ dS )z� Sets the msa_app_id of this MSTeamsChannel. The Microsoft App ID that you obtained when you created your bot registration in Azure. :param msa_app_id: The msa_app_id of this MSTeamsChannel. :type: str Nr9 )r4 r r6 r6 r7 r � s c C s | j S )z� Gets the bot_id of this MSTeamsChannel. The ID of the Skill or Digital Assistant that the Channel is routed to. :return: The bot_id of this MSTeamsChannel. :rtype: str �r2 r: r6 r6 r7 r � s zMSTeamsChannel.bot_idc C s || _ dS )z� Sets the bot_id of this MSTeamsChannel. The ID of the Skill or Digital Assistant that the Channel is routed to. :param bot_id: The bot_id of this MSTeamsChannel. :type: str Nr; )r4 r r6 r6 r7 r � s c C s | j S )aU **[Required]** Gets the webhook_url of this MSTeamsChannel. 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 MSTeamsChannel. :rtype: str �r3 r: r6 r6 r7 r � s zMSTeamsChannel.webhook_urlc C s || _ dS )aP Sets the webhook_url of this MSTeamsChannel. 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 MSTeamsChannel. :type: str Nr<