| 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 : /lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
a
���fU � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�BuildSource� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d
� Z dd� Z
d
S )�GithubBuildSourcez.
GitHub build source for Build stage.
c K sL dddddd�| _ dddddd�| _d| _d| _d| _d| _d| _d | _dS )
a�
Initializes a new GithubBuildSource object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.GithubBuildSource.connection_type` attribute
of this class is ``GITHUB`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param name:
The value to assign to the name property of this GithubBuildSource.
:type name: str
:param connection_type:
The value to assign to the connection_type property of this GithubBuildSource.
Allowed values for this property are: "GITHUB", "GITLAB", "GITLAB_SERVER", "BITBUCKET_CLOUD", "BITBUCKET_SERVER", "DEVOPS_CODE_REPOSITORY", "VBS"
:type connection_type: str
:param repository_url:
The value to assign to the repository_url property of this GithubBuildSource.
:type repository_url: str
:param branch:
The value to assign to the branch property of this GithubBuildSource.
:type branch: str
:param connection_id:
The value to assign to the connection_id property of this GithubBuildSource.
:type connection_id: str
�str)�nameZconnection_typeZrepository_url�branch�
connection_idr
ZconnectionTypeZ
repositoryUrlr ZconnectionIdNZGITHUB)Z
swagger_typesZ
attribute_map�_nameZ_connection_typeZ_repository_urlZ_branch�_connection_id)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/devops/models/github_build_source.py�__init__ s$ � �zGithubBuildSource.__init__c C s | j S )z�
**[Required]** Gets the connection_id of this GithubBuildSource.
Connection identifier pertinent to GitHub source provider.
:return: The connection_id of this GithubBuildSource.
:rtype: str
�r �r r r r r E s
zGithubBuildSource.connection_idc C s
|| _ dS )z�
Sets the connection_id of this GithubBuildSource.
Connection identifier pertinent to GitHub source provider.
:param connection_id: The connection_id of this GithubBuildSource.
:type: str
Nr )r r r r r r Q s
c C s t | �S �N)r r r r r �__repr__] s zGithubBuildSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zGithubBuildSource.__eq__c C s
| |k S r r r r r r �__ne__f s zGithubBuildSource.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s 3
r N) Zbuild_sourcer Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s