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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�ServiceCloudChannelz> The configuration for a Service Cloud agent channel. �WSDL�RESTc K s� dddddddddddddddd�| _ ddd d ddd ddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )ae Initializes a new ServiceCloudChannel object with values from keyword arguments. The default value of the :py:attr:`~oci.oda.models.ServiceCloudChannel.type` attribute of this class is ``SERVICECLOUD`` 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 ServiceCloudChannel. :type id: str :param name: The value to assign to the name property of this ServiceCloudChannel. :type name: str :param description: The value to assign to the description property of this ServiceCloudChannel. :type description: str :param category: The value to assign to the category property of this ServiceCloudChannel. 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 ServiceCloudChannel. 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 ServiceCloudChannel. :type session_expiry_duration_in_milliseconds: int :param lifecycle_state: The value to assign to the lifecycle_state property of this ServiceCloudChannel. 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 ServiceCloudChannel. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ServiceCloudChannel. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this ServiceCloudChannel. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ServiceCloudChannel. :type defined_tags: dict(str, dict(str, object)) :param domain_name: The value to assign to the domain_name property of this ServiceCloudChannel. :type domain_name: str :param host_name_prefix: The value to assign to the host_name_prefix property of this ServiceCloudChannel. :type host_name_prefix: str :param user_name: The value to assign to the user_name property of this ServiceCloudChannel. :type user_name: str :param client_type: The value to assign to the client_type property of this ServiceCloudChannel. Allowed values for this property are: "WSDL", "REST", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type client_type: 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�domain_name�host_name_prefix� user_name�client_typer r r r r �#sessionExpiryDurationInMilliseconds�lifecycleState�timeCreated�timeUpdated�freeformTags�definedTags� domainName�hostNamePrefix�userName� clientTypeN�SERVICECLOUD)� swagger_types� attribute_map�_id�_name�_description� _category�_type�(_session_expiry_duration_in_milliseconds�_lifecycle_state� _time_created� _time_updated�_freeform_tags� _defined_tags�_domain_name�_host_name_prefix� _user_name�_client_type)�self�kwargs� r; ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/oda/models/service_cloud_channel.py�__init__ s` L��zServiceCloudChannel.__init__c C s | j S )a **[Required]** Gets the domain_name of this ServiceCloudChannel. The domain name. If you have access to Oracle B2C Service, you can derive this value from the URL that you use to launch the Agent Browser User Interface. For example, if the URL is sitename.exampledomain.com, then the host name prefix is sitename and the domain name is exampledomain.com. If the channel is connecting to Oracle B2C Service version 19A or later, and you have multiple interfaces, then you must include the interface ID in the host (site) name . For example, for the interface that has an ID of 2, you would use something like sitename-2.exampledomain.com. :return: The domain_name of this ServiceCloudChannel. :rtype: str �r5 �r9 r; r; r<