o
    ëÉ¶d—5  ã                   @   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                   @   sN  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
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 certificate.
    c                 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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 display_name:
            The value to assign to the display_name property of this CertificateSummary.
        :type display_name: str

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

        :param subject_names:
            The value to assign to the subject_names property of this CertificateSummary.
        :type subject_names: list[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 time_created:
            The value to assign to the time_created property of this CertificateSummary.
        :type time_created: datetime

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

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

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

        :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))

        Ústrz	list[str]Údatetimezdict(str, str)zdict(str, dict(str, object)))ÚidÚdisplay_nameÚcompartment_idÚsubject_namesÚtime_not_valid_afterÚtime_createdÚtime_updatedÚlifecycle_stateÚlifecycle_detailsÚfreeform_tagsÚdefined_tagsr	   ZdisplayNameZcompartmentIdZsubjectNamesZtimeNotValidAfterZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_mapÚ_idÚ_display_nameÚ_compartment_idÚ_subject_namesÚ_time_not_valid_afterÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r!   úMusr/lib/python3.10/site-packages/oci/apigateway/models/certificate_summary.pyÚ__init__   sF   3õõ
zCertificateSummary.__init__c                 C   ó   | j S )a  
        **[Required]** Gets the id of this CertificateSummary.
        The `OCID`__ of the resource.

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


        :return: The id of this CertificateSummary.
        :rtype: str
        ©r   ©r   r!   r!   r"   r	   l   ó   zCertificateSummary.idc                 C   ó
   || _ dS )zý
        Sets the id of this CertificateSummary.
        The `OCID`__ of the resource.

        __ 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	   z   ó   
c                 C   r$   )aJ  
        **[Required]** Gets the display_name of this CertificateSummary.
        A user-friendly name. Does not have to be unique, and it's changeable.
        Avoid entering confidential information.

        Example: `My new resource`


        :return: The display_name of this CertificateSummary.
        :rtype: str
        ©r   r&   r!   r!   r"   r
   ˆ   ó   zCertificateSummary.display_namec                 C   r(   )aF  
        Sets the display_name of this CertificateSummary.
        A user-friendly name. Does not have to be unique, and it's changeable.
        Avoid entering confidential information.

        Example: `My new resource`


        :param display_name: The display_name of this CertificateSummary.
        :type: str
        Nr*   )r   r
   r!   r!   r"   r
   —   ó   
c                 C   r$   )aO  
        **[Required]** Gets the compartment_id of this CertificateSummary.
        The `OCID`__ of the compartment in which the
        resource is created.

        __ 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(   )aM  
        Sets the compartment_id of this CertificateSummary.
        The `OCID`__ of the compartment in which the
        resource is created.

        __ 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ý
        **[Required]** Gets the subject_names of this CertificateSummary.
        The entity to be secured by the certificate and additional host names.


        :return: The subject_names of this CertificateSummary.
        :rtype: list[str]
        ©r   r&   r!   r!   r"   r   Ä   ó   
z CertificateSummary.subject_namesc                 C   r(   )zú
        Sets the subject_names of this CertificateSummary.
        The entity to be secured by the certificate and additional host names.


        :param subject_names: The subject_names of this CertificateSummary.
        :type: list[str]
        Nr.   )r   r   r!   r!   r"   r   Ð   ó   

c                 C   r$   )zò
        **[Required]** Gets the time_not_valid_after of this CertificateSummary.
        The date and time the certificate will expire.


        :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(   )zö
        Sets the time_not_valid_after of this CertificateSummary.
        The date and time the certificate will expire.


        :param time_not_valid_after: The time_not_valid_after of this CertificateSummary.
        :type: datetime
        Nr1   )r   r   r!   r!   r"   r   è   r0   c                 C   r$   )zý
        **[Required]** Gets the time_created of this CertificateSummary.
        The time this resource was created. An RFC3339 formatted datetime string.


        :return: The time_created of this CertificateSummary.
        :rtype: datetime
        ©r   r&   r!   r!   r"   r   ô   r/   zCertificateSummary.time_createdc                 C   r(   )zù
        Sets the time_created of this CertificateSummary.
        The time this resource was created. An RFC3339 formatted datetime string.


        :param time_created: The time_created of this CertificateSummary.
        :type: datetime
        Nr2   )r   r   r!   r!   r"   r      r0   c                 C   r$   )zó
        Gets the time_updated of this CertificateSummary.
        The time this resource was last updated. An RFC3339 formatted datetime string.


        :return: The time_updated of this CertificateSummary.
        :rtype: datetime
        ©r   r&   r!   r!   r"   r     r/   zCertificateSummary.time_updatedc                 C   r(   )zþ
        Sets the time_updated of this CertificateSummary.
        The time this resource was last updated. An RFC3339 formatted datetime string.


        :param time_updated: The time_updated of this CertificateSummary.
        :type: datetime
        Nr3   )r   r   r!   r!   r"   r     r0   c                 C   r$   )zË
        Gets the lifecycle_state of this CertificateSummary.
        The current state of the certificate.


        :return: The lifecycle_state of this CertificateSummary.
        :rtype: str
        ©r   r&   r!   r!   r"   r   $  r/   z"CertificateSummary.lifecycle_statec                 C   r(   )zÙ
        Sets the lifecycle_state of this CertificateSummary.
        The current state of the certificate.


        :param lifecycle_state: The lifecycle_state of this CertificateSummary.
        :type: str
        Nr4   )r   r   r!   r!   r"   r   0  r0   c                 C   r$   )aM  
        Gets the lifecycle_details of this CertificateSummary.
        A message describing the current state in more detail.
        For example, can be used to provide actionable information for a
        resource in a Failed state.


        :return: The lifecycle_details of this CertificateSummary.
        :rtype: str
        ©r   r&   r!   r!   r"   r   <  r'   z$CertificateSummary.lifecycle_detailsc                 C   r(   )a]  
        Sets the lifecycle_details of this CertificateSummary.
        A message describing the current state in more detail.
        For example, can be used to provide actionable information for a
        resource in a Failed state.


        :param lifecycle_details: The lifecycle_details of this CertificateSummary.
        :type: str
        Nr5   )r   r   r!   r!   r"   r   J  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   X  ó   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)
        Nr6   )r   r   r!   r!   r"   r   j  ó   
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   |  r7   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))
        Nr9   )r   r   r!   r!   r"   r   Ž  r8   c                 C   s   t | ƒS ©N)r   r&   r!   r!   r"   Ú__repr__   s   zCertificateSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr!   r!   r"   Ú__eq__£  s   zCertificateSummary.__eq__c                 C   s
   | |k S r:   r!   r=   r!   r!   r"   Ú__ne__©  s   
zCertificateSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r#   Úpropertyr	   Úsetterr
   r   r   r   r   r   r   r   r   r   r;   r?   r@   r!   r!   r!   r"   r      sd    Z





















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r!   r!   r!   r"   Ú<module>   s   