ruạṛ
a O��f�# � @ 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 )�CreateSlackChannelDetailsz8 Properties required to create a Slack channel. c K s� ddddddddddddd�| _ dddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new CreateSlackChannelDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.CreateSlackChannelDetails.type` attribute of this class is ``SLACK`` 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 CreateSlackChannelDetails. :type name: str :param description: The value to assign to the description property of this CreateSlackChannelDetails. :type description: str :param type: The value to assign to the type property of this CreateSlackChannelDetails. 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 CreateSlackChannelDetails. :type session_expiry_duration_in_milliseconds: int :param freeform_tags: The value to assign to the freeform_tags property of this CreateSlackChannelDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateSlackChannelDetails. :type defined_tags: dict(str, dict(str, object)) :param client_id: The value to assign to the client_id property of this CreateSlackChannelDetails. :type client_id: str :param auth_success_url: The value to assign to the auth_success_url property of this CreateSlackChannelDetails. :type auth_success_url: str :param auth_error_url: The value to assign to the auth_error_url property of this CreateSlackChannelDetails. :type auth_error_url: str :param signing_secret: The value to assign to the signing_secret property of this CreateSlackChannelDetails. :type signing_secret: str :param client_secret: The value to assign to the client_secret property of this CreateSlackChannelDetails. :type client_secret: str :param bot_id: The value to assign to the bot_id property of this CreateSlackChannelDetails. :type bot_id: str �str�intzdict(str, str)zdict(str, dict(str, object)))�name�description�type�'session_expiry_duration_in_milliseconds� freeform_tags�defined_tags� client_id�auth_success_url�auth_error_url�signing_secret� client_secret�bot_idr r r �#sessionExpiryDurationInMilliseconds�freeformTags�definedTags�clientId�authSuccessUrl�authErrorUrl� signingSecret�clientSecret�botIdN�SLACK)� swagger_types� attribute_map�_name�_description�_type�(_session_expiry_duration_in_milliseconds�_freeform_tags� _defined_tags� _client_id�_auth_success_url�_auth_error_url�_signing_secret�_client_secret�_bot_id)�self�kwargs� r1 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/oda/models/create_slack_channel_details.py�__init__ sN 9��z"CreateSlackChannelDetails.__init__c C s | j S )z� **[Required]** Gets the client_id of this CreateSlackChannelDetails. The Slack Client Id for the Slack app. :return: The client_id of this CreateSlackChannelDetails. :rtype: str �r) �r/ r1 r1 r2 r t s z#CreateSlackChannelDetails.client_idc C s || _ dS )z� Sets the client_id of this CreateSlackChannelDetails. The Slack Client Id for the Slack app. :param client_id: The client_id of this CreateSlackChannelDetails. :type: str Nr4 )r/ r r1 r1 r2 r � s c C s | j S )z� Gets the auth_success_url of this CreateSlackChannelDetails. The URL to redirect to when authentication is successful. :return: The auth_success_url of this CreateSlackChannelDetails. :rtype: str �r* r5 r1 r1 r2 r � s z*CreateSlackChannelDetails.auth_success_urlc C s || _ dS )z� Sets the auth_success_url of this CreateSlackChannelDetails. The URL to redirect to when authentication is successful. :param auth_success_url: The auth_success_url of this CreateSlackChannelDetails. :type: str Nr6 )r/ r r1 r1 r2 r � s c C s | j S )z� Gets the auth_error_url of this CreateSlackChannelDetails. The URL to redirect to when authentication is unsuccessful. :return: The auth_error_url of this CreateSlackChannelDetails. :rtype: str �r+ r5 r1 r1 r2 r � s z(CreateSlackChannelDetails.auth_error_urlc C s || _ dS )z� Sets the auth_error_url of this CreateSlackChannelDetails. The URL to redirect to when authentication is unsuccessful. :param auth_error_url: The auth_error_url of this CreateSlackChannelDetails. :type: str Nr7 )r/ r r1 r1 r2 r � s c C s | j S )z� **[Required]** Gets the signing_secret of this CreateSlackChannelDetails. The Signing Secret for the Slack App. :return: The signing_secret of this CreateSlackChannelDetails. :rtype: str �r, r5 r1 r1 r2 r � s z(CreateSlackChannelDetails.signing_secretc C s || _ dS )z� Sets the signing_secret of this CreateSlackChannelDetails. The Signing Secret for the Slack App. :param signing_secret: The signing_secret of this CreateSlackChannelDetails. :type: str Nr8 )r/ r r1 r1 r2 r � s c C s | j S )z� **[Required]** Gets the client_secret of this CreateSlackChannelDetails. The Client Secret for the Slack App. :return: The client_secret of this CreateSlackChannelDetails. :rtype: str �r- r5 r1 r1 r2 r � s z'CreateSlackChannelDetails.client_secretc C s || _ dS )z� Sets the client_secret of this CreateSlackChannelDetails. The Client Secret for the Slack App. :param client_secret: The client_secret of this CreateSlackChannelDetails. :type: str Nr9 )r/ r r1 r1 r2 r � s c C s | j S )z� Gets the bot_id of this CreateSlackChannelDetails. The ID of the Skill or Digital Assistant that the Channel is routed to. :return: The bot_id of this CreateSlackChannelDetails. :rtype: str �r. r5 r1 r1 r2 r � s z CreateSlackChannelDetails.bot_idc C s || _ dS )z� Sets the bot_id of this CreateSlackChannelDetails. The ID of the Skill or Digital Assistant that the Channel is routed to. :param bot_id: The bot_id of this CreateSlackChannelDetails. :type: str Nr: )r/ r r1 r1 r2 r � s c C s t | �S �N)r r5 r1 r1 r2 �__repr__ s z"CreateSlackChannelDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r/ �otherr1 r1 r2 �__eq__ s z CreateSlackChannelDetails.__eq__c C s | |k S r; r1 r>