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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 )CaBundlez
    The contents of the CA bundle (root and intermediate certificates), properties of the CA bundle, and user-provided contextual metadata for the CA bundle.
    c                 K   s2   dddd| _ dddd| _d| _d| _d| _dS )a8  
        Initializes a new CaBundle 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 CaBundle.
        :type id: str

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

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

        str)idnameca_bundle_pemr   r	   ZcaBundlePemN)Zswagger_typesZattribute_map_id_name_ca_bundle_pem)selfkwargs r   Eusr/lib/python3.10/site-packages/oci/certificates/models/ca_bundle.py__init__   s   
zCaBundle.__init__c                 C      | j S )z
        **[Required]** Gets the id of this CaBundle.
        The OCID of the CA bundle.


        :return: The id of this CaBundle.
        :rtype: str
        r   r   r   r   r   r   4      
zCaBundle.idc                 C   
   || _ dS )z
        Sets the id of this CaBundle.
        The OCID of the CA bundle.


        :param id: The id of this CaBundle.
        :type: str
        Nr   )r   r   r   r   r   r   @      

c                 C   r   )a>  
        **[Required]** Gets the name of this CaBundle.
        A user-friendly name for the CA bundle. Names are unique within a compartment. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.


        :return: The name of this CaBundle.
        :rtype: str
        r   r   r   r   r   r	   L   r   zCaBundle.namec                 C   r   )a2  
        Sets the name of this CaBundle.
        A user-friendly name for the CA bundle. Names are unique within a compartment. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.


        :param name: The name of this CaBundle.
        :type: str
        Nr   )r   r	   r   r   r   r	   X   r   c                 C   r   )z
        **[Required]** Gets the ca_bundle_pem of this CaBundle.
        Certificates (in PEM format) in the CA bundle. Can be of arbitrary length.


        :return: The ca_bundle_pem of this CaBundle.
        :rtype: str
        r   r   r   r   r   r
   d   r   zCaBundle.ca_bundle_pemc                 C   r   )z
        Sets the ca_bundle_pem of this CaBundle.
        Certificates (in PEM format) in the CA bundle. Can be of arbitrary length.


        :param ca_bundle_pem: The ca_bundle_pem of this CaBundle.
        :type: str
        Nr   )r   r
   r   r   r   r
   p   r   c                 C   s   t | S N)r   r   r   r   r   __repr__|   s   zCaBundle.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zCaBundle.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zCaBundle.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr	   r
   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   