o
    ɶdQ                     @   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Botz&
    Metadata for a Bot resource.
    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 Bot 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 Bot.
        :type id: str

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

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

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

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

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Bot.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Bot.
            Allowed values for this property are: "PUBLISHED", "DRAFT"
        :type lifecycle_details: str

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

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

        :param multilingual_mode:
            The value to assign to the multilingual_mode property of this Bot.
            Allowed values for this property are: "NATIVE", "TRANSLATION"
        :type multilingual_mode: str

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

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

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

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

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

        :param defined_tags:
            The value to assign to the defined_tags property of this Bot.
        :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:   6usr/lib/python3.10/site-packages/oci/oda/models/bot.py__init__>   s   Q	
	

zBot.__init__c                 C      | j S )z
        **[Required]** Gets the id of this Bot.
        Unique immutable identifier that was assigned when the resource was created.


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


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

c                 C   r=   )z
        **[Required]** Gets the name of this Bot.
        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 Bot.
        :rtype: str
        r'   r?   r:   r:   r;   r      r@   zBot.namec                 C   rA   )z
        Sets the name of this Bot.
        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 Bot.
        :type: str
        NrC   )r8   r   r:   r:   r;   r      rB   c                 C   r=   )a(  
        **[Required]** Gets the version of this Bot.
        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 Bot.
        :rtype: str
        r(   r?   r:   r:   r;   r      r@   zBot.versionc                 C   rA   )a  
        Sets the version of this Bot.
        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 Bot.
        :type: str
        NrD   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )z
        **[Required]** Gets the display_name of this Bot.
        The resource's display name.


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


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


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


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


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


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


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


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

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"


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


        :param lifecycle_state: The lifecycle_state of this Bot.
        :type: str
        )r   r   r	   r
   r   r   r   z?Invalid value for `lifecycle_state`, must be None or one of {0}N)r   
ValueErrorformatr-   )r8   r   allowed_valuesr:   r:   r;   r        

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

        Allowed values for this property are: "PUBLISHED", "DRAFT"


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


        :param lifecycle_details: The lifecycle_details of this Bot.
        :type: str
        r   r   zAInvalid value for `lifecycle_details`, must be None or one of {0}N)r   rJ   rK   r.   )r8   r   rL   r:   r:   r;   r     rM   c                 C   r=   )z
        **[Required]** Gets the platform_version of this Bot.
        The ODA Platform Version for this resource.


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


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


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


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

        Allowed values for this property are: "NATIVE", "TRANSLATION"


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


        :param multilingual_mode: The multilingual_mode of this Bot.
        :type: str
        r   r   zAInvalid value for `multilingual_mode`, must be None or one of {0}N)r   rJ   rK   r1   )r8   r   rL   r:   r:   r;   r     rM   c                 C   r=   )z
        Gets the primary_language_tag of this Bot.
        The primary language for the resource.


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


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


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


        :param native_language_tags: The native_language_tags of this Bot.
        :type: list[str]
        NrR   )r8   r    r:   r:   r;   r    (  rB   c                 C   r=   )a#  
        **[Required]** Gets the time_created of this Bot.
        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 Bot.
        :rtype: datetime
        r4   r?   r:   r:   r;   r!   4  rI   zBot.time_createdc                 C   rA   )a  
        Sets the time_created of this Bot.
        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 Bot.
        :type: datetime
        NrS   )r8   r!   r:   r:   r;   r!   B     
c                 C   r=   )a(  
        **[Required]** Gets the time_updated of this Bot.
        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 Bot.
        :rtype: datetime
        r5   r?   r:   r:   r;   r#   P  rI   zBot.time_updatedc                 C   rA   )a$  
        Sets the time_updated of this Bot.
        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 Bot.
        :type: datetime
        NrU   )r8   r#   r:   r:   r;   r#   ^  rT   c                 C   r=   )a	  
        Gets the freeform_tags of this Bot.
        Simple key-value pair that is applied without any predefined name, type, or scope.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this Bot.
        :rtype: dict(str, str)
        r6   r?   r:   r:   r;   r$   l     zBot.freeform_tagsc                 C   rA   )a  
        Sets the freeform_tags of this Bot.
        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 Bot.
        :type: dict(str, str)
        NrV   )r8   r$   r:   r:   r;   r$   y     
c                 C   r=   )a#  
        Gets the defined_tags of this Bot.
        Usage of predefined tag keys. These predefined keys are scoped to namespaces.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this Bot.
        :rtype: dict(str, dict(str, object))
        r7   r?   r:   r:   r;   r%     rW   zBot.defined_tagsc                 C   rA   )a.  
        Sets the defined_tags of this Bot.
        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 Bot.
        :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Bot.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r8   otherr:   r:   r;   __eq__  s   z
Bot.__eq__c                 C   s
   | |k S rZ   r:   r]   r:   r:   r;   __ne__  s   
z
Bot.__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   