o
    ëÉ¶dA  ã                   @   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                   @   s¦  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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d.d/„ ƒZejd0d/„ ƒZed1d2„ ƒZejd3d2„ ƒZd4d5„ Zd6d7„ Zd8d9„ Zd:S );ÚSkillSummaryz
    Summary of a Skill.
    ÚCREATINGÚUPDATINGÚACTIVEÚINACTIVEÚDELETINGÚDELETEDÚFAILEDÚ	PUBLISHEDÚDRAFTc                 K   s–   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| _	d| _
d| _d| _d| _d| _dS )aÙ	  
        Initializes a new SkillSummary 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 SkillSummary.
        :type id: str

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

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

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

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this SkillSummary.
            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 SkillSummary.
            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 SkillSummary.
        :type platform_version: str

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

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

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

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

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object)))ÚidÚnameÚversionÚdisplay_nameÚ	namespaceÚcategoryÚlifecycle_stateÚlifecycle_detailsÚplatform_versionÚtime_createdÚtime_updatedÚfreeform_tagsÚdefined_tagsr   r   r   ZdisplayNamer   r   ZlifecycleStateZlifecycleDetailsZplatformVersionZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_mapÚ_idÚ_nameÚ_versionÚ_display_nameÚ
_namespaceÚ	_categoryÚ_lifecycle_stateÚ_lifecycle_detailsÚ_platform_versionÚ_time_createdÚ_time_updatedÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r.   ú@usr/lib/python3.10/site-packages/oci/oda/models/skill_summary.pyÚ__init__6   sR   ?óó
zSkillSummary.__init__c                 C   ó   | j S )zÛ
        **[Required]** Gets the id of this SkillSummary.
        Unique immutable identifier that was assigned when the resource was created.


        :return: The id of this SkillSummary.
        :rtype: str
        ©r   ©r,   r.   r.   r/   r   ¢   ó   
zSkillSummary.idc                 C   ó
   || _ dS )zÍ
        Sets the id of this SkillSummary.
        Unique immutable identifier that was assigned when the resource was created.


        :param id: The id of this SkillSummary.
        :type: str
        Nr2   )r,   r   r.   r.   r/   r   ®   ó   

c                 C   r1   )a  
        **[Required]** Gets the name of this SkillSummary.
        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 SkillSummary.
        :rtype: str
        ©r    r3   r.   r.   r/   r   º   r4   zSkillSummary.namec                 C   r5   )a  
        Sets the name of this SkillSummary.
        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 SkillSummary.
        :type: str
        Nr7   )r,   r   r.   r.   r/   r   Æ   r6   c                 C   r1   )a:  
        **[Required]** Gets the version of this SkillSummary.
        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 SkillSummary.
        :rtype: str
        ©r!   r3   r.   r.   r/   r   Ò   r4   zSkillSummary.versionc                 C   r5   )a1  
        Sets the version of this SkillSummary.
        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 SkillSummary.
        :type: str
        Nr8   )r,   r   r.   r.   r/   r   Þ   r6   c                 C   r1   )z¿
        **[Required]** Gets the display_name of this SkillSummary.
        The resource's display name.


        :return: The display_name of this SkillSummary.
        :rtype: str
        ©r"   r3   r.   r.   r/   r   ê   r4   zSkillSummary.display_namec                 C   r5   )z»
        Sets the display_name of this SkillSummary.
        The resource's display name.


        :param display_name: The display_name of this SkillSummary.
        :type: str
        Nr9   )r,   r   r.   r.   r/   r   ö   r6   c                 C   r1   )z¶
        **[Required]** Gets the namespace of this SkillSummary.
        The resource's namespace.


        :return: The namespace of this SkillSummary.
        :rtype: str
        ©r#   r3   r.   r.   r/   r     r4   zSkillSummary.namespacec                 C   r5   )z¯
        Sets the namespace of this SkillSummary.
        The resource's namespace.


        :param namespace: The namespace of this SkillSummary.
        :type: str
        Nr:   )r,   r   r.   r.   r/   r     r6   c                 C   r1   )zß
        **[Required]** Gets the category of this SkillSummary.
        The resource's category.  This is used to group resource's together.


        :return: The category of this SkillSummary.
        :rtype: str
        ©r$   r3   r.   r.   r/   r     r4   zSkillSummary.categoryc                 C   r5   )z×
        Sets the category of this SkillSummary.
        The resource's category.  This is used to group resource's together.


        :param category: The category of this SkillSummary.
        :type: str
        Nr;   )r,   r   r.   r.   r/   r   &  r6   c                 C   r1   )a¸  
        **[Required]** Gets the lifecycle_state of this SkillSummary.
        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 SkillSummary.
        :rtype: str
        )r%   r3   r.   r.   r/   r   2  ó   zSkillSummary.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zÅ
        Sets the lifecycle_state of this SkillSummary.
        The resource's current state.


        :param lifecycle_state: The lifecycle_state of this SkillSummary.
        :type: str
        )r   r   r	   r
   r   r   r   ÚUNKNOWN_ENUM_VALUEN)r   r%   )r,   r   Úallowed_valuesr.   r.   r/   r   A  ó   


c                 C   r1   )aƒ  
        **[Required]** Gets the lifecycle_details of this SkillSummary.
        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 SkillSummary.
        :rtype: str
        )r&   r3   r.   r.   r/   r   P  r<   zSkillSummary.lifecycle_detailsc                 C   s    ddg}t ||ƒsd}|| _dS )zË
        Sets the lifecycle_details of this SkillSummary.
        The resource's publish state.


        :param lifecycle_details: The lifecycle_details of this SkillSummary.
        :type: str
        r   r   r=   N)r   r&   )r,   r   r>   r.   r.   r/   r   _  r?   c                 C   r1   )zÖ
        **[Required]** Gets the platform_version of this SkillSummary.
        The ODA Platform Version for this resource.


        :return: The platform_version of this SkillSummary.
        :rtype: str
        ©r'   r3   r.   r.   r/   r   n  r4   zSkillSummary.platform_versionc                 C   r5   )zÖ
        Sets the platform_version of this SkillSummary.
        The ODA Platform Version for this resource.


        :param platform_version: The platform_version of this SkillSummary.
        :type: str
        Nr@   )r,   r   r.   r.   r/   r   z  r6   c                 C   r1   )a5  
        **[Required]** Gets the time_created of this SkillSummary.
        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 SkillSummary.
        :rtype: datetime
        ©r(   r3   r.   r.   r/   r   †  ó   zSkillSummary.time_createdc                 C   r5   )a1  
        Sets the time_created of this SkillSummary.
        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 SkillSummary.
        :type: datetime
        NrA   )r,   r   r.   r.   r/   r   ”  ó   
c                 C   r1   )a:  
        **[Required]** Gets the time_updated of this SkillSummary.
        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 SkillSummary.
        :rtype: datetime
        ©r)   r3   r.   r.   r/   r   ¢  rB   zSkillSummary.time_updatedc                 C   r5   )a6  
        Sets the time_updated of this SkillSummary.
        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 SkillSummary.
        :type: datetime
        NrD   )r,   r   r.   r.   r/   r   °  rC   c                 C   r1   )a  
        Gets the freeform_tags of this SkillSummary.
        Simple key-value pair that is applied without any predefined name, type, or scope.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this SkillSummary.
        :rtype: dict(str, str)
        ©r*   r3   r.   r.   r/   r   ¾  ó   zSkillSummary.freeform_tagsc                 C   r5   )a'  
        Sets the freeform_tags of this SkillSummary.
        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 SkillSummary.
        :type: dict(str, str)
        NrE   )r,   r   r.   r.   r/   r   Ë  ó   
c                 C   r1   )a5  
        Gets the defined_tags of this SkillSummary.
        Usage of predefined tag keys. These predefined keys are scoped to namespaces.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this SkillSummary.
        :rtype: dict(str, dict(str, object))
        ©r+   r3   r.   r.   r/   r   Ø  rF   zSkillSummary.defined_tagsc                 C   r5   )a@  
        Sets the defined_tags of this SkillSummary.
        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 SkillSummary.
        :type: dict(str, dict(str, object))
        NrH   )r,   r   r.   r.   r/   r   å  rG   c                 C   s   t | ƒS ©N)r   r3   r.   r.   r/   Ú__repr__ò  s   zSkillSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r,   Úotherr.   r.   r/   Ú__eq__õ  s   zSkillSummary.__eq__c                 C   s
   | |k S rI   r.   rL   r.   r.   r/   Ú__ne__û  s   
zSkillSummary.__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_DRAFTr0   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   rJ   rN   rO   r.   r.   r.   r/   r      s†    l

























r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r.   r.   r.   r/   Ú<module>   s   