ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sx e Zd ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Zdd� Z dd� Zdd� ZdS )�CreateSkillEntityDetailsz@ Properties that are required to create a skill entity. � COMPOSITE�ENUM_VALUESc K s( ddd�| _ ddd�| _d| _d| _dS )ad Initializes a new CreateSkillEntityDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.oda.models.CreateSkillValueListEntityDetails` * :class:`~oci.oda.models.CreateSkillCompositeEntityDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this CreateSkillEntityDetails. :type name: str :param type: The value to assign to the type property of this CreateSkillEntityDetails. Allowed values for this property are: "COMPOSITE", "ENUM_VALUES" :type type: str �str)�name�typer r N)Z swagger_typesZ attribute_map�_name�_type)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/oda/models/create_skill_entity_details.py�__init__ s ��z!CreateSkillEntityDetails.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r Z!CreateSkillValueListEntityDetailsr Z!CreateSkillCompositeEntityDetailsr Nr )Zobject_dictionaryr r r r �get_subtype; s z$CreateSkillEntityDetails.get_subtypec C s | j S )z� **[Required]** Gets the name of this CreateSkillEntityDetails. The entity name. This must be unique within the parent resource. :return: The name of this CreateSkillEntityDetails. :rtype: str �r �r r r r r K s zCreateSkillEntityDetails.namec C s || _ dS )z� Sets the name of this CreateSkillEntityDetails. The entity name. This must be unique within the parent resource. :param name: The name of this CreateSkillEntityDetails. :type: str Nr )r r r r r r W s c C s | j S )a **[Required]** Gets the type of this CreateSkillEntityDetails. Type of skill entity. Allowed values for this property are: "COMPOSITE", "ENUM_VALUES" :return: The type of this CreateSkillEntityDetails. :rtype: str )r r r r r r c s zCreateSkillEntityDetails.typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the type of this CreateSkillEntityDetails. Type of skill entity. :param type: The type of this CreateSkillEntityDetails. :type: str r r z1Invalid value for `type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r q s �c C s t | �S �N)r r r r r �__repr__� s z!CreateSkillEntityDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCreateSkillEntityDetails.__eq__c C s | |k S r r r r r r �__ne__� s zCreateSkillEntityDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZTYPE_COMPOSITEZTYPE_ENUM_VALUESr �staticmethodr �propertyr �setterr r r r r r r r r s"