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 )Ú
CommitInfoz@
    Commit details that need to be used for the build run.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )a…  
        Initializes a new CommitInfo object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param repository_url:
            The value to assign to the repository_url property of this CommitInfo.
        :type repository_url: str

        :param repository_branch:
            The value to assign to the repository_branch property of this CommitInfo.
        :type repository_branch: str

        :param commit_hash:
            The value to assign to the commit_hash property of this CommitInfo.
        :type commit_hash: str

        Ústr)Úrepository_urlÚrepository_branchÚcommit_hashZrepositoryUrlZrepositoryBranchZ
commitHashN)Zswagger_typesZattribute_mapÚ_repository_urlÚ_repository_branchÚ_commit_hash)ÚselfÚkwargs© r   úAusr/lib/python3.10/site-packages/oci/devops/models/commit_info.pyÚ__init__   s   ýý
zCommitInfo.__init__c                 C   ó   | j S )z²
        **[Required]** Gets the repository_url of this CommitInfo.
        Repository URL.


        :return: The repository_url of this CommitInfo.
        :rtype: str
        ©r   ©r   r   r   r   r   4   ó   
zCommitInfo.repository_urlc                 C   ó
   || _ dS )z°
        Sets the repository_url of this CommitInfo.
        Repository URL.


        :param repository_url: The repository_url of this CommitInfo.
        :type: str
        Nr   )r   r   r   r   r   r   @   ó   

c                 C   r   )zÇ
        **[Required]** Gets the repository_branch of this CommitInfo.
        Name of the repository branch.


        :return: The repository_branch of this CommitInfo.
        :rtype: str
        ©r   r   r   r   r   r	   L   r   zCommitInfo.repository_branchc                 C   r   )zÈ
        Sets the repository_branch of this CommitInfo.
        Name of the repository branch.


        :param repository_branch: The repository_branch of this CommitInfo.
        :type: str
        Nr   )r   r	   r   r   r   r	   X   r   c                 C   r   )zâ
        **[Required]** Gets the commit_hash of this CommitInfo.
        Commit hash pertinent to the repository URL and the specified branch.


        :return: The commit_hash of this CommitInfo.
        :rtype: str
        ©r   r   r   r   r   r
   d   r   zCommitInfo.commit_hashc                 C   r   )zÝ
        Sets the commit_hash of this CommitInfo.
        Commit hash pertinent to the repository URL and the specified branch.


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