| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
a
���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z d
d� Z
dd� Zdd� ZdS )�
CommitInfoz@
Commit details that need to be used for the build run.
c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )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
repositoryUrlZrepositoryBranchZ
commitHashN)Z
swagger_typesZ
attribute_map�_repository_url�_repository_branch�_commit_hash)�self�kwargs� r �A/usr/lib/python3.9/site-packages/oci/devops/models/commit_info.py�__init__ s ��zCommitInfo.__init__c C s | 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 s
zCommitInfo.repository_urlc C s
|| _ dS )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 @ s
c C s | j S )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 s
zCommitInfo.repository_branchc C s
|| _ dS )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 s
c C s | j S )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 s
zCommitInfo.commit_hashc C s
|| _ dS )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 s
c C s t | �S �N)r r r r r �__repr__| s zCommitInfo.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zCommitInfo.__eq__c C s
| |k S r r r r r r �__ne__� s zCommitInfo.__ne__N)
�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r r r r r r s"