o
    ɶd                     @   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	dd Z
dd Zdd ZdS )RecommendationzW
    The details of the Optimizer Statistics Advisor findings and recommendations.
    c                 K   s2   dddd| _ dddd| _d| _d| _d| _dS )	a  
        Initializes a new Recommendation object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        :param example:
            The value to assign to the example property of this Recommendation.
        :type example: oci.database_management.models.RecommendationExample

        :param rationales:
            The value to assign to the rationales property of this Recommendation.
        :type rationales: list[oci.database_management.models.RecommendationRationale]

        strZRecommendationExamplezlist[RecommendationRationale])messageexample
rationalesr   r	   r
   N)Zswagger_typesZattribute_map_message_example_rationales)selfkwargs r   Qusr/lib/python3.10/site-packages/oci/database_management/models/recommendation.py__init__   s   
zRecommendation.__init__c                 C      | j S )z
        **[Required]** Gets the message of this Recommendation.
        An overview of the Optimizer Statistics Advisor recommendation.


        :return: The message of this Recommendation.
        :rtype: str
        r   r   r   r   r   r   4      
zRecommendation.messagec                 C   
   || _ dS )z
        Sets the message of this Recommendation.
        An overview of the Optimizer Statistics Advisor recommendation.


        :param message: The message of this Recommendation.
        :type: str
        Nr   )r   r   r   r   r   r   @      

c                 C   r   )z
        Gets the example of this Recommendation.

        :return: The example of this Recommendation.
        :rtype: oci.database_management.models.RecommendationExample
        r   r   r   r   r   r	   L   s   zRecommendation.examplec                 C   r   )z
        Sets the example of this Recommendation.

        :param example: The example of this Recommendation.
        :type: oci.database_management.models.RecommendationExample
        Nr   )r   r	   r   r   r   r	   V   s   
c                 C   r   )z
        Gets the rationales of this Recommendation.
        The rationale of the recommendation.


        :return: The rationales of this Recommendation.
        :rtype: list[oci.database_management.models.RecommendationRationale]
        r   r   r   r   r   r
   `   r   zRecommendation.rationalesc                 C   r   )z
        Sets the rationales of this Recommendation.
        The rationale of the recommendation.


        :param rationales: The rationales of this Recommendation.
        :type: list[oci.database_management.models.RecommendationRationale]
        Nr   )r   r
   r   r   r   r
   l   r   c                 C   s   t | S N)r   r   r   r   r   __repr__x   s   zRecommendation.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__{   s   zRecommendation.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zRecommendation.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr	   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   