ruạṛ
a O��f$5 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateChannelResult� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd � Zd!S )"�CreateOsvcChannelResultz0 The configuration for an OSVC channel. �OSVC�FUSIONc K s� ddddddddddddddddddd�| _ ddd d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a} Initializes a new CreateOsvcChannelResult object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.CreateOsvcChannelResult.type` attribute of this class is ``OSVC`` 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 CreateOsvcChannelResult. :type id: str :param name: The value to assign to the name property of this CreateOsvcChannelResult. :type name: str :param description: The value to assign to the description property of this CreateOsvcChannelResult. :type description: str :param category: The value to assign to the category property of this CreateOsvcChannelResult. Allowed values for this property are: "AGENT", "APPLICATION", "BOT", "BOT_AS_AGENT", "SYSTEM", "EVENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type category: str :param type: The value to assign to the type property of this CreateOsvcChannelResult. Allowed values for this property are: "ANDROID", "APPEVENT", "APPLICATION", "CORTANA", "FACEBOOK", "IOS", "MSTEAMS", "OSS", "OSVC", "SERVICECLOUD", "SLACK", "TEST", "TWILIO", "WEB", "WEBHOOK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param session_expiry_duration_in_milliseconds: The value to assign to the session_expiry_duration_in_milliseconds property of this CreateOsvcChannelResult. :type session_expiry_duration_in_milliseconds: int :param lifecycle_state: The value to assign to the lifecycle_state property of this CreateOsvcChannelResult. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this CreateOsvcChannelResult. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this CreateOsvcChannelResult. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this CreateOsvcChannelResult. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateOsvcChannelResult. :type defined_tags: dict(str, dict(str, object)) :param host: The value to assign to the host property of this CreateOsvcChannelResult. :type host: str :param port: The value to assign to the port property of this CreateOsvcChannelResult. :type port: str :param user_name: The value to assign to the user_name property of this CreateOsvcChannelResult. :type user_name: str :param total_session_count: The value to assign to the total_session_count property of this CreateOsvcChannelResult. :type total_session_count: int :param channel_service: The value to assign to the channel_service property of this CreateOsvcChannelResult. Allowed values for this property are: "OSVC", "FUSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type channel_service: str :param authentication_provider_name: The value to assign to the authentication_provider_name property of this CreateOsvcChannelResult. :type authentication_provider_name: str :param bot_id: The value to assign to the bot_id property of this CreateOsvcChannelResult. :type bot_id: 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�host�port� user_name�total_session_count�channel_service�authentication_provider_name�bot_idr r r r r �#sessionExpiryDurationInMilliseconds�lifecycleState�timeCreated�timeUpdated�freeformTags�definedTagsr r �userName�totalSessionCount�channelService�authenticationProviderName�botIdNr )� swagger_types� attribute_map�_id�_name�_description� _category�_type�(_session_expiry_duration_in_milliseconds�_lifecycle_state� _time_created� _time_updated�_freeform_tags� _defined_tags�_host�_port� _user_name�_total_session_count�_channel_service�_authentication_provider_name�_bot_id)�self�kwargs� rA ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/oda/models/create_osvc_channel_result.py�__init__ sr X��z CreateOsvcChannelResult.__init__c C s | j S )aj **[Required]** Gets the host of this CreateOsvcChannelResult. The host. For OSVC, you can derive these values from the URL that you use to launch the Agent Browser User Interface or the chat launch page. For example, if the URL is https://sitename.exampledomain.com/app/chat/chat_launch, then the host is sitename.exampledomain.com. For FUSION, this is the host portion of your Oracle Applications Cloud (Fusion) instance's URL. For example: sitename.exampledomain.com. :return: The host of this CreateOsvcChannelResult. :rtype: str �r8 �r? rA rA rB r � s zCreateOsvcChannelResult.hostc C s || _ dS )a^ Sets the host of this CreateOsvcChannelResult. The host. For OSVC, you can derive these values from the URL that you use to launch the Agent Browser User Interface or the chat launch page. For example, if the URL is https://sitename.exampledomain.com/app/chat/chat_launch, then the host is sitename.exampledomain.com. For FUSION, this is the host portion of your Oracle Applications Cloud (Fusion) instance's URL. For example: sitename.exampledomain.com. :param host: The host of this CreateOsvcChannelResult. :type: str NrD )r? r rA rA rB r � s c C s | j S )z� **[Required]** Gets the port of this CreateOsvcChannelResult. The port. :return: The port of this CreateOsvcChannelResult. :rtype: str �r9 rE rA rA rB r � s zCreateOsvcChannelResult.portc C s || _ dS )z� Sets the port of this CreateOsvcChannelResult. The port. :param port: The port of this CreateOsvcChannelResult. :type: str NrF )r? r rA rA rB r � s c C s | j S )z� **[Required]** Gets the user_name of this CreateOsvcChannelResult. The user name for the digital-assistant agent. :return: The user_name of this CreateOsvcChannelResult. :rtype: str �r: rE rA rA rB r � s z!CreateOsvcChannelResult.user_namec C s || _ dS )z� Sets the user_name of this CreateOsvcChannelResult. The user name for the digital-assistant agent. :param user_name: The user_name of this CreateOsvcChannelResult. :type: str NrG )r? r rA rA rB r � s c C s | j S )z� **[Required]** Gets the total_session_count of this CreateOsvcChannelResult. The total session count. :return: The total_session_count of this CreateOsvcChannelResult. :rtype: int �r; rE rA rA rB r s z+CreateOsvcChannelResult.total_session_countc C s || _ dS )z� Sets the total_session_count of this CreateOsvcChannelResult. The total session count. :param total_session_count: The total_session_count of this CreateOsvcChannelResult. :type: int NrH )r? r rA rA rB r s c C s | j S )a� **[Required]** Gets the channel_service of this CreateOsvcChannelResult. The type of OSVC service. Allowed values for this property are: "OSVC", "FUSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The channel_service of this CreateOsvcChannelResult. :rtype: str )r<