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 )ContainerConfigurationz"
    Container configuration.
    c                 K   s(   ddd| _ ddd| _d| _d| _dS )aE  
        Initializes a new ContainerConfiguration object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param is_repository_created_on_first_push:
            The value to assign to the is_repository_created_on_first_push property of this ContainerConfiguration.
        :type is_repository_created_on_first_push: bool

        :param namespace:
            The value to assign to the namespace property of this ContainerConfiguration.
        :type namespace: str

        boolstr)#is_repository_created_on_first_push	namespaceZisRepositoryCreatedOnFirstPushr
   N)Zswagger_typesZattribute_map$_is_repository_created_on_first_push
_namespace)selfkwargs r   Pusr/lib/python3.10/site-packages/oci/artifacts/models/container_configuration.py__init__   s   
zContainerConfiguration.__init__c                 C      | j S )a  
        **[Required]** Gets the is_repository_created_on_first_push of this ContainerConfiguration.
        Whether to create a new container repository when a container is pushed to a new repository path.
        Repositories created in this way belong to the root compartment.


        :return: The is_repository_created_on_first_push of this ContainerConfiguration.
        :rtype: bool
        r   r   r   r   r   r	   -   s   z:ContainerConfiguration.is_repository_created_on_first_pushc                 C   
   || _ dS )a  
        Sets the is_repository_created_on_first_push of this ContainerConfiguration.
        Whether to create a new container repository when a container is pushed to a new repository path.
        Repositories created in this way belong to the root compartment.


        :param is_repository_created_on_first_push: The is_repository_created_on_first_push of this ContainerConfiguration.
        :type: bool
        Nr   )r   r	   r   r   r   r	   :   s   
c                 C   r   )z
        **[Required]** Gets the namespace of this ContainerConfiguration.
        The tenancy namespace used in the container repository path.


        :return: The namespace of this ContainerConfiguration.
        :rtype: str
        r   r   r   r   r   r
   G   s   
z ContainerConfiguration.namespacec                 C   r   )z
        Sets the namespace of this ContainerConfiguration.
        The tenancy namespace used in the container repository path.


        :param namespace: The namespace of this ContainerConfiguration.
        :type: str
        Nr   )r   r
   r   r   r   r
   S   s   

c                 C   s   t | S N)r   r   r   r   r   __repr___   s   zContainerConfiguration.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__b   s   zContainerConfiguration.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__h   s   
zContainerConfiguration.__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   