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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d"d#„ Zd$d%„ Zd&d'„ Zd(S ))ÚCertificateSummaryz»
    A summary of the SSL certificate's information.
    **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
    ÚCREATINGÚACTIVEÚFAILEDÚUPDATINGÚDELETINGÚDELETEDc              	   K   sd   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 CertificateSummary 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 CertificateSummary.
        :type id: str

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

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

        :param time_not_valid_after:
            The value to assign to the time_not_valid_after property of this CertificateSummary.
        :type time_not_valid_after: datetime

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

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

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

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

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object)))ÚidÚcompartment_idÚdisplay_nameÚtime_not_valid_afterÚfreeform_tagsÚdefined_tagsÚlifecycle_stateÚtime_createdr   ZcompartmentIdZdisplayNameZtimeNotValidAfterZfreeformTagsZdefinedTagsZlifecycleStateZtimeCreatedN)
Zswagger_typesZattribute_mapÚ_idÚ_compartment_idÚ_display_nameÚ_time_not_valid_afterÚ_freeform_tagsÚ_defined_tagsÚ_lifecycle_stateÚ_time_created)ÚselfÚkwargs© r!   úGusr/lib/python3.10/site-packages/oci/waas/models/certificate_summary.pyÚ__init__+   s4   )øø
zCertificateSummary.__init__c                 C   ó   | j S )a  
        Gets the id of this CertificateSummary.
        The `OCID`__ of the SSL certificate.

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


        :return: The id of this CertificateSummary.
        :rtype: str
        ©r   ©r   r!   r!   r"   r   r   ó   zCertificateSummary.idc                 C   ó
   || _ dS )a  
        Sets the id of this CertificateSummary.
        The `OCID`__ of the SSL certificate.

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


        :param id: The id of this CertificateSummary.
        :type: str
        Nr%   )r   r   r!   r!   r"   r   €   ó   
c                 C   r$   )a)  
        Gets the compartment_id of this CertificateSummary.
        The `OCID`__ of the SSL certificate's compartment.

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


        :return: The compartment_id of this CertificateSummary.
        :rtype: str
        ©r   r&   r!   r!   r"   r   Ž   r'   z!CertificateSummary.compartment_idc                 C   r(   )a6  
        Sets the compartment_id of this CertificateSummary.
        The `OCID`__ of the SSL certificate's compartment.

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


        :param compartment_id: The compartment_id of this CertificateSummary.
        :type: str
        Nr*   )r   r   r!   r!   r"   r   œ   r)   c                 C   r$   )zÎ
        Gets the display_name of this CertificateSummary.
        The user-friendly name of the SSL certificate.


        :return: The display_name of this CertificateSummary.
        :rtype: str
        ©r   r&   r!   r!   r"   r   ª   ó   
zCertificateSummary.display_namec                 C   r(   )zÙ
        Sets the display_name of this CertificateSummary.
        The user-friendly name of the SSL certificate.


        :param display_name: The display_name of this CertificateSummary.
        :type: str
        Nr+   )r   r   r!   r!   r"   r   ¶   ó   

c                 C   r$   )a  
        Gets the time_not_valid_after of this CertificateSummary.
        The date and time the certificate will expire, expressed in RFC 3339 timestamp format.


        :return: The time_not_valid_after of this CertificateSummary.
        :rtype: datetime
        ©r   r&   r!   r!   r"   r   Â   r,   z'CertificateSummary.time_not_valid_afterc                 C   r(   )a  
        Sets the time_not_valid_after of this CertificateSummary.
        The date and time the certificate will expire, expressed in RFC 3339 timestamp format.


        :param time_not_valid_after: The time_not_valid_after of this CertificateSummary.
        :type: datetime
        Nr.   )r   r   r!   r!   r"   r   Î   r-   c                 C   r$   )aÖ  
        Gets the freeform_tags of this CertificateSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

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


        :return: The freeform_tags of this CertificateSummary.
        :rtype: dict(str, str)
        ©r   r&   r!   r!   r"   r   Ú   ó   z CertificateSummary.freeform_tagsc                 C   r(   )aâ  
        Sets the freeform_tags of this CertificateSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

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


        :param freeform_tags: The freeform_tags of this CertificateSummary.
        :type: dict(str, str)
        Nr/   )r   r   r!   r!   r"   r   ë   ó   
c                 C   r$   )aÌ  
        Gets the defined_tags of this CertificateSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

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


        :return: The defined_tags of this CertificateSummary.
        :rtype: dict(str, dict(str, object))
        ©r   r&   r!   r!   r"   r   ü   r0   zCertificateSummary.defined_tagsc                 C   r(   )a×  
        Sets the defined_tags of this CertificateSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

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


        :param defined_tags: The defined_tags of this CertificateSummary.
        :type: dict(str, dict(str, object))
        Nr2   )r   r   r!   r!   r"   r     r1   c                 C   r$   )a»  
        Gets the lifecycle_state of this CertificateSummary.
        The current lifecycle state of the certificate.

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


        :return: The lifecycle_state of this CertificateSummary.
        :rtype: str
        )r   r&   r!   r!   r"   r     s   z"CertificateSummary.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zã
        Sets the lifecycle_state of this CertificateSummary.
        The current lifecycle state of the certificate.


        :param lifecycle_state: The lifecycle_state of this CertificateSummary.
        :type: str
        )r   r   r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr!   r!   r"   r   -  s   


c                 C   r$   )zõ
        Gets the time_created of this CertificateSummary.
        The date and time the certificate was created, in the format defined by RFC3339.


        :return: The time_created of this CertificateSummary.
        :rtype: datetime
        ©r   r&   r!   r!   r"   r   <  r,   zCertificateSummary.time_createdc                 C   r(   )a   
        Sets the time_created of this CertificateSummary.
        The date and time the certificate was created, in the format defined by RFC3339.


        :param time_created: The time_created of this CertificateSummary.
        :type: datetime
        Nr3   )r   r   r!   r!   r"   r   H  r-   c                 C   s   t | ƒS ©N)r   r&   r!   r!   r"   Ú__repr__T  s   zCertificateSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr!   r!   r"   Ú__eq__W  s   zCertificateSummary.__eq__c                 C   s
   | |k S r4   r!   r7   r!   r!   r"   Ú__ne__]  s   
zCertificateSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDr#   Úpropertyr   Úsetterr   r   r   r   r   r   r   r5   r9   r:   r!   r!   r!   r"   r      sX    G















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r!   r!   r!   r"   Ú<module>   s   