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 )ÚContainerVersionz%
    Container version metadata.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )a{  
        Initializes a new ContainerVersion object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param created_by:
            The value to assign to the created_by property of this ContainerVersion.
        :type created_by: str

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

        :param version:
            The value to assign to the version property of this ContainerVersion.
        :type version: str

        ÚstrÚdatetime)Ú
created_byÚtime_createdÚversionZ	createdByZtimeCreatedr   N)Zswagger_typesZattribute_mapÚ_created_byÚ_time_createdÚ_version)ÚselfÚkwargs© r   úJusr/lib/python3.10/site-packages/oci/artifacts/models/container_version.pyÚ__init__   s   ýý
zContainerVersion.__init__c                 C   ó   | j S )zá
        **[Required]** Gets the created_by of this ContainerVersion.
        The OCID of the user or principal that pushed the version.


        :return: The created_by of this ContainerVersion.
        :rtype: str
        ©r   ©r   r   r   r   r	   4   ó   
zContainerVersion.created_byc                 C   ó
   || _ dS )zÛ
        Sets the created_by of this ContainerVersion.
        The OCID of the user or principal that pushed the version.


        :param created_by: The created_by of this ContainerVersion.
        :type: str
        Nr   )r   r	   r   r   r   r	   @   ó   

c                 C   r   )zÑ
        **[Required]** Gets the time_created of this ContainerVersion.
        The creation time of the version.


        :return: The time_created of this ContainerVersion.
        :rtype: datetime
        ©r   r   r   r   r   r
   L   r   zContainerVersion.time_createdc                 C   r   )zÍ
        Sets the time_created of this ContainerVersion.
        The creation time of the version.


        :param time_created: The time_created of this ContainerVersion.
        :type: datetime
        Nr   )r   r
   r   r   r   r
   X   r   c                 C   r   )z²
        **[Required]** Gets the version of this ContainerVersion.
        The version name.


        :return: The version of this ContainerVersion.
        :rtype: str
        ©r   r   r   r   r   r   d   r   zContainerVersion.versionc                 C   r   )z©
        Sets the version of this ContainerVersion.
        The version name.


        :param version: The version of this ContainerVersion.
        :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ContainerVersion.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__   s   zContainerVersion.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__…   s   
zContainerVersion.__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   