o
    ëÉ¶dBB  ã                   @   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 );ÚProfileSummaryz;
    The metadata associated with the profile summary.
    ÚACTIVEÚFAILEDÚINACTIVEÚ	ATTACHINGÚ	DETACHINGÚDELETINGÚDELETEDÚUPDATINGÚCREATINGc                 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 ProfileSummary 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 ProfileSummary.
        :type id: str

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

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

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

        :param aggregation_interval_in_days:
            The value to assign to the aggregation_interval_in_days property of this ProfileSummary.
        :type aggregation_interval_in_days: int

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ProfileSummary.
            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 levels_configuration:
            The value to assign to the levels_configuration property of this ProfileSummary.
        :type levels_configuration: oci.optimizer.models.LevelsConfiguration

        :param target_compartments:
            The value to assign to the target_compartments property of this ProfileSummary.
        :type target_compartments: oci.optimizer.models.TargetCompartments

        :param target_tags:
            The value to assign to the target_tags property of this ProfileSummary.
        :type target_tags: oci.optimizer.models.TargetTags

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

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

        ÚstrÚintzdict(str, dict(str, object))zdict(str, str)ZLevelsConfigurationZTargetCompartmentsZ
TargetTagsÚdatetime)ÚidÚcompartment_idÚnameÚdescriptionÚaggregation_interval_in_daysÚdefined_tagsÚfreeform_tagsÚlifecycle_stateÚlevels_configurationÚtarget_compartmentsÚtarget_tagsÚtime_createdÚtime_updatedr   ZcompartmentIdr   r   ZaggregationIntervalInDaysZdefinedTagsZfreeformTagsZlifecycleStateZlevelsConfigurationZtargetCompartmentsZ
targetTagsZtimeCreatedZtimeUpdatedN)Zswagger_typesZattribute_mapÚ_idÚ_compartment_idÚ_nameÚ_descriptionÚ_aggregation_interval_in_daysÚ_defined_tagsÚ_freeform_tagsÚ_lifecycle_stateÚ_levels_configurationÚ_target_compartmentsÚ_target_tagsÚ_time_createdÚ_time_updated)ÚselfÚkwargs© r/   úHusr/lib/python3.10/site-packages/oci/optimizer/models/profile_summary.pyÚ__init__6   sR   =óó
zProfileSummary.__init__c                 C   ó   | j S )z²
        **[Required]** Gets the id of this ProfileSummary.
        The unique OCID of the profile.


        :return: The id of this ProfileSummary.
        :rtype: str
        ©r    ©r-   r/   r/   r0   r       ó   
zProfileSummary.idc                 C   ó
   || _ dS )z¤
        Sets the id of this ProfileSummary.
        The unique OCID of the profile.


        :param id: The id of this ProfileSummary.
        :type: str
        Nr3   )r-   r   r/   r/   r0   r   ¬   ó   

c                 C   r2   )zè
        **[Required]** Gets the compartment_id of this ProfileSummary.
        The OCID of the tenancy. The tenancy is the root compartment.


        :return: The compartment_id of this ProfileSummary.
        :rtype: str
        ©r!   r4   r/   r/   r0   r   ¸   r5   zProfileSummary.compartment_idc                 C   r6   )zæ
        Sets the compartment_id of this ProfileSummary.
        The OCID of the tenancy. The tenancy is the root compartment.


        :param compartment_id: The compartment_id of this ProfileSummary.
        :type: str
        Nr8   )r-   r   r/   r/   r0   r   Ä   r7   c                 C   r2   )z¸
        **[Required]** Gets the name of this ProfileSummary.
        The name assigned to the profile.


        :return: The name of this ProfileSummary.
        :rtype: str
        ©r"   r4   r/   r/   r0   r   Ð   r5   zProfileSummary.namec                 C   r6   )z¬
        Sets the name of this ProfileSummary.
        The name assigned to the profile.


        :param name: The name of this ProfileSummary.
        :type: str
        Nr9   )r-   r   r/   r/   r0   r   Ü   r7   c                 C   r2   )zÁ
        **[Required]** Gets the description of this ProfileSummary.
        Text describing the profile.


        :return: The description of this ProfileSummary.
        :rtype: str
        ©r#   r4   r/   r/   r0   r   è   r5   zProfileSummary.descriptionc                 C   r6   )z¼
        Sets the description of this ProfileSummary.
        Text describing the profile.


        :param description: The description of this ProfileSummary.
        :type: str
        Nr:   )r-   r   r/   r/   r0   r   ô   r7   c                 C   r2   )a  
        Gets the aggregation_interval_in_days of this ProfileSummary.
        The time period over which to collect data for the recommendations, measured in number of days.


        :return: The aggregation_interval_in_days of this ProfileSummary.
        :rtype: int
        ©r$   r4   r/   r/   r0   r      r5   z+ProfileSummary.aggregation_interval_in_daysc                 C   r6   )a2  
        Sets the aggregation_interval_in_days of this ProfileSummary.
        The time period over which to collect data for the recommendations, measured in number of days.


        :param aggregation_interval_in_days: The aggregation_interval_in_days of this ProfileSummary.
        :type: int
        Nr;   )r-   r   r/   r/   r0   r     r7   c                 C   r2   )aÇ  
        Gets the defined_tags of this ProfileSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this ProfileSummary.
        :rtype: dict(str, dict(str, object))
        ©r%   r4   r/   r/   r0   r     ó   zProfileSummary.defined_tagsc                 C   r6   )aÒ  
        Sets the defined_tags of this ProfileSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this ProfileSummary.
        :type: dict(str, dict(str, object))
        Nr<   )r-   r   r/   r/   r0   r   )  ó   
c                 C   r2   )aÊ  
        Gets the freeform_tags of this ProfileSummary.
        Simple key-value pair applied without any predefined name, type, or namespace.
        For more information, see `Resource Tags`__. Exists for cross-compatibility only.

        Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this ProfileSummary.
        :rtype: dict(str, str)
        ©r&   r4   r/   r/   r0   r   :  r=   zProfileSummary.freeform_tagsc                 C   r6   )aÖ  
        Sets the freeform_tags of this ProfileSummary.
        Simple key-value pair applied without any predefined name, type, or namespace.
        For more information, see `Resource Tags`__. Exists for cross-compatibility only.

        Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this ProfileSummary.
        :type: dict(str, str)
        Nr?   )r-   r   r/   r/   r0   r   K  r>   c                 C   r2   )aÕ  
        **[Required]** Gets the lifecycle_state of this ProfileSummary.
        The profile'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 ProfileSummary.
        :rtype: str
        )r'   r4   r/   r/   r0   r   \  s   zProfileSummary.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zÈ
        Sets the lifecycle_state of this ProfileSummary.
        The profile's current state.


        :param lifecycle_state: The lifecycle_state of this ProfileSummary.
        :type: str
        )	r   r   r	   r
   r   r   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r'   )r-   r   Zallowed_valuesr/   r/   r0   r   k  s   


c                 C   r2   )zÃ
        Gets the levels_configuration of this ProfileSummary.

        :return: The levels_configuration of this ProfileSummary.
        :rtype: oci.optimizer.models.LevelsConfiguration
        ©r(   r4   r/   r/   r0   r   z  ó   z#ProfileSummary.levels_configurationc                 C   r6   )zÖ
        Sets the levels_configuration of this ProfileSummary.

        :param levels_configuration: The levels_configuration of this ProfileSummary.
        :type: oci.optimizer.models.LevelsConfiguration
        Nr@   )r-   r   r/   r/   r0   r   „  ó   
c                 C   r2   )zÀ
        Gets the target_compartments of this ProfileSummary.

        :return: The target_compartments of this ProfileSummary.
        :rtype: oci.optimizer.models.TargetCompartments
        ©r)   r4   r/   r/   r0   r   Ž  rA   z"ProfileSummary.target_compartmentsc                 C   r6   )zÒ
        Sets the target_compartments of this ProfileSummary.

        :param target_compartments: The target_compartments of this ProfileSummary.
        :type: oci.optimizer.models.TargetCompartments
        NrC   )r-   r   r/   r/   r0   r   ˜  rB   c                 C   r2   )z¨
        Gets the target_tags of this ProfileSummary.

        :return: The target_tags of this ProfileSummary.
        :rtype: oci.optimizer.models.TargetTags
        ©r*   r4   r/   r/   r0   r   ¢  rA   zProfileSummary.target_tagsc                 C   r6   )z²
        Sets the target_tags of this ProfileSummary.

        :param target_tags: The target_tags of this ProfileSummary.
        :type: oci.optimizer.models.TargetTags
        NrD   )r-   r   r/   r/   r0   r   ¬  rB   c                 C   r2   )zø
        **[Required]** Gets the time_created of this ProfileSummary.
        The date and time the profile was created, in the format defined by RFC3339.


        :return: The time_created of this ProfileSummary.
        :rtype: datetime
        ©r+   r4   r/   r/   r0   r   ¶  r5   zProfileSummary.time_createdc                 C   r6   )zô
        Sets the time_created of this ProfileSummary.
        The date and time the profile was created, in the format defined by RFC3339.


        :param time_created: The time_created of this ProfileSummary.
        :type: datetime
        NrE   )r-   r   r/   r/   r0   r   Â  r7   c                 C   r2   )zý
        **[Required]** Gets the time_updated of this ProfileSummary.
        The date and time the profile was last updated, in the format defined by RFC3339.


        :return: The time_updated of this ProfileSummary.
        :rtype: datetime
        ©r,   r4   r/   r/   r0   r   Î  r5   zProfileSummary.time_updatedc                 C   r6   )zù
        Sets the time_updated of this ProfileSummary.
        The date and time the profile was last updated, in the format defined by RFC3339.


        :param time_updated: The time_updated of this ProfileSummary.
        :type: datetime
        NrF   )r-   r   r/   r/   r0   r   Ú  r7   c                 C   s   t | ƒS ©N)r   r4   r/   r/   r0   Ú__repr__æ  s   zProfileSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r-   Úotherr/   r/   r0   Ú__eq__é  s   zProfileSummary.__eq__c                 C   s
   | |k S rG   r/   rJ   r/   r/   r0   Ú__ne__ï  s   
zProfileSummary.__ne__N) Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_ATTACHINGZLIFECYCLE_STATE_DETACHINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_CREATINGr1   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   rH   rL   rM   r/   r/   r/   r0   r      s†    j
















	
	
	
	
	
	



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r/   r/   r/   r0   Ú<module>   s   