o
    ɶdX                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s0  e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejd d Zed!d" Zejd#d" Zed$d% Zejd&d% Zed'd( Zejd)d( Zed*d+ Zejd,d+ Zed-d. Zejd/d. Zed0d1 Zejd2d1 Zed3d4 Zejd5d4 Zed6d7 Zejd8d7 Zed9d: Z e jd;d: Z ed<d= Z!e!jd>d= Z!ed?d@ Z"e"jdAd@ Z"edBdC Z#e#jdDdC Z#dEdF Z$dGdH Z%dIdJ Z&dKS )LDigitalAssistantz%
    Digital Assistant metadata.
    CREATINGUPDATINGACTIVEINACTIVEDELETINGDELETEDFAILED	PUBLISHEDDRAFTNATIVETRANSLATIONc                 K   sX  i ddddddddddddddd	dd
dddddddddddddddddddi| _ i ddddddddddddddd	dd
ddddddddddddd dd!dd"dd#i| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _	d$| _
d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$S )%a  
        Initializes a new DigitalAssistant object with values from keyword arguments.
        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 DigitalAssistant.
        :type id: str

        :param name:
            The value to assign to the name property of this DigitalAssistant.
        :type name: str

        :param version:
            The value to assign to the version property of this DigitalAssistant.
        :type version: str

        :param display_name:
            The value to assign to the display_name property of this DigitalAssistant.
        :type display_name: str

        :param category:
            The value to assign to the category property of this DigitalAssistant.
        :type category: str

        :param description:
            The value to assign to the description property of this DigitalAssistant.
        :type description: str

        :param namespace:
            The value to assign to the namespace property of this DigitalAssistant.
        :type namespace: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this DigitalAssistant.
            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 lifecycle_details:
            The value to assign to the lifecycle_details property of this DigitalAssistant.
            Allowed values for this property are: "PUBLISHED", "DRAFT", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_details: str

        :param platform_version:
            The value to assign to the platform_version property of this DigitalAssistant.
        :type platform_version: str

        :param base_id:
            The value to assign to the base_id property of this DigitalAssistant.
        :type base_id: str

        :param multilingual_mode:
            The value to assign to the multilingual_mode property of this DigitalAssistant.
            Allowed values for this property are: "NATIVE", "TRANSLATION", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type multilingual_mode: str

        :param primary_language_tag:
            The value to assign to the primary_language_tag property of this DigitalAssistant.
        :type primary_language_tag: str

        :param native_language_tags:
            The value to assign to the native_language_tags property of this DigitalAssistant.
        :type native_language_tags: list[str]

        :param time_created:
            The value to assign to the time_created property of this DigitalAssistant.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this DigitalAssistant.
        :type time_updated: datetime

        :param freeform_tags:
            The value to assign to the freeform_tags property of this DigitalAssistant.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this DigitalAssistant.
        :type defined_tags: dict(str, dict(str, object))

        idstrnameversiondisplay_namecategorydescription	namespacelifecycle_statelifecycle_detailsplatform_versionbase_idmultilingual_modeprimary_language_tagnative_language_tagsz	list[str]time_createddatetimetime_updatedfreeform_tagszdict(str, str)defined_tagszdict(str, dict(str, object))ZdisplayNameZlifecycleStateZlifecycleDetailsZplatformVersionZbaseIdZmultilingualModeZprimaryLanguageTagZnativeLanguageTagsZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_name_version_display_name	_category_description
_namespace_lifecycle_state_lifecycle_details_platform_version_base_id_multilingual_mode_primary_language_tag_native_language_tags_time_created_time_updated_freeform_tags_defined_tags)selfkwargs r:   Dusr/lib/python3.10/site-packages/oci/oda/models/digital_assistant.py__init__>   s   T	
	

zDigitalAssistant.__init__c                 C      | j S )z
        **[Required]** Gets the id of this DigitalAssistant.
        Unique immutable identifier that was assigned when the resource was created.


        :return: The id of this DigitalAssistant.
        :rtype: str
        r&   r8   r:   r:   r;   r         
zDigitalAssistant.idc                 C   
   || _ dS )z
        Sets the id of this DigitalAssistant.
        Unique immutable identifier that was assigned when the resource was created.


        :param id: The id of this DigitalAssistant.
        :type: str
        Nr>   )r8   r   r:   r:   r;   r         

c                 C   r=   )a  
        **[Required]** Gets the name of this DigitalAssistant.
        The reource's name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.


        :return: The name of this DigitalAssistant.
        :rtype: str
        r'   r?   r:   r:   r;   r      r@   zDigitalAssistant.namec                 C   rA   )a  
        Sets the name of this DigitalAssistant.
        The reource's name. The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.


        :param name: The name of this DigitalAssistant.
        :type: str
        NrC   )r8   r   r:   r:   r;   r      rB   c                 C   r=   )aB  
        **[Required]** Gets the version of this DigitalAssistant.
        The resource's version. The version can only contain numbers, letters, periods, underscores, dashes or spaces.  The version must begin with a letter or a number.


        :return: The version of this DigitalAssistant.
        :rtype: str
        r(   r?   r:   r:   r;   r      r@   zDigitalAssistant.versionc                 C   rA   )a9  
        Sets the version of this DigitalAssistant.
        The resource's version. The version can only contain numbers, letters, periods, underscores, dashes or spaces.  The version must begin with a letter or a number.


        :param version: The version of this DigitalAssistant.
        :type: str
        NrD   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )z
        **[Required]** Gets the display_name of this DigitalAssistant.
        The resource's display name.


        :return: The display_name of this DigitalAssistant.
        :rtype: str
        r)   r?   r:   r:   r;   r     r@   zDigitalAssistant.display_namec                 C   rA   )z
        Sets the display_name of this DigitalAssistant.
        The resource's display name.


        :param display_name: The display_name of this DigitalAssistant.
        :type: str
        NrE   )r8   r   r:   r:   r;   r   #  rB   c                 C   r=   )z
        Gets the category of this DigitalAssistant.
        The resource's category.  This is used to group resource's together.


        :return: The category of this DigitalAssistant.
        :rtype: str
        r*   r?   r:   r:   r;   r   /  r@   zDigitalAssistant.categoryc                 C   rA   )z
        Sets the category of this DigitalAssistant.
        The resource's category.  This is used to group resource's together.


        :param category: The category of this DigitalAssistant.
        :type: str
        NrF   )r8   r   r:   r:   r;   r   ;  rB   c                 C   r=   )z
        Gets the description of this DigitalAssistant.
        A short description of the resource.


        :return: The description of this DigitalAssistant.
        :rtype: str
        r+   r?   r:   r:   r;   r   G  r@   zDigitalAssistant.descriptionc                 C   rA   )z
        Sets the description of this DigitalAssistant.
        A short description of the resource.


        :param description: The description of this DigitalAssistant.
        :type: str
        NrG   )r8   r   r:   r:   r;   r   S  rB   c                 C   r=   )z
        Gets the namespace of this DigitalAssistant.
        The resource's namespace.


        :return: The namespace of this DigitalAssistant.
        :rtype: str
        r,   r?   r:   r:   r;   r   _  r@   zDigitalAssistant.namespacec                 C   rA   )z
        Sets the namespace of this DigitalAssistant.
        The resource's namespace.


        :param namespace: The namespace of this DigitalAssistant.
        :type: str
        NrH   )r8   r   r:   r:   r;   r   k  rB   c                 C   r=   )a  
        **[Required]** Gets the lifecycle_state of this DigitalAssistant.
        The resource's current state.

        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'.


        :return: The lifecycle_state of this DigitalAssistant.
        :rtype: str
        )r-   r?   r:   r:   r;   r   w     z DigitalAssistant.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this DigitalAssistant.
        The resource's current state.


        :param lifecycle_state: The lifecycle_state of this DigitalAssistant.
        :type: str
        )r   r   r	   r
   r   r   r   UNKNOWN_ENUM_VALUEN)r   r-   )r8   r   allowed_valuesr:   r:   r;   r        


c                 C   r=   )a  
        **[Required]** Gets the lifecycle_details of this DigitalAssistant.
        The resource's publish state.

        Allowed values for this property are: "PUBLISHED", "DRAFT", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_details of this DigitalAssistant.
        :rtype: str
        )r.   r?   r:   r:   r;   r     rI   z"DigitalAssistant.lifecycle_detailsc                 C       ddg}t ||sd}|| _dS )z
        Sets the lifecycle_details of this DigitalAssistant.
        The resource's publish state.


        :param lifecycle_details: The lifecycle_details of this DigitalAssistant.
        :type: str
        r   r   rJ   N)r   r.   )r8   r   rK   r:   r:   r;   r     rL   c                 C   r=   )z
        **[Required]** Gets the platform_version of this DigitalAssistant.
        The ODA Platform Version for this resource.


        :return: The platform_version of this DigitalAssistant.
        :rtype: str
        r/   r?   r:   r:   r;   r     r@   z!DigitalAssistant.platform_versionc                 C   rA   )z
        Sets the platform_version of this DigitalAssistant.
        The ODA Platform Version for this resource.


        :param platform_version: The platform_version of this DigitalAssistant.
        :type: str
        NrN   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )z
        Gets the base_id of this DigitalAssistant.
        The unique identifier for the base reource (when this resource extends another).


        :return: The base_id of this DigitalAssistant.
        :rtype: str
        r0   r?   r:   r:   r;   r     r@   zDigitalAssistant.base_idc                 C   rA   )z
        Sets the base_id of this DigitalAssistant.
        The unique identifier for the base reource (when this resource extends another).


        :param base_id: The base_id of this DigitalAssistant.
        :type: str
        NrO   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )a  
        Gets the multilingual_mode of this DigitalAssistant.
        The multilingual mode for the resource.

        Allowed values for this property are: "NATIVE", "TRANSLATION", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The multilingual_mode of this DigitalAssistant.
        :rtype: str
        )r1   r?   r:   r:   r;   r     rI   z"DigitalAssistant.multilingual_modec                 C   rM   )z
        Sets the multilingual_mode of this DigitalAssistant.
        The multilingual mode for the resource.


        :param multilingual_mode: The multilingual_mode of this DigitalAssistant.
        :type: str
        r   r   rJ   N)r   r1   )r8   r   rK   r:   r:   r;   r     rL   c                 C   r=   )z
        Gets the primary_language_tag of this DigitalAssistant.
        The primary language for the resource.


        :return: The primary_language_tag of this DigitalAssistant.
        :rtype: str
        r2   r?   r:   r:   r;   r     r@   z%DigitalAssistant.primary_language_tagc                 C   rA   )z
        Sets the primary_language_tag of this DigitalAssistant.
        The primary language for the resource.


        :param primary_language_tag: The primary_language_tag of this DigitalAssistant.
        :type: str
        NrP   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )z
        Gets the native_language_tags of this DigitalAssistant.
        A list of native languages supported by this resource.


        :return: The native_language_tags of this DigitalAssistant.
        :rtype: list[str]
        r3   r?   r:   r:   r;   r      r@   z%DigitalAssistant.native_language_tagsc                 C   rA   )z
        Sets the native_language_tags of this DigitalAssistant.
        A list of native languages supported by this resource.


        :param native_language_tags: The native_language_tags of this DigitalAssistant.
        :type: list[str]
        NrQ   )r8   r    r:   r:   r;   r    %  rB   c                 C   r=   )a=  
        **[Required]** Gets the time_created of this DigitalAssistant.
        When the resource was created. A date-time string as described in `RFC 3339`__, section 14.29.

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The time_created of this DigitalAssistant.
        :rtype: datetime
        r4   r?   r:   r:   r;   r!   1     zDigitalAssistant.time_createdc                 C   rA   )a9  
        Sets the time_created of this DigitalAssistant.
        When the resource was created. A date-time string as described in `RFC 3339`__, section 14.29.

        __ https://tools.ietf.org/rfc/rfc3339


        :param time_created: The time_created of this DigitalAssistant.
        :type: datetime
        NrR   )r8   r!   r:   r:   r;   r!   ?     
c                 C   r=   )aB  
        **[Required]** Gets the time_updated of this DigitalAssistant.
        When the resource was last updated. A date-time string as described in `RFC 3339`__, section 14.29.

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The time_updated of this DigitalAssistant.
        :rtype: datetime
        r5   r?   r:   r:   r;   r#   M  rS   zDigitalAssistant.time_updatedc                 C   rA   )a>  
        Sets the time_updated of this DigitalAssistant.
        When the resource was last updated. A date-time string as described in `RFC 3339`__, section 14.29.

        __ https://tools.ietf.org/rfc/rfc3339


        :param time_updated: The time_updated of this DigitalAssistant.
        :type: datetime
        NrU   )r8   r#   r:   r:   r;   r#   [  rT   c                 C   r=   )a#  
        Gets the freeform_tags of this DigitalAssistant.
        Simple key-value pair that is applied without any predefined name, type, or scope.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this DigitalAssistant.
        :rtype: dict(str, str)
        r6   r?   r:   r:   r;   r$   i     zDigitalAssistant.freeform_tagsc                 C   rA   )a/  
        Sets the freeform_tags of this DigitalAssistant.
        Simple key-value pair that is applied without any predefined name, type, or scope.
        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this DigitalAssistant.
        :type: dict(str, str)
        NrV   )r8   r$   r:   r:   r;   r$   v     
c                 C   r=   )a=  
        Gets the defined_tags of this DigitalAssistant.
        Usage of predefined tag keys. These predefined keys are scoped to namespaces.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this DigitalAssistant.
        :rtype: dict(str, dict(str, object))
        r7   r?   r:   r:   r;   r%     rW   zDigitalAssistant.defined_tagsc                 C   rA   )aH  
        Sets the defined_tags of this DigitalAssistant.
        Usage of predefined tag keys. These predefined keys are scoped to namespaces.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :param defined_tags: The defined_tags of this DigitalAssistant.
        :type: dict(str, dict(str, object))
        NrY   )r8   r%   r:   r:   r;   r%     rX   c                 C   s   t | S N)r   r?   r:   r:   r;   __repr__  s   zDigitalAssistant.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r8   otherr:   r:   r;   __eq__  s   zDigitalAssistant.__eq__c                 C   s
   | |k S rZ   r:   r]   r:   r:   r;   __ne__  s   
zDigitalAssistant.__ne__N)'__name__
__module____qualname____doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_DETAILS_PUBLISHEDZLIFECYCLE_DETAILS_DRAFTZMULTILINGUAL_MODE_NATIVEZMULTILINGUAL_MODE_TRANSLATIONr<   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r    r!   r#   r$   r%   r[   r_   r`   r:   r:   r:   r;   r      s     



































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r:   r:   r:   r;   <module>   s   