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                   @   sd   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d
d„ Z	dd„ Z
dd„ ZdS )Ú	CaDetailszM
    Information about the detailed CA bundle content of the rover node.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a#  
        Initializes a new CaDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param ca_bundle_pem:
            The value to assign to the ca_bundle_pem property of this CaDetails.
        :type ca_bundle_pem: str

        :param certificate_max_validity_duration:
            The value to assign to the certificate_max_validity_duration property of this CaDetails.
        :type certificate_max_validity_duration: str

        Ústr)Úca_bundle_pemÚ!certificate_max_validity_durationZcaBundlePemZcertificateMaxValidityDurationN)Zswagger_typesZattribute_mapÚ_ca_bundle_pemÚ"_certificate_max_validity_duration)ÚselfÚkwargs© r   ú?usr/lib/python3.10/site-packages/oci/rover/models/ca_details.pyÚ__init__   s   þþ
zCaDetails.__init__c                 C   ó   | j S )zò
        Gets the ca_bundle_pem of this CaDetails.
        Plain text certificate chain in PEM format for the subordinate CA associated with given roverNode.


        :return: The ca_bundle_pem of this CaDetails.
        :rtype: str
        ©r
   ©r   r   r   r   r   -   ó   
zCaDetails.ca_bundle_pemc                 C   ó
   || _ dS )zþ
        Sets the ca_bundle_pem of this CaDetails.
        Plain text certificate chain in PEM format for the subordinate CA associated with given roverNode.


        :param ca_bundle_pem: The ca_bundle_pem of this CaDetails.
        :type: str
        Nr   )r   r   r   r   r   r   9   ó   

c                 C   r   )a4  
        Gets the certificate_max_validity_duration of this CaDetails.
        Max validity of leaf certificates issued by the CA associated with given node, in days, in ISO 8601 format, example "P365D".


        :return: The certificate_max_validity_duration of this CaDetails.
        :rtype: str
        ©r   r   r   r   r   r	   E   r   z+CaDetails.certificate_max_validity_durationc                 C   r   )aT  
        Sets the certificate_max_validity_duration of this CaDetails.
        Max validity of leaf certificates issued by the CA associated with given node, in days, in ISO 8601 format, example "P365D".


        :param certificate_max_validity_duration: The certificate_max_validity_duration of this CaDetails.
        :type: str
        Nr   )r   r	   r   r   r   r	   Q   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__]   s   zCaDetails.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__`   s   zCaDetails.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__f   s   
zCaDetails.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   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   