o
    ëÉ¶dG  ã                   @   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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
dd„ Zdd„ Zdd„ ZdS )ÚMetadataz4
    Defines properties of each model metadata.
    c                 K   s<   dddddœ| _ dddddœ| _d| _d| _d| _d| _dS )a¹  
        Initializes a new Metadata object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this Metadata.
        :type key: str

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

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

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

        Ústr)ÚkeyÚvalueÚdescriptionÚcategoryr   r	   r
   r   N)Zswagger_typesZattribute_mapÚ_keyÚ_valueÚ_descriptionÚ	_category)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/data_science/models/metadata.pyÚ__init__   s   üü
zMetadata.__init__c                 C   ó   | j S )a¸  
        Gets the key of this Metadata.
        Key of the model Metadata. The key can either be user defined or OCI defined.
           List of OCI defined keys:
                 * useCaseType
                 * libraryName
                 * libraryVersion
                 * estimatorClass
                 * hyperParameters
                 * testartifactresults


        :return: The key of this Metadata.
        :rtype: str
        ©r   ©r   r   r   r   r   ;   s   zMetadata.keyc                 C   ó
   || _ dS )aº  
        Sets the key of this Metadata.
        Key of the model Metadata. The key can either be user defined or OCI defined.
           List of OCI defined keys:
                 * useCaseType
                 * libraryName
                 * libraryVersion
                 * estimatorClass
                 * hyperParameters
                 * testartifactresults


        :param key: The key of this Metadata.
        :type: str
        Nr   )r   r   r   r   r   r   N   s   
c                 C   r   )a-  
        Gets the value of this Metadata.
        Allowed values for useCaseType:
                     binary_classification, regression, multinomial_classification, clustering, recommender,
                     dimensionality_reduction/representation, time_series_forecasting, anomaly_detection,
                     topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other

        Allowed values for libraryName:
                     scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy,
                     prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan,
                     bert, gensim, flair, word2vec, ensemble, other


        :return: The value of this Metadata.
        :rtype: str
        ©r   r   r   r   r   r	   a   s   zMetadata.valuec                 C   r   )a1  
        Sets the value of this Metadata.
        Allowed values for useCaseType:
                     binary_classification, regression, multinomial_classification, clustering, recommender,
                     dimensionality_reduction/representation, time_series_forecasting, anomaly_detection,
                     topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other

        Allowed values for libraryName:
                     scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy,
                     prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan,
                     bert, gensim, flair, word2vec, ensemble, other


        :param value: The value of this Metadata.
        :type: str
        Nr   )r   r	   r   r   r   r	   u   s   
c                 C   r   )z§
        Gets the description of this Metadata.
        Description of model metadata


        :return: The description of this Metadata.
        :rtype: str
        ©r   r   r   r   r   r
   ‰   ó   
zMetadata.descriptionc                 C   r   )z±
        Sets the description of this Metadata.
        Description of model metadata


        :param description: The description of this Metadata.
        :type: str
        Nr   )r   r
   r   r   r   r
   •   ó   

c                 C   r   )aa  
        Gets the category of this Metadata.
        Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,other".


        :return: The category of this Metadata.
        :rtype: str
        ©r   r   r   r   r   r   ¡   r   zMetadata.categoryc                 C   r   )ah  
        Sets the category of this Metadata.
        Category of model metadata which should be null for defined metadata.For custom metadata is should be one of the following values "Performance,Training Profile,Training and Validation Datasets,Training Environment,other".


        :param category: The category of this Metadata.
        :type: str
        Nr   )r   r   r   r   r   r   ­   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__¹   s   zMetadata.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__¼   s   zMetadata.__eq__c                 C   s
   | |k S r   r   r!   r   r   r   Ú__ne__Â   s   
zMetadata.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   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   