403Webshell
Server IP : 162.241.203.86  /  Your IP : 216.73.216.183
Web Server : Apache
System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
User : luxlic01 ( 6532)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/oci/optimizer/models/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/optimizer/models/__pycache__/recommendation.cpython-39.pyc
a

���fDW�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdd�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd ��Zejd!d ��Zed"d#��Zejd$d#��Zed%d&��Zejd'd&��Zed(d)��Zejd*d)��Zed+d,��Z e jd-d,��Z ed.d/��Z!e!jd0d/��Z!ed1d2��Z"e"jd3d2��Z"ed4d5��Z#e#jd6d5��Z#ed7d8��Z$e$jd9d8��Z$ed:d;��Z%e%jd<d;��Z%ed=d>��Z&e&jd?d>��Z&ed@dA��Z'e'jdBdA��Z'edCdD��Z(e(jdEdD��Z(dFdG�Z)dHdI�Z*dJdK�Z+dLS)M�Recommendationz:
    The metadata associated with the recommendation.
    �CRITICAL�HIGH�MODERATE�LOW�MINOR�ACTIVE�FAILED�INACTIVE�	ATTACHING�	DETACHING�DELETING�DELETED�UPDATING�CREATING�PENDING�	DISMISSED�	POSTPONED�IMPLEMENTEDcKs�ddddddddddddddddd�|_dd	d
ddd
ddddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_dS)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 id:
            The value to assign to the id property of this Recommendation.
        :type id: str

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

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

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

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

        :param importance:
            The value to assign to the importance property of this Recommendation.
            Allowed values for this property are: "CRITICAL", "HIGH", "MODERATE", "LOW", "MINOR", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type importance: str

        :param resource_counts:
            The value to assign to the resource_counts property of this Recommendation.
        :type resource_counts: list[oci.optimizer.models.ResourceCount]

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Recommendation.
            Allowed values for this property are: "ACTIVE", "FAILED", "INACTIVE", "ATTACHING", "DETACHING", "DELETING", "DELETED", "UPDATING", "CREATING", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param estimated_cost_saving:
            The value to assign to the estimated_cost_saving property of this Recommendation.
        :type estimated_cost_saving: float

        :param status:
            The value to assign to the status property of this Recommendation.
            Allowed values for this property are: "PENDING", "DISMISSED", "POSTPONED", "IMPLEMENTED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type status: str

        :param time_status_begin:
            The value to assign to the time_status_begin property of this Recommendation.
        :type time_status_begin: datetime

        :param time_status_end:
            The value to assign to the time_status_end property of this Recommendation.
        :type time_status_end: datetime

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

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

        :param supported_levels:
            The value to assign to the supported_levels property of this Recommendation.
        :type supported_levels: oci.optimizer.models.SupportedLevels

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

        �strzlist[ResourceCount]�floatZdatetimeZSupportedLevelszdict(str, str))�id�compartment_id�category_id�name�description�
importance�resource_counts�lifecycle_state�estimated_cost_saving�status�time_status_begin�time_status_end�time_created�time_updated�supported_levels�extended_metadatarZ
compartmentIdZ
categoryIdrrr ZresourceCountsZlifecycleStateZestimatedCostSavingr$ZtimeStatusBeginZ
timeStatusEndZtimeCreatedZtimeUpdatedZsupportedLevelsZextendedMetadataN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�_category_id�_name�_description�_importance�_resource_counts�_lifecycle_state�_estimated_cost_saving�_status�_time_status_begin�_time_status_end�
_time_created�
_time_updated�_supported_levels�_extended_metadata)�self�kwargs�r=�G/usr/lib/python3.9/site-packages/oci/optimizer/models/recommendation.py�__init__ZsdM��zRecommendation.__init__cCs|jS)z�
        **[Required]** Gets the id of this Recommendation.
        The unique OCID associated with the recommendation.


        :return: The id of this Recommendation.
        :rtype: str
        �r+�r;r=r=r>r�s
zRecommendation.idcCs
||_dS)z�
        Sets the id of this Recommendation.
        The unique OCID associated with the recommendation.


        :param id: The id of this Recommendation.
        :type: str
        Nr@)r;rr=r=r>r�s
cCs|jS)z�
        **[Required]** Gets the compartment_id of this Recommendation.
        The OCID of the tenancy. The tenancy is the root compartment.


        :return: The compartment_id of this Recommendation.
        :rtype: str
        �r,rAr=r=r>r�s
zRecommendation.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this Recommendation.
        The OCID of the tenancy. The tenancy is the root compartment.


        :param compartment_id: The compartment_id of this Recommendation.
        :type: str
        NrB)r;rr=r=r>rs
cCs|jS)z�
        **[Required]** Gets the category_id of this Recommendation.
        The unique OCID associated with the category.


        :return: The category_id of this Recommendation.
        :rtype: str
        �r-rAr=r=r>r
s
zRecommendation.category_idcCs
||_dS)z�
        Sets the category_id of this Recommendation.
        The unique OCID associated with the category.


        :param category_id: The category_id of this Recommendation.
        :type: str
        NrC)r;rr=r=r>rs
cCs|jS)z�
        **[Required]** Gets the name of this Recommendation.
        The name assigned to the recommendation.


        :return: The name of this Recommendation.
        :rtype: str
        �r.rAr=r=r>r%s
zRecommendation.namecCs
||_dS)z�
        Sets the name of this Recommendation.
        The name assigned to the recommendation.


        :param name: The name of this Recommendation.
        :type: str
        NrD)r;rr=r=r>r1s
cCs|jS)z�
        **[Required]** Gets the description of this Recommendation.
        Text describing the recommendation.


        :return: The description of this Recommendation.
        :rtype: str
        �r/rAr=r=r>r=s
zRecommendation.descriptioncCs
||_dS)z�
        Sets the description of this Recommendation.
        Text describing the recommendation.


        :param description: The description of this Recommendation.
        :type: str
        NrE)r;rr=r=r>rIs
cCs|jS)a�
        **[Required]** Gets the importance of this Recommendation.
        The level of importance assigned to the recommendation.

        Allowed values for this property are: "CRITICAL", "HIGH", "MODERATE", "LOW", "MINOR", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The importance of this Recommendation.
        :rtype: str
        )r0rAr=r=r>r Us
zRecommendation.importancecCs gd�}t||�sd}||_dS)z�
        Sets the importance of this Recommendation.
        The level of importance assigned to the recommendation.


        :param importance: The importance of this Recommendation.
        :type: str
        )rrr	r
r�UNKNOWN_ENUM_VALUEN)rr0)r;r �allowed_valuesr=r=r>r ds

cCs|jS)a$
        **[Required]** Gets the resource_counts of this Recommendation.
        An array of `ResourceCount` objects grouped by the status of the resource actions.


        :return: The resource_counts of this Recommendation.
        :rtype: list[oci.optimizer.models.ResourceCount]
        �r1rAr=r=r>r!ss
zRecommendation.resource_countscCs
||_dS)a#
        Sets the resource_counts of this Recommendation.
        An array of `ResourceCount` objects grouped by the status of the resource actions.


        :param resource_counts: The resource_counts of this Recommendation.
        :type: list[oci.optimizer.models.ResourceCount]
        NrH)r;r!r=r=r>r!s
cCs|jS)a�
        **[Required]** Gets the lifecycle_state of this Recommendation.
        The recommendation's current state.

        Allowed values for this property are: "ACTIVE", "FAILED", "INACTIVE", "ATTACHING", "DETACHING", "DELETING", "DELETED", "UPDATING", "CREATING", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Recommendation.
        :rtype: str
        )r2rAr=r=r>r"�s
zRecommendation.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Recommendation.
        The recommendation's current state.


        :param lifecycle_state: The lifecycle_state of this Recommendation.
        :type: str
        )	rr
rrrrrrrrFN)rr2)r;r"rGr=r=r>r"�s

cCs|jS)z�
        **[Required]** Gets the estimated_cost_saving of this Recommendation.
        The estimated cost savings, in dollars, for the recommendation.


        :return: The estimated_cost_saving of this Recommendation.
        :rtype: float
        �r3rAr=r=r>r#�s
z$Recommendation.estimated_cost_savingcCs
||_dS)z�
        Sets the estimated_cost_saving of this Recommendation.
        The estimated cost savings, in dollars, for the recommendation.


        :param estimated_cost_saving: The estimated_cost_saving of this Recommendation.
        :type: float
        NrI)r;r#r=r=r>r#�s
cCs|jS)a�
        **[Required]** Gets the status of this Recommendation.
        The current status of the recommendation.

        Allowed values for this property are: "PENDING", "DISMISSED", "POSTPONED", "IMPLEMENTED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The status of this Recommendation.
        :rtype: str
        )r4rAr=r=r>r$�s
zRecommendation.statuscCs gd�}t||�sd}||_dS)z�
        Sets the status of this Recommendation.
        The current status of the recommendation.


        :param status: The status of this Recommendation.
        :type: str
        )rrrrrFN)rr4)r;r$rGr=r=r>r$�s

cCs|jS)a�
        **[Required]** Gets the time_status_begin of this Recommendation.
        The date and time that the recommendation entered its current status. The format is defined by RFC3339.

        For example, "The status of the recommendation changed from `pending` to `current(ignored)` on this date and time."


        :return: The time_status_begin of this Recommendation.
        :rtype: datetime
        �r5rAr=r=r>r%�sz Recommendation.time_status_begincCs
||_dS)a�
        Sets the time_status_begin of this Recommendation.
        The date and time that the recommendation entered its current status. The format is defined by RFC3339.

        For example, "The status of the recommendation changed from `pending` to `current(ignored)` on this date and time."


        :param time_status_begin: The time_status_begin of this Recommendation.
        :type: datetime
        NrJ)r;r%r=r=r>r%�scCs|jS)a�
        Gets the time_status_end of this Recommendation.
        The date and time the current status will change. The format is defined by RFC3339.

        For example, "The current `postponed` status of the recommendation will end and change to `pending` on this
        date and time."


        :return: The time_status_end of this Recommendation.
        :rtype: datetime
        �r6rAr=r=r>r&�s
zRecommendation.time_status_endcCs
||_dS)a�
        Sets the time_status_end of this Recommendation.
        The date and time the current status will change. The format is defined by RFC3339.

        For example, "The current `postponed` status of the recommendation will end and change to `pending` on this
        date and time."


        :param time_status_end: The time_status_end of this Recommendation.
        :type: datetime
        NrK)r;r&r=r=r>r&
s
cCs|jS)z�
        Gets the time_created of this Recommendation.
        The date and time the recommendation details were created, in the format defined by RFC3339.


        :return: The time_created of this Recommendation.
        :rtype: datetime
        �r7rAr=r=r>r's
zRecommendation.time_createdcCs
||_dS)a
        Sets the time_created of this Recommendation.
        The date and time the recommendation details were created, in the format defined by RFC3339.


        :param time_created: The time_created of this Recommendation.
        :type: datetime
        NrL)r;r'r=r=r>r'%s
cCs|jS)z�
        Gets the time_updated of this Recommendation.
        The date and time the recommendation details were last updated, in the format defined by RFC3339.


        :return: The time_updated of this Recommendation.
        :rtype: datetime
        �r8rAr=r=r>r(1s
zRecommendation.time_updatedcCs
||_dS)a	
        Sets the time_updated of this Recommendation.
        The date and time the recommendation details were last updated, in the format defined by RFC3339.


        :param time_updated: The time_updated of this Recommendation.
        :type: datetime
        NrM)r;r(r=r=r>r(=s
cCs|jS)z�
        Gets the supported_levels of this Recommendation.

        :return: The supported_levels of this Recommendation.
        :rtype: oci.optimizer.models.SupportedLevels
        �r9rAr=r=r>r)IszRecommendation.supported_levelscCs
||_dS)z�
        Sets the supported_levels of this Recommendation.

        :param supported_levels: The supported_levels of this Recommendation.
        :type: oci.optimizer.models.SupportedLevels
        NrN)r;r)r=r=r>r)SscCs|jS)a$
        Gets the extended_metadata of this Recommendation.
        Additional metadata key/value pairs for the recommendation.

        For example:

        `{"EstimatedSaving": "200"}`


        :return: The extended_metadata of this Recommendation.
        :rtype: dict(str, str)
        �r:rAr=r=r>r*]sz Recommendation.extended_metadatacCs
||_dS)a4
        Sets the extended_metadata of this Recommendation.
        Additional metadata key/value pairs for the recommendation.

        For example:

        `{"EstimatedSaving": "200"}`


        :param extended_metadata: The extended_metadata of this Recommendation.
        :type: dict(str, str)
        NrO)r;r*r=r=r>r*mscCst|�S�N)rrAr=r=r>�__repr__}szRecommendation.__repr__cCs|durdS|j|jkS)NF)�__dict__�r;�otherr=r=r>�__eq__�szRecommendation.__eq__cCs
||kSrPr=rSr=r=r>�__ne__�szRecommendation.__ne__N),�__name__�
__module__�__qualname__�__doc__ZIMPORTANCE_CRITICALZIMPORTANCE_HIGHZIMPORTANCE_MODERATEZIMPORTANCE_LOWZIMPORTANCE_MINORZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_ATTACHINGZLIFECYCLE_STATE_DETACHINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_CREATINGZSTATUS_PENDINGZSTATUS_DISMISSEDZSTATUS_POSTPONEDZSTATUS_IMPLEMENTEDr?�propertyr�setterrrrrr r!r"r#r$r%r&r'r(r)r*rQrUrVr=r=r=r>rs�






























	
	

rN)Zoci.utilrrrZoci.decoratorsr�objectrr=r=r=r>�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit