ruạṛ
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
cải xoăn